示例#1
0
 private void CheckIM()
 {
     if (!chb_Void.Checked)
     {
         f_Item_Master f_IM;
         f_IM = new f_Item_Master(ref x, tb_ItemNo.Text);
         f_IM.ShowDialog();
         tb_ItemNo.Focus();
         tb_ItemNo.Text = f_IM.PartNo;
         LoadFSItemInfo(tb_ItemNo.Text);
     }
 }
示例#2
0
        private void tb_ItemDesc_KeyDown(object sender, KeyEventArgs e)
        {
            f_Item_Master f_IM;

            if (e.KeyValue == 13)
            {
                tb_ItemRef.Focus();
                _tag.ItemDescription = tb_ItemDesc.Text;
            }
            if (e.KeyValue == 115)
            {
                f_IM = new f_Item_Master(ref x, tb_ItemNo.Text);
                f_IM.ShowDialog();
                tb_ItemNo.Text = f_IM.PartNo;
                LoadFSItemInfo(tb_ItemNo.Text);
            }
        }
示例#3
0
        private void tb_ItemNo_KeyDown(object sender, KeyEventArgs e)
        {
            f_Item_Master f_IM;

            if (e.KeyValue == 13)
            {
                LoadFSItemInfo(tb_ItemNo.Text);
                if (tb_ItemDesc.Text == "")
                {
                    CheckIM();
                }
                else
                {
                    tb_ItemDesc.Focus();
                }
            }
            if (e.KeyValue == 115)
            {
                f_IM = new f_Item_Master(ref x, tb_ItemNo.Text);
                f_IM.ShowDialog();
                tb_ItemNo.Text = f_IM.PartNo;
                LoadFSItemInfo(tb_ItemNo.Text);
            }
        }
示例#4
0
 private void b_ItemMaster_Click(object sender, EventArgs e)
 {
     f_IM = new f_Item_Master(ref x);
     f_IM.Show();
     //MessageBox.Show("Selected Part: " + f_IM.PartNo);
 }