Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     obj.pocylki_Ins(label8.Text, textBox1.Text, Convert.ToInt32(textBox2.Text), Convert.ToInt32(textBox3.Text), Convert.ToDouble(textBox4.Text), Convert.ToDouble(textBox5.Text), Convert.ToDouble(textBox6.Text), Convert.ToDouble(textBox7.Text));
     start.label1.Text = label8.Text;
     start.Show();
     this.Hide();
 }
Beispiel #2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            this.Hide();
        }
Beispiel #3
0
        private void btnCancel_Click_1(object sender, EventArgs e)
        {
            StartForm a = new StartForm();

            a.Show();
            this.Hide();
        }
Beispiel #4
0
        private void btnPrev_Click(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            this.Hide();
        }
Beispiel #5
0
        private void btnPrev_Click(object sender, EventArgs e)
        {
            StartForm sf = new StartForm();

            sf.Show();
            sf.label1.Text = lblUserName.Text;
            this.Hide();
        }
Beispiel #6
0
        private void label3_Click(object sender, EventArgs e)
        {
            StartForm a = new StartForm();

            a.label1.Text = label4.Text;
            a.Show();
            this.Hide();
        }
Beispiel #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();
        }
Beispiel #8
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     sf.Show();
     this.Hide();
 }