public RegionReview(string[] user_data)
 {
     InitializeComponent();
     arr = user_data;
     FillRegionComboBox();
     ReportHelper.FillStatusComboBoxWithAll(StatusComboBox);
     StatusComboBox.SelectedIndex = 0;
     RegionComboBox.SelectedIndex = 0;
 }
Пример #2
0
        private string reportQuery;        //allows the query generated for the report to be used when exporting to excel

        /*Name: Michael Figueroa
         * Function Name: AgingItems
         * Purpose: Constructor for AgingItems.xaml.cs
         * Parameters: string[] user_data
         * Return Value: None
         * Local Variables: None
         * Algorithm: user-specific info is passed onto string[] arr, then SystemComboBox is set to index 0 ("All"), then SystemComboBox is filled, ReportHelper.FillStatusComboBoxWithAll (StatusComboBox) is called,
         * StatusComboBox is set to index 0, and the DataGrid is binded
         * Version: 2.0.0.4
         * Date modified: Prior to 1/1/20
         * Assistance Received: N/A
         */
        public AgingItems(string[] user_data)
        {
            InitializeComponent();
            arr = user_data;
            SystemComboBox.SelectedIndex = 0;
            FillSystemComboBox();
            ReportHelper.FillStatusComboBoxWithAll(StatusComboBox);
            StatusComboBox.SelectedIndex = 0;
            BindDataGrid();
        }
Пример #3
0
 /*Name: Michael Figueroa
  * Function Name: BusinessCases
  * Purpose: Constructor for the BusinessCases form
  * Parameters: string[] user_data
  * Return Value: None
  * Local Variables: None
  * Algorithm: Fills SystemComboBox, then calls FillStatusComboBoxWithAll, assigns both combo boxes to index 0 ("All"), then calls BindDataGrid
  * Version: 2.0.0.4
  * Date modified: Prior to 1/1/20
  * Assistance Received: N/A
  */
 public BusinessCases(string[] user_data)
 {
     InitializeComponent();
     arr = user_data;
     FillSystemComboBox();
     ReportHelper.FillStatusComboBoxWithAll(StatusComboBox);
     SystemComboBox.SelectedIndex = 0;
     StatusComboBox.SelectedIndex = 0;
     BindDataGrid(ReportHelper.SystemChosen(SystemComboBox));
     //Collapses all DataGrids until a system is chosen from the Combo Box
 }