public void EventosBotonCrear(Form colaForms, GroupBox gb, Label lbAviso, TextBox tb) { HelperForms.ClearGroupBox(gb); HelperForms.ClearControllers(colaForms); lbAviso.Visible = true; tb.Enabled = false; }
public void BorrarColaborador(DataGridView dtg, Form form, GroupBox gb) { mCola.CODIGOEMPLEADO = iCola.CODIGOEMPLEADO; mCola.DeleteColaborador(); FillDataGrid(dtg); HelperForms.ClearControllers(form); HelperForms.ClearGroupBox(gb); }
public void LimpiarControles(Form forcola, GroupBox gb, TextBox tbid, Label lbaviso) { HelperForms.ClearControllers(forcola); HelperForms.ClearGroupBox(gb); tbid.Enabled = true; lbaviso.Visible = false; }
public void InsertaColaborador(Form colaForms, Timer timer, Label lbcreado, Label lbaviso, GroupBox gb) { if (HelperForms.CheckEmpy(colaForms)) { return; } ConnectionModel(); mCola.InsertColaborador(); HelperForms.ClearGroupBox(gb); HelperForms.ClearControllers(colaForms); lbaviso.Visible = false; lbcreado.Visible = true; timer.Start(); }