Exemple #1
0
        private void MaxPluginForm_Load(object sender, EventArgs e)
        {
#if !DEBUG
            HideDebugUI();
#endif
            Settings.Read();
            brg = new BrgMax(this);
            grn = new GrnMax(this);
            brg.LoadUI();
            grn.LoadUI();
            model = brg;
        }
Exemple #2
0
        private void mainTabControl_SelectedIndexChanged(object sender, EventArgs e)
        {
            model.SaveUI();

            if (mainTabControl.SelectedIndex == 0)
            {
                this.model = this.brg;
                this.brgObjectsTreeListView.Focus();
                //MessageBox.Show("brg");
            }
            else if (mainTabControl.SelectedIndex == 1)
            {
                this.model = this.grn;
                this.grnObjectsTreeListView.Focus();
                //MessageBox.Show("grn");
            }

            model.LoadUI();
        }
        private void mainTabControl_SelectedIndexChanged(object sender, EventArgs e)
        {
            model.SaveUI();

            if (mainTabControl.SelectedIndex == 0)
            {
                this.model = this.brg;
                this.brgObjectsTreeListView.Focus();
                //MessageBox.Show("brg");
            }
            else if (mainTabControl.SelectedIndex == 1)
            {
                this.model = this.grn;
                this.grnObjectsTreeListView.Focus();
                //MessageBox.Show("grn");
            }

            model.LoadUI();
        }
        private void MaxPluginForm_Load(object sender, EventArgs e)
        {
#if !DEBUG
            HideDebugUI();
#endif
            Settings.Read();
            brg = new BrgMax(this);
            grn = new GrnMax(this);
            brg.LoadUI();
            grn.LoadUI();
            model = brg;
        }