Пример #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            this.Hide();
        }
Пример #2
0
        private void btnCancel_Click_1(object sender, EventArgs e)
        {
            StartForm a = new StartForm();

            a.Show();
            this.Hide();
        }
Пример #3
0
        private void btnPrev_Click(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            this.Hide();
        }
Пример #4
0
        private void btnPrev_Click(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            sf.label1.Text = lblUserName.Text;
            this.Hide();
        }
Пример #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            StartForm start = new StartForm();

            start.label1.Text = label2.Text;
            start.Activate();
            this.Hide();
        }
Пример #6
0
        private void label3_Click(object sender, EventArgs e)
        {
            StartForm a = new StartForm();

            a.label1.Text = label4.Text;
            a.Show();
            this.Hide();
        }
Пример #7
0
        private void btnSignUp_Click(object sender, EventArgs e)
        {
            TruckingIndustryEntities8 obj = new TruckingIndustryEntities8();

            obj.klienty_Ins(tbFullName.Text, tbMail.Text, tbLogin.Text, textBox1.Text, tbAdres.Text, Convert.ToInt32(tbPhone.Text));
            StartForm obje = new StartForm();

            obje.Show();
            MessageBox.Show("Регистрация прошла успешно!");
            this.Hide();
        }