Example #1
0
 private void HabilitarBotonesMnt(bool enabled)
 {
     BarMnt.BeginUpdate();
     foreach (BarItem item in bmMantenimiento.Items)
     {
         item.Enabled = enabled;
     }
     BarMnt.EndUpdate();
     btnCerrar.Enabled      = !enabled;
     btnImprimir.Enabled    = !enabled;
     btnActualizar.Enabled  = !enabled;
     bsiImportar.Enabled    = !enabled;
     btnImportarReq.Enabled = !enabled;
 }
Example #2
0
 private void HabilitarBotonesMnt(bool enabled)
 {
     BarMnt.BeginUpdate();
     foreach (BarItem item in bmMantenimiento.Items)
     {
         item.Enabled = enabled;
     }
     BarMnt.EndUpdate();
     btnCerrar.Enabled     = !enabled;
     btnImprimir.Enabled   = !enabled;
     btnActualizar.Enabled = !enabled;
     //BarMntItems.BeginUpdate();
     //foreach (BarItem item in bmItems.Items)
     //{
     //    item.Enabled = enabled;
     //}
     //BarMntItems.EndUpdate();
 }