Пример #1
0
 public void Order(ThumbnailTab insertBefore)
 {
     Windows7TaskBar.SetTabOrder(Child, insertBefore.Child);
 }
Пример #2
0
 internal void RemoveTab()
 {
     LOG.Debug("Remove tab from thumbnail");
     Windows7TaskBar.UnregisterTab(Child);
     IsShown = false;
 }
Пример #3
0
 public void Activate(ThumbnailTab insertBefore)
 {
     Windows7TaskBar.SetTabActive(Child, insertBefore.Child);
 }
Пример #4
0
 public static void SetOverlayIcon(this Window win, BitmapSource icon, string description)
 {
     Windows7TaskBar.SetOverlayIcon(win.GetHandle(), icon.ToIcon().Handle, description);
 }
Пример #5
0
 public static void SetThumbnailClip(this Window win, Rect rect)
 {
     Windows7TaskBar.SetThumbnailClip(win.GetHandle(), (rect == Rect.Empty ? (NativeRect?)null : rect));
 }
Пример #6
0
 public static void SetThumbnailToolTip(this Window win, string tooltip)
 {
     Windows7TaskBar.SetThumbnailToolTip(win.GetHandle(), tooltip);
 }
Пример #7
0
 public static void SetTaskBarProgressValue(this Window win, ulong value, ulong max)
 {
     Windows7TaskBar.SetProgressValue(win.GetHandle(), value, max);
 }
Пример #8
0
 public static void SetTaskBarProgressStyle(this Window win, TaskbarProgressBarStyle style)
 {
     Windows7TaskBar.SetProgressStyle(win.GetHandle(), style);
 }