private void btnLicense_Click(object sender, EventArgs e) { frmKeyboard frm = new frmKeyboard(); if (frm.ShowDialog() == DialogResult.OK) { txtLicense.Text = frm.text; } }
private void lbl_Barcode_Read_Click(object sender, EventArgs e) { try { if (dataRows["OK_RESULT"].ToString() == "NG") { frmKeyboard frmKeyboard = new frmKeyboard(lbl_Barcode_Read); frmKeyboard.ShowDialog(this); if (lbl_Barcode_Read.Text != "") { if (lbl_Barcode_Read.Text.Length <= 4) { lbl_Barcode_Read.Font = new System.Drawing.Font("HY견고딕", 120.00F, FontStyle.Bold); } ProcessJob(); } } } catch (Exception ex) { } }