Beispiel #1
0
        private void btnFindItem_Click(object sender, EventArgs e)
        {
            frmFindItem frm = new frmFindItem();

            frm.ShowDialog();

            if (frm.strItemID.Trim() != "")
            {
                txtItemId.Text = frm.strItemID;
                GetItemData(txtItemId.Text);
                GetData();
            }
        }
        private void btnFindSrvceItem_Click(object sender, EventArgs e)
        {
            frmFindItem frm = new frmFindItem();

            frm.ShowDialog();

            if (frm.strItemID.Trim() != "")
            {
                txtSrvceItemSwid.Text = frm.strItemID;
                GetSrvceItem(txtSrvceItemSwid.Text);
                dgServiceItems.Rows[0].Selected = true;

                GetSrvceMaterialData(dgServiceItems[0, 0].Value.ToString());
            }
        }
Beispiel #3
0
        private void btnFindItem_Click(object sender, EventArgs e)
        {
            if (lstWarehouse.SelectedIndex == -1)
            {
                glb_function.MsgBox("الرجاء اختيار المخزن اولا");
                lstWarehouse.Focus();
                return;
            }
            frmFindItem frm = new frmFindItem();

            frm.ShowDialog();

            if (frm.strItemID.Trim() != "")
            {
                txtItemId.Text = frm.strItemID;
                GetItemData(txtItemId.Text);
            }
        }