Ejemplo n.º 1
0
 public IconDragDecorator(DockIconContainer _container)
 {
     container = _container;
     _container.MouseLeftButtonDown += DockIconContainer_MouseDown;
     _container.MouseMove           += DockIconContainer_MouseMove;
     _container.MouseLeftButtonUp   += DockIconContainer_MouseUp;
     _container.LostMouseCapture    += DockIconContainer_LostMouseCapture;
 }
 public WindowManagerDecorator(DockIconContainer _container)
 {
     container = _container;
     Application.Current.Exit            += Current_Exit;
     WindowManager.Manager.WindowAdded   += Manager_WindowAdded;
     WindowManager.Manager.WindowRemoved += Manager_WindowRemoved;
     WindowManager.Manager.Start();
     TaskbarManager.SetTaskbarVisibility(false);
 }
Ejemplo n.º 3
0
 public FileDropDecorator(DockIconContainer _container)
 {
     container            = _container;
     container.AllowDrop  = true;
     container.DragEnter += DockIconContainer_DragEnter;
     container.Drop      += DockIconContainer_Drop;
     container.DragOver  += DockIconContainer_DragOver;
     container.DragLeave += DockIconContainer_DragLeave;
 }