private void btnNext_Click(object sender, EventArgs e) { try { ScanItem fScanItem = new ScanItem(this.mainForm); fScanItem.UserID = UserID; fScanItem.UserName = UserName; fScanItem.CustName = CustName; fScanItem.LocationName = LocationName; fScanItem.ItemActivity = cbActivity.Text; fScanItem.ItemActivityID = cbActivity.SelectedValue.ToString(); fScanItem.Show(); this.Close(); } catch (Exception ex) { Helper.LogError(ex, "btnNext_Click"); } }
private void btnScan_Click(object sender, EventArgs e) { try { ScanItem fScanItem = new ScanItem(this.mainForm); fScanItem.UserID = UserID; fScanItem.UserName = UserName; fScanItem.CustName = CustName; fScanItem.LocationName = LocationName; fScanItem.ItemActivity = ItemActivity; //fScanItem.MyReader = this.MyReader; fScanItem.Show(); this.Close(); } catch (Exception ex) { MessageBox.Show("Scan_Click: " + ex.Message); } }
public popupManualEntry(ScanItem objScanItem) { this.InitializeComponent(); this.objScanItem = objScanItem; }
public ShowData(ScanItem objScanItem, SqlCeConnection con) { this.InitializeComponent(); this.objScanItem = objScanItem; this.conn = con; }