private void siparişDetayıEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SiparisDetaySorgulamaFormu f4 = new SiparisDetaySorgulamaFormu();

            f4.Show();
            GirisFormu f1 = new GirisFormu();

            f1.Close();
            this.Hide();
        }
示例#2
0
 //Butona tıklanınca textboxtaki OrderID ile birlikte sipariş detay formunu açan event
 private void btnOrderAra_Click(object sender, EventArgs e)
 {
     try
     {
         int newOrderID       = Convert.ToInt32(txtOrderAra.Text);
         SiparisDetayFormu f3 = new SiparisDetayFormu(newOrderID);
         f3.Show();
         SiparisDetaySorgulamaFormu f4 = new SiparisDetaySorgulamaFormu();
         f4.Close();
         this.Hide();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }