private void btnStartEclock_Click(object sender, EventArgs e) { try { frmReadRFID readRFID = new frmReadRFID(); readRFID.EntryList = (DataTable)dataGridView1.DataSource; readRFID.Mode = "TrainingMode"; readRFID.ShowDialog(); } catch (Exception ex) { MessageBox.Show(BIZ.Common.CustomError(ex.Message), "Error"); } }
private void btnStartEclock_Click(object sender, EventArgs e) { try { frmReadRFID readRFID = new frmReadRFID(); readRFID.EntryList = (DataTable)dataGridView1.DataSource; readRFID.Mode = "RaceMode"; readRFID.MobileNumber = BIZ.Common.GetSystemConfigValue("mobileNumber"); readRFID.SMSActivated = BIZ.Common.GetSystemConfigValue("smsactivated"); readRFID.ShowDialog(); } catch (Exception ex) { MessageBox.Show(BIZ.Common.CustomError(ex.Message), "Error"); } }