private void button2_Click(object sender, EventArgs e) { //frmBindPrint form = new frmBindPrint(Print_Type.lot); frmBindPrint_1 form = new frmBindPrint_1(); show(form); }
private void frmAction_Shown(object sender, EventArgs e) { if (string.IsNullOrEmpty(getPrinter(key_A5)) || string.IsNullOrEmpty(getPrinter(key_lot))) { frmBindPrint_1 form = new frmBindPrint_1(); show(form); } else { if (ini.IniReadValue(ini.Section_Configuration, "showRWD").Equals("true")) { frmRWDSCAN form = new frmRWDSCAN(); form.block = RWDSCAN; show(form); } } }