예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            _011_CubrirCuartel cuartel = new _011_CubrirCuartel();

            if (cuartel.ShowDialog() == DialogResult.OK)
            {
                DBNotifyListeners.RegisterListener(panelEstadoCarros1.OnUpdateCarroHandler);
            }
        }
예제 #2
0
 private void MainTree_Load(object sender, EventArgs e)
 {
     if (!DesignMode)
     {
         DBNotifyListeners.RegisterListener(OnDataChanged);
         ZeusWin.AddActualizarHandler(OnActualizar);
         CargarComandantesGuardia();
     }
 }
        private void toolModulos3_Click(object sender, EventArgs e)
        {
            _011_CubrirCuartel cuartel = new _011_CubrirCuartel();
            PanelEstadoCarros  pec     = new PanelEstadoCarros();

            if (cuartel.ShowDialog() == DialogResult.OK)
            {
                DBNotifyListeners.RegisterListener(pec.OnUpdateCarroHandler);   //### No Estaba Comentado CBPA
            }
        }
        private void MainTabs_Load(object sender, EventArgs e)
        {
            // expedientes
            if (!DesignMode)
            {
                DBNotifyListeners.RegisterListener(OnExpedienteInsertUpdateHandler);
                DBNotifyListeners.RegisterListener(OnBitacoraChanged);

                CargarExpedientes();
                CargarBitacora();
            }
        }
예제 #5
0
 private void SlidePanel_Load(object sender, EventArgs e)
 {
     if (!DesignMode)
     {
         DBNotifyListeners.RegisterListener(OnExpedienteInsertHandler);
         Height    = mainbtn.Height;
         collapsed = true;
         OnStateChanged(true);
         button1.ImageIndex = 0;
         // expedientes
         ContarExp();
         // carros cubriendo
         VerificarCubriendo();
     }
 }
예제 #6
0
 private void MaterialMayor_Load(object sender, EventArgs e)
 {
     DBNotifyListeners.RegisterListener(panelEstadoCarros1.OnUpdateCarroHandler);
 }