private void DosageCombo_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if ((sender as ComboBox).SelectedItem != null && Utils.String_Trim_ToLower_Equals((string)(sender as ComboBox).SelectedItem, "all"))
     {
         DistributorsMatOutQuarterly disquarter = new DistributorsMatOutQuarterly((SanofiProductBrands)_productBrand, _regionType, _groupRegionMapId, _startDate, _endDate, "");
         disquarter.Show();
     }
     else
     {
         DistributorsMatOutQuarterly disquarter = new DistributorsMatOutQuarterly((SanofiProductBrands)_productBrand, _regionType, _groupRegionMapId, _startDate, _endDate, (string)(sender as ComboBox).SelectedItem);
         disquarter.Show();
     }
     this.Close();
 }
예제 #2
0
 void menuWindow_DistributorsMatOutQuarterlyClick(object sender, EventArgs e)
 {
     DistributorsMatOutQuarterly window = new DistributorsMatOutQuarterly((SanofiProductBrands)_selected_Product, _selected_RegionType, DBUtils.GetGroupRegionMapId(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), _selectedStartDate, _selectedEndDate,"");
     window.Show();
 }