Пример #1
0
 public void EventosBotonCrear(Form colaForms, GroupBox gb, Label lbAviso, TextBox tb)
 {
     HelperForms.ClearGroupBox(gb);
     HelperForms.ClearControllers(colaForms);
     lbAviso.Visible = true;
     tb.Enabled      = false;
 }
Пример #2
0
 public void BorrarColaborador(DataGridView dtg, Form form, GroupBox gb)
 {
     mCola.CODIGOEMPLEADO = iCola.CODIGOEMPLEADO;
     mCola.DeleteColaborador();
     FillDataGrid(dtg);
     HelperForms.ClearControllers(form);
     HelperForms.ClearGroupBox(gb);
 }
Пример #3
0
        public void LimpiarControles(Form forcola, GroupBox gb, TextBox tbid, Label lbaviso)
        {
            HelperForms.ClearControllers(forcola);
            HelperForms.ClearGroupBox(gb);

            tbid.Enabled    = true;
            lbaviso.Visible = false;
        }
Пример #4
0
        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();
        }