private void editToolStripMenuItem_Click(object sender, EventArgs e) { FormAddPO add = new FormAddPO("edit", indexDatagrid); add.RefreshDgv += new FormAddPO.DoEvent(Load_Po); //dataGridView1.Columns[0].Visible = false; add.ShowDialog(); }
private void btn_add_po_Click(object sender, EventArgs e) { FormAddPO add = new FormAddPO("add"); add.RefreshDgv += new FormAddPO.DoEvent(Load_Po); //dataGridView1.Columns[0].Visible = false; add.ShowDialog(); }