예제 #1
0
        public override void Novo(object sender, EventArgs e)
        {
            base.Novo(sender, e);
            frmCadCliente lfrmCad = new frmCadCliente();

            lfrmCad.Carregar(this);
        }
예제 #2
0
 private void dgvProc_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         if (e.RowIndex >= 0 && tipoTela == TipoTela.Cadastro)
         {
             frmCadCliente lfrmCad = new frmCadCliente();
             lfrmCad.Carregar(int.Parse(dgvProc.Rows[e.RowIndex].Cells[colId.Index].Value.ToString()), this);
         }
     }
     catch (Exception ex)
     {
         WinControls.ApresentarErro(AssistErroException.TratarErro(ex));
     }
 }
예제 #3
0
        private void btnCliente_Click(object sender, EventArgs e)
        {
            frmCadCliente lfrmCad = new frmCadCliente();

            lfrmCad.Carregar(true);
        }