private void MenuSaida_Click(object sender, EventArgs e) { FormSaida fo = new FormSaida(0, ""); fo.WindowState = FormWindowState.Normal; fo.StartPosition = FormStartPosition.CenterParent; fo.ShowDialog(); }
private void venderPeçaToolStripMenuItem_Click(object sender, EventArgs e) { if (dgvPesqCli.RowCount > 1) { FormSaida fo = new FormSaida(id, nome); fo.WindowState = FormWindowState.Normal; fo.StartPosition = FormStartPosition.CenterParent; fo.ShowDialog(); } }