예제 #1
0
        /// <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);
        }
예제 #2
0
 void progressCursor_CustomDrawCursor(object sender, ProgressCursor.CursorPaintEventArgs e)
 {
     e.DrawDefault();
     e.Graphics.DrawString("Test", SystemFonts.DefaultFont, Brushes.Black, 0,0);
     e.Handled = true;
 }
예제 #3
0
 /// <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;
 }