Beispiel #1
0
        private void buttonTier_Click(object sender, EventArgs e)
        {
            ChangeView = true;

            TierView TierWindow = new TierView();
            TierWindow.Show();
            this.Close();
        }
Beispiel #2
0
        private void labelTierTab_Click(object sender, EventArgs e)
        {
            labelSelectViewPrompt.Visible = false;

            if (this.ActiveMdiChild != null && this.ActiveMdiChild.Text.ToString() == "Operator View")
            {
                this.ActiveMdiChild.Close();
            }

            TierView tierMDIChild = new TierView();

            // Set the Parent Form of the Child window.
            tierMDIChild.MdiParent = this;
            // Display the new form.
            tierMDIChild.Show();
            tierMDIChild.Location = new Point(12, 45);

            labelTierTab.BackColor     = System.Drawing.Color.PaleGoldenrod;
            labelOperatorTab.BackColor = System.Drawing.Color.Blue;
            labelTierTab.Enabled       = false;
            labelOperatorTab.Enabled   = true;
        }
Beispiel #3
0
        private void labelTierTab_Click(object sender, EventArgs e)
        {
            labelSelectViewPrompt.Visible = false;

            if (this.ActiveMdiChild != null && this.ActiveMdiChild.Text.ToString() == "Operator View")
            {
                this.ActiveMdiChild.Close();
            }

            TierView tierMDIChild = new TierView();
            // Set the Parent Form of the Child window.
            tierMDIChild.MdiParent = this;
            // Display the new form.
            tierMDIChild.Show();
            tierMDIChild.Location = new Point(12, 45);

            labelTierTab.BackColor = System.Drawing.Color.PaleGoldenrod;
            labelOperatorTab.BackColor = System.Drawing.Color.Blue;
            labelTierTab.Enabled = false;
            labelOperatorTab.Enabled = true;
        }