Beispiel #1
0
        private void menuItemLayoutByCode_Click(object sender, System.EventArgs e)
        {
            dockPanel.SuspendLayout(true);

            CloseAllDocuments();

            m_solutionExplorer = new DummySolutionExplorer();
            m_propertyWindow   = new DummyPropertyWindow();
            m_toolbox          = new DummyToolbox();
            m_outputWindow     = new DummyOutputWindow();
            m_taskList         = new DummyTaskList();

            m_solutionExplorer.Show(dockPanel, DockState.DockRight);
            m_propertyWindow.Show(m_solutionExplorer.Pane, m_solutionExplorer);
            m_toolbox.Show(dockPanel, new Rectangle(98, 133, 200, 383));
            m_outputWindow.Show(m_solutionExplorer.Pane, DockAlignment.Bottom, 0.35);
            m_taskList.Show(m_toolbox.Pane, DockAlignment.Left, 0.4);

            DummyDoc doc1 = CreateNewDocument("Document1");
            DummyDoc doc2 = CreateNewDocument("Document2");
            DummyDoc doc3 = CreateNewDocument("Document3");
            DummyDoc doc4 = CreateNewDocument("Document4");

            doc1.Show(dockPanel, DockState.Document);
            doc2.Show(doc1.Pane, null);
            doc3.Show(doc1.Pane, DockAlignment.Bottom, 0.5);
            doc4.Show(doc3.Pane, DockAlignment.Right, 0.5);

            dockPanel.ResumeLayout(true, true);
        }
Beispiel #2
0
        protected override void OnLoad(EventArgs e)
        {
            DummyOutputWindow form = new DummyOutputWindow();

            form.Show(dockPanel1);
            base.OnLoad(e);
        }
Beispiel #3
0
 private void CreateStandardControls()
 {
     m_solutionExplorer = new DummySolutionExplorer();
     m_propertyWindow   = new DummyPropertyWindow();
     m_toolbox          = new DummyToolbox();
     m_outputWindow     = new DummyOutputWindow();
     m_taskList         = new DummyTaskList();
 }
Beispiel #4
0
 private void toolStripButton_outputwindow_Click(object sender, EventArgs e)
 {
     if (m_outputWindow == null)
     {
         m_outputWindow = new DummyOutputWindow();
         m_outputWindow.Show(dockPanel, DockState.DockBottom);
     }
     else
     {
         m_outputWindow.Close();
         m_outputWindow = null;
     }
 }
Beispiel #5
0
 private void CreateStandardControls()
 {
     m_solutionExplorer = new DummySolutionExplorer();
     m_propertyWindow = new DummyPropertyWindow();
     m_toolbox = new DummyToolbox();
     m_outputWindow = new DummyOutputWindow();
     m_taskList = new DummyTaskList();
 }
Beispiel #6
0
        private void menuItemLayoutByCode_Click(object sender, System.EventArgs e)
        {
            dockPanel.SuspendLayout(true);

            CloseAllDocuments();

            m_solutionExplorer = new DummySolutionExplorer();
            m_propertyWindow = new DummyPropertyWindow();
            m_toolbox = new DummyToolbox();
            m_outputWindow = new DummyOutputWindow();
            m_taskList = new DummyTaskList();

            m_solutionExplorer.Show(dockPanel, DockState.DockRight);
            m_propertyWindow.Show(m_solutionExplorer.Pane, m_solutionExplorer);
            m_toolbox.Show(dockPanel, new Rectangle(98, 133, 200, 383));
            m_outputWindow.Show(m_solutionExplorer.Pane, DockAlignment.Bottom, 0.35);
            m_taskList.Show(m_toolbox.Pane, DockAlignment.Left, 0.4);

            DummyDoc doc1 = CreateNewDocument("Document1");
            DummyDoc doc2 = CreateNewDocument("Document2");
            DummyDoc doc3 = CreateNewDocument("Document3");
            DummyDoc doc4 = CreateNewDocument("Document4");
            doc1.Show(dockPanel, DockState.Document);
            doc2.Show(doc1.Pane, null);
            doc3.Show(doc1.Pane, DockAlignment.Bottom, 0.5);
            doc4.Show(doc3.Pane, DockAlignment.Right, 0.5);

            dockPanel.ResumeLayout(true, true);
        }
Beispiel #7
0
 private void CreateStandardControls()
 {
     m_solutionExplorer = new DummySolutionExplorer();
     m_propertyWindow = new DummyPropertyWindow();
     m_toolbox = new DummyToolbox();
     m_outputWindow = new DummyOutputWindow();
     m_taskList = new DummyTaskList();
     m_keyDataSet = new KeyDataSet_Tool();
     m_logWindow = new LogWindow();
     Instance.SASLogWindow = m_logWindow;
 }