Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form BiletBuyForm = new ViborSeans(id_pokupatel);

            BiletBuyForm.Show();
            //this.Hide();
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (label_Gor.Text == "Ярославль")
            {
                id_g = 1;
            }
            else if (label_Gor.Text == "Вологда")
            {
                id_g = 2;
            }
            Form BiletBuyForm = new ViborSeans(id_g, id_pol);

            BiletBuyForm.Show();
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (id_d == "администратор")
            {
                id_p = -1;
            }
            else
            {
                id_p = 0;
            }
            Form ViborSeans = new ViborSeans(id_p);

            ViborSeans.Show();
            this.Hide();
        }