/*เรียกหน้าเพิ่มสูตรผลิต*/ private void toolStripButton3_Click_1(object sender, EventArgs e) { if (dataGridView1.Rows.Count < 1) return; Dialog.frmDialogFormularAdd addFm = new frmDialogFormularAdd(dataGridView1.CurrentRow.Cells[0].Value.ToString()); addFm.ShowDialog(); if (addFm.DialogResult == DialogResult.OK) { loadData(); loadDataMr(dataGridView1.Rows[0].Cells[0].Value.ToString()); } }
private void toolStripButton1_Click(object sender, EventArgs e) { Dialog.frmDialogFormularAdd addFm = new frmDialogFormularAdd(); addFm.ShowDialog(); if (addFm.DialogResult == DialogResult.OK) { loadData(); loadDataMr(dataGridView1.Rows[0].Cells[0].Value.ToString()); } }