Esempio n. 1
0
        private void panel1_Click(object sender, EventArgs e)
        {
            activeForm = Form.ActiveForm;
            Menu menu = new Menu();

            HelpFunctions.show_form(activeForm, menu, "CarSales");
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Katalog katalog = new Katalog();

            activeForm = Form.ActiveForm;
            HelpFunctions.show_form(activeForm, katalog, "Каталог");
        }
Esempio n. 3
0
        private void button3_Click(object sender, EventArgs e)
        {
            Registr registr = new Registr();

            registr.label4.Visible   = false;
            registr.textBox4.Visible = false;
            registr.label5.Visible   = false;
            registr.textBox5.Visible = false;
            registr.label6.Text      = "Вход";
            registr.button1.Text     = "Вход";
            activeForm = Form.ActiveForm;
            HelpFunctions.show_form(activeForm, registr, "Вход");
        }
Esempio n. 4
0
        private void button2_Click(object sender, EventArgs e)
        {
            Registr registr = new Registr();

            registr.label4.Visible   = true;
            registr.textBox4.Visible = true;
            registr.label5.Visible   = true;
            registr.textBox5.Visible = true;
            registr.label6.Text      = "Регистрация";
            registr.button1.Text     = "Регистрация";
            activeForm = Form.ActiveForm;
            HelpFunctions.show_form(activeForm, registr, "Регистрация");
        }