Example #1
0
 private void btnAlterar_Click(object sender, EventArgs e)
 {
     if (test == true)
     {
         int           codigo   = int.Parse(dgvClientes.CurrentRow.Cells[0].Value.ToString());
         FrmClienteCad cadastro = new FrmClienteCad(codigo);
         cadastro.ShowDialog();
     }
 }
Example #2
0
        private void btnIncluir_Click(object sender, EventArgs e)
        {
            FrmClienteCad cadastro = new FrmClienteCad();

            cadastro.ShowDialog();
        }