public override void OpenAddForm() { CobroFomentoAddForm form = new CobroFomentoAddForm(this); AddForm(form); _entity = form.Entity; }
public override void OpenAddForm() { switch (_tipo) { case ETipoCobro.Cliente: { OpenEditForm(); } break; case ETipoCobro.REA: { REAChargeAddForm form = new REAChargeAddForm(this); if (form.Entity != null) { AddForm(form); } } break; case ETipoCobro.Fomento: { CobroFomentoAddForm form = new CobroFomentoAddForm(this); if (form.Entity != null) { AddForm(form); } } break; } RefreshList(); }
protected override void NewCobroAction() { CobroFomentoAddForm form = new CobroFomentoAddForm(this); form.ShowDialog(this); RefreshAction(); }