Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Kpanel_TicketForm ticket = new Kpanel_TicketForm();

            this.Hide();
            ticket.Show();
        }
Exemple #2
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            Kpanel_TicketForm yenile = new Kpanel_TicketForm();

            this.Hide();
            yenile.Show();
        }
Exemple #3
0
        private void button5_Click(object sender, EventArgs e)
        {
            int gelenden = 0;

            gelenden        = Convert.ToInt32(txt_id.Text);
            cmd.Connection  = con;
            cmd.CommandText = "delete from ticket Where ID=" + txt_id.Text + " ";
            con.Open();
            cmd.ExecuteNonQuery();
            con.Close();
            MessageBox.Show(gelenden + " " + "Siparis Nolu Sipariş Silindi.");
            Kpanel_TicketForm yenile = new Kpanel_TicketForm();

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