Ejemplo n.º 1
0
 private void initVariables()
 {
     try
     {
         fillStatusCombo(cmbStatus);
         RegionDB.fillRegionComboNew(cmbRegion);
     }
     catch (Exception)
     {
     }
 }
Ejemplo n.º 2
0
 private void initVariables()
 {
     closeAllPanels();
     RegionDB.fillRegionComboNew(cmbFilterRegion);
     cmbFilterRegion.Items.Add("All");
     cmbFilterRegion.SelectedItem = "All";
     cmbfilterOffice.Visible      = true;
     cmbFilterRegion.Visible      = true;
     lblOffice.Visible            = true;
     lblRegion.Visible            = true;
     btnView.Visible = true;
     if (cmbfilterOffice.SelectedItem.ToString() == "All")
     {
         officeid = "All";
     }
     else
     {
         officeid = ((Structures.ComboBoxItem)cmbfilterOffice.SelectedItem).HiddenValue;
     }
 }