Example #1
0
 public Form4(Class8 manager, Rectangle fc, DockStyle dockStyle) : this()
 {
     _manager = manager;
     DockStyle = dockStyle;
     switch (dockStyle)
     {
         case DockStyle.Top:
             Rectangle_5 = new Rectangle(fc.X + fc.Width / 2 - 44, fc.Y + 15, 88, 88);
             break;
         case DockStyle.Bottom:
             Rectangle_5 = new Rectangle(fc.X + fc.Width / 2 - 44, fc.Bottom - 88 - 15, 88, 88);
             break;
         case DockStyle.Left:
             Rectangle_5 = new Rectangle(fc.X + 15, fc.Y + fc.Height / 2 - 44, 88, 88);
             break;
         case DockStyle.Right:
             Rectangle_5 = new Rectangle(fc.Right - 88 - 15, fc.Y + fc.Height / 2 - 44, 88, 88);
             break;
         case DockStyle.Fill:
             Rectangle_5 = new Rectangle(fc.X + fc.Width / 2 - 44, fc.Y + fc.Height / 2 - 44, 88, 88);
             break;
     }
     method_1();
 }
Example #2
0
 internal void method_0(SandDockManager manager, DockContainer container, LayoutSystemBase layoutSystem, DockControl control, int int_2, Point point_0, DockingHints dockingHints, DockingManager dockingManager_0)
 {
     if (dockingManager_0 == DockingManager.Whidbey && AbstractManager.smethod_0())
     {
         class7_0 = new Class8(manager, DockContainer, this, control, int_2, point_0, dockingHints);
     }
     else
     {
         class7_0 = new Class7(manager, DockContainer, this, control, int_2, point_0, dockingHints);
     }
     class7_0.DockingManagerFinished += OnDockingManagerFinished;
     class7_0.Cancalled += OnCancalled;
     class7_0.OnMouseMove(Cursor.Position);
 }
Example #3
0
 public Form4(Class8 manager, ControlLayoutSystem layoutSystem) : this()
 {
     _manager = manager;
     _layoutSystem = layoutSystem;
     Rectangle_5 = new Rectangle(layoutSystem.DockContainer.PointToScreen(layoutSystem.Bounds.Location), layoutSystem.Bounds.Size);
     Rectangle_5 = new Rectangle(Rectangle_5.X + Rectangle_5.Width / 2 - 44, Rectangle_5.Y + Rectangle_5.Height / 2 - 44, 88, 88);
     method_1();
 }