//新建乳化沥青生产通知单按钮 private void button9_Click(object sender, EventArgs e) { try { FrmProductionNotificationBitumen fpnbform = new FrmProductionNotificationBitumen(); fpnbform.Mark2 = ProducePlan.pType.EmulsificationAsphaltum; if (fpnbform.ShowDialog() == DialogResult.OK) { dgvBind(); } } catch (Exception ex) { MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
//新建改性沥青生产通知单按钮 private void button3_Click(object sender, EventArgs e) { //try //{ FrmProductionNotificationBitumen fpnbform = new FrmProductionNotificationBitumen(); fpnbform.Mark2 = ProducePlan.pType.RestructureAsphaltum; if (fpnbform.ShowDialog() == DialogResult.OK) { dgvBind(); } //} //catch (Exception ex) //{ // MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); //} }