public void AddPropertiesWindow() { 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.Show(); } else { PropertiesWindowVisible = true; } }
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(); } }
public void AddPropertiesWindow() { 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.Show(); } else PropertiesWindowVisible = true; }