예제 #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();
            }
        }
예제 #2
0
        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());
            }
        }
예제 #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);
            }
        }