コード例 #1
0
ファイル: Activity.cs プロジェクト: devtk0582/legacy-projects
 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");
     }
 }
コード例 #2
0
ファイル: MainMenu.cs プロジェクト: devtk0582/legacy-projects
 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);
     }
 }
コード例 #3
0
 public popupManualEntry(ScanItem objScanItem)
 {
     this.InitializeComponent();
     this.objScanItem = objScanItem;
 }
コード例 #4
0
 public ShowData(ScanItem objScanItem, SqlCeConnection con)
 {
     this.InitializeComponent();
     this.objScanItem = objScanItem;
     this.conn        = con;
 }