コード例 #1
0
 private void clienteToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     using (frmPesquisarCliente pesquisa = new frmPesquisarCliente())
     {
         if (pesquisa.ShowDialog() == DialogResult.OK)
         {
             frmCliente cliente = new frmCliente(pesquisa.escolhido.id);
             cliente.Show();
         }
     }
 }
コード例 #2
0
        private void clienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCliente cliente = new frmCliente();

            cliente.Show();
        }