示例#1
0
        private void MenuSaida_Click(object sender, EventArgs e)
        {
            FormSaida fo = new FormSaida(0, "");

            fo.WindowState   = FormWindowState.Normal;
            fo.StartPosition = FormStartPosition.CenterParent;
            fo.ShowDialog();
        }
示例#2
0
 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();
     }
 }