コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            biletal kapat = new biletal();

            kapat.Close();

            Form1 frm1 = new Form1();

            frm1.Show();
            this.Hide();
        }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form1 form1 = new Form1();

            form1.Close();
            Class1.deger  = comboBox1.SelectedItem.ToString();
            Class1.deger1 = comboBox2.SelectedItem.ToString();
            Class1.tarih  = dateTimePicker1.Value.ToShortDateString();

            biletal bt = new biletal();

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