Exemplo n.º 1
0
 void MenuWindow_DistributorsMonthly_Click(object sender, EventArgs e)
 {
     DistributorsMonthly disMonth = new DistributorsMonthly((SanofiProductBrands)_selected_Product, _selected_RegionType, DBUtils.GetGroupRegionMapId(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), _selected_StartMonth, _selected_StartYear, _selected_EndMonth, _selected_EndYear, "");
     disMonth.Show();
 }
 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"))
     {
         DistributorsMonthly monthly = new DistributorsMonthly((SanofiProductBrands)_productBrand, _regionType, _groupRegionMapId, _startMonth, _startYear, _endMonth, _endYear, "");
         monthly.Show();
     }
     else
     {
         DistributorsMonthly monthly = new DistributorsMonthly((SanofiProductBrands)_productBrand, _regionType,_groupRegionMapId, _startMonth, _startYear, _endMonth, _endYear, (string)(sender as ComboBox).SelectedItem);
         monthly.Show();
     }
     this.Close();
 }