Esempio n. 1
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            frmFindItem frm = new frmFindItem();

            frm.ShowDialog();
            if (frm.strPKid != "")
            {
                GetData(frm.strPKid);
            }
        }
 private void btnFindItem_Click(object sender, EventArgs e)
 {
     if (lstWarehouses.SelectedIndex == -1)
     {
         glb_function.MsgBox("الرجاء اختيار المخزن");
         lstWarehouses.Focus();
         return;
     }
     Inventory.frmFindItem frm = new frmFindItem();
     frm.ShowDialog();
     if (frm.strPKid != "")
     {
         GetItemData(frm.strPKid);
     }
 }