
Untitled
By: a guest on
Apr 24th, 2012 | syntax:
None | size: 0.41 KB | hits: 41 | expires: Never
How to change the cursor with a local image in wpf?
var res = Application.GetResourceStream(new Uri("pack://application:,,,/MyProj;component/Images/delete-icon.png"));
this.Cursor = new Cursor(res.Stream);
ReadTimeout = (res.Stream).ReadTimeout threw an exception of type 'System.InvalidOperationException'
WriteTimeout = (res.Stream).WriteTimeout threw an exception of type 'System.InvalidOperationException'