Exemplo n.º 1
0
 public void AddToolBox()
 {
     if (ToolBoxWindow == null)
     {
         ToolBoxWindow = new ToolBoxForm();
         SharpDevelopSideBar sideBar = FormsDesignerViewContent.FormsDesignerToolBox;
         sideBar.Dock   = DockStyle.Fill;
         sideBar.Parent = ToolBoxWindow;
         AddWindowToDockPanel(ToolBoxWindow, MainDockPanel, OutputWindow.Dock, DockState.DockLeft, OutputWindow.IsFloat, null, -1);
         ToolBoxWindow.Show();
     }
     else
     {
         ToolBoxWindow.Show();
     }
 }
Exemplo n.º 2
0
 private void AddDesignerSidebars()
 {
     if (ToolBoxWindow == null)
     {
         ToolBoxWindow = new ToolBoxForm();
         SharpDevelopSideBar sideBar = FormsDesignerViewContent.FormsDesignerToolBox;
         sideBar.Dock   = DockStyle.Fill;
         sideBar.Parent = ToolBoxWindow;
         AddWindowToDockPanel(ToolBoxWindow, MainDockPanel, OutputWindow.Dock, DockState.DockLeft, OutputWindow.IsFloat, null, -1);
         ToolBoxWindow.Visible = false;
         ToolBoxWindow.Hide();
     }
     if (PropertiesWindow == null)
     {
         PropertiesWindow = new PropertiesForm();
         Panel properties = FormsDesignerViewContent.PropertyPad.PropertyPadPanel;
         properties.Dock   = DockStyle.Fill;
         properties.Parent = PropertiesWindow;
         AddWindowToDockPanel(PropertiesWindow, MainDockPanel, DockStyle.Fill, DockState.DockRight, OutputWindow.IsFloat, ProjectPane, int.MaxValue);
         PropertiesWindow.Visible = false;
         PropertiesWindow.Hide();
     }
 }
Exemplo n.º 3
0
 public void AddToolBox()
 {
     if (ToolBoxWindow == null)
     {
         ToolBoxWindow = new ToolBoxForm();
         SharpDevelopSideBar sideBar = FormsDesignerViewContent.FormsDesignerToolBox;
         sideBar.Dock = DockStyle.Fill;
         sideBar.Parent = ToolBoxWindow;
         AddWindowToDockPanel(ToolBoxWindow, MainDockPanel, OutputWindow.Dock, DockState.DockLeft, OutputWindow.IsFloat, null, -1);
         ToolBoxWindow.Show();
     }
     else
         ToolBoxWindow.Show();
 }
Exemplo n.º 4
0
 private void AddDesignerSidebars()
 {
     if (ToolBoxWindow == null)
     {
         ToolBoxWindow = new ToolBoxForm();
         SharpDevelopSideBar sideBar = FormsDesignerViewContent.FormsDesignerToolBox;
         sideBar.Dock = DockStyle.Fill;
         sideBar.Parent = ToolBoxWindow;
         AddWindowToDockPanel(ToolBoxWindow, MainDockPanel, OutputWindow.Dock, DockState.DockLeft, OutputWindow.IsFloat, null, -1);
         ToolBoxWindow.Visible = false;
         ToolBoxWindow.Hide();
     }
     if (PropertiesWindow == null)
     {
         PropertiesWindow = new PropertiesForm();
         Panel properties = FormsDesignerViewContent.PropertyPad.PropertyPadPanel;
         properties.Dock = DockStyle.Fill;
         properties.Parent = PropertiesWindow;
         AddWindowToDockPanel(PropertiesWindow, MainDockPanel, DockStyle.Fill, DockState.DockRight, OutputWindow.IsFloat, ProjectPane, int.MaxValue);
         PropertiesWindow.Visible = false;
         PropertiesWindow.Hide();
     }
 }