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); } }
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); } }
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); } }
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); }