Esempio n. 1
0
        private void CreateBasicLayout()
        { 
            FormTreeView formTV = new FormTreeView();
            formTV.CloseButtonVisible = false;
            formTV.Show(dockPanel, DockState.Document);
            dockPanel.ResumeLayout(true, true);

            this.toolStripButtonCotations.Click += new System.EventHandler(formTV.onToolStripCotations);
            this.toolStripButtonReflectionX.Click += new System.EventHandler(formTV.onToolStripReflectionX);
            this.toolStripButtonReflectionY.Click += new System.EventHandler(formTV.onToolStripReflectionY);
            this.toolStripButtonLayout.Click += new System.EventHandler(formTV.onToolStripLayout);
            this.toolStripButtonEditComponentCode.Click += new System.EventHandler(formTV.onToolStripEditComponentCode);
            this.toolStripButtonEditParameters.Click += new System.EventHandler(formTV.onToolStripEditParameters);
        }
Esempio n. 2
0
        private void CreateBasicLayout()
        {
            FormTreeView formTV = new FormTreeView();

            formTV.CloseButtonVisible = false;
            formTV.Show(dockPanel, DockState.Document);
            dockPanel.ResumeLayout(true, true);

            this.toolStripButtonCotations.Click         += new System.EventHandler(formTV.onToolStripCotations);
            this.toolStripButtonReflectionX.Click       += new System.EventHandler(formTV.onToolStripReflectionX);
            this.toolStripButtonReflectionY.Click       += new System.EventHandler(formTV.onToolStripReflectionY);
            this.toolStripButtonLayout.Click            += new System.EventHandler(formTV.onToolStripLayout);
            this.toolStripButtonEditComponentCode.Click += new System.EventHandler(formTV.onToolStripEditComponentCode);
            this.toolStripButtonEditParameters.Click    += new System.EventHandler(formTV.onToolStripEditParameters);
        }