/// <summary> /// Starts the progress cursor. /// </summary> /// <param name="max">The max.</param> /// <returns></returns> public static IProgressCursor StartProgressCursor(double max = 1.0) { var progressCursor = new ProgressCursor { Max = max, Current = 0 }; return(progressCursor); }
void progressCursor_CustomDrawCursor(object sender, ProgressCursor.CursorPaintEventArgs e) { e.DrawDefault(); e.Graphics.DrawString("Test", SystemFonts.DefaultFont, Brushes.Black, 0,0); e.Handled = true; }
/// <summary> /// Starts the progress cursor. /// </summary> /// <param name="max">The max.</param> /// <returns></returns> public static IProgressCursor StartProgressCursor(double max = 1.0) { var progressCursor = new ProgressCursor {Max = max, Current = 0}; return progressCursor; }