Beispiel #1
0
 private void btn_AddLine_Click(object sender, EventArgs e)
 {
     if (cbx_Inventory.SelectedIndex != -1)
     {
         frmSalesLineAddEdit frm = new frmSalesLineAddEdit(Convert.ToInt32(cbx_Inventory.SelectedValue), this);
         frm.FormClosed += frmSalesLineAddEdit_FormClosed;
         frm.ShowDialog();
     }
     else
     {
         MessageBox.Show("برجاء أختيار مخزن أولا");
     }
 }
Beispiel #2
0
 private void btn_AddLine_Click(object sender, EventArgs e)
 {
     if (cbx_Inventory.SelectedIndex != -1)
     {
         frmSalesLineAddEdit frm = new frmSalesLineAddEdit(Convert.ToInt32(cbx_Inventory.SelectedValue), this);
         frm.FormClosed += frmSalesLineAddEdit_FormClosed;
         frm.ShowDialog();
     }
     else
         MessageBox.Show("برجاء أختيار مخزن أولا");
 }