示例#1
0
        public static void Default(Form form, bool applyCursor)
        {
            if (applyCursor)
            {
                form.Cursor = Cursors.Default;
            }

            TaskbarManager.SetProgressState(TaskbarProgressBarState.NoProgress);
        }
示例#2
0
        public static void Wait(Form form, bool applyCursor)
        {
            if (applyCursor)
            {
                form.Cursor = Cursors.WaitCursor;
            }

            TaskbarManager.SetProgressState(TaskbarProgressBarState.Indeterminate);
        }