Exemple #1
0
        private void додатиЗапчастинуиToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form9 f = new Form9();

            f.Hide();
            f.Show();
        }
Exemple #2
0
        private void деманстрационныеРежимыToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (V == true)
            {
                for (int i = 0; i < 5; i++)
                {
                    number1[i].Visible = false;
                    number2[i].Visible = false;
                    result[i].Visible  = false;
                }
                button2.Visible   = false;
                button17.Visible  = false;
                button18.Visible  = false;
                button19.Visible  = false;
                button20.Visible  = false;
                label1.Visible    = false;
                label2.Visible    = false;
                label3.Visible    = false;
                comboBox1.Visible = false;
                comboBox2.Visible = false;
                pictureBox1.Image = global::WindowsFormsApplication1.Properties.Resources.ИК_заставка;
            }

            if (VV == true)
            {
                button21.Visible = false;
                label4.Visible   = false;
                label14.Visible  = false;
                label15.Visible  = false;
                label16.Visible  = false;
                label17.Visible  = false;
                label18.Visible  = false;
                listBox1.Visible = false;

                for (int i = 0; i < 8; i++)
                {
                    arrows[i].Visible = false;
                }

                for (int i = 0; i < 9; i++)
                {
                    numbers[i].Visible  = false;
                    massivsg[i].Visible = false;
                }

                listBox1.Items.Clear();
                listBox1.Visible = false;

                globcount = 0;

                pictureBox2.Visible = false;
                button21.Text       = "Начать!";
            }

            richTextBox1.Visible = false;
            pictureBox1.Image    = global::WindowsFormsApplication1.Properties.Resources.ИК_заставка;
            Form9 f1 = new Form9();

            f1.Hide();
            f1.Show();
            f1.label1.Text      = "1";
            f1.Text             = "Демонстрационные режимы";
            f1.pictureBox1.Size = new System.Drawing.Size(560, 440);
            //richTextBox1.Visible = false;
            //richTextBox2.Visible = false;
            //richTextBox3.Visible = false;
        }