Ejemplo n.º 1
0
 public static void SetState(TaskbarStates taskbarState)
 {
     if (TaskbarSupported)
     {
         TaskbarInstance.SetProgressState(GetConsoleHandle(), taskbarState);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set progress state in the taskbar item of your application
 /// </summary>
 /// <param name="Handle">The associated handle</param>
 /// <param name="state">The progress state</param>
 public void SetProgressState(IntPtr Handle, TaskBarProgressState state)
 {
     taskbar.SetProgressState(Handle, state);
 }