コード例 #1
0
 private void btn_SiparisEkle_Click(object sender, EventArgs e)
 {
     if (MusteriId != 0)
     {
         Form_Siparis siparis = new Form_Siparis(MusteriId);
         siparis.ShowDialog();
     }
     else
     {
         MessageBox.Show("Müşteri seçin !", "Uyarı", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
コード例 #2
0
        private void dg_Siparisler_DoubleClick(object sender, EventArgs e)
        {
            Form_Siparis siparis = new Form_Siparis(true, SiparisId);

            siparis.ShowDialog();
        }