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"))
     {
         ShareOfRegion share = new ShareOfRegion((SanofiProductBrands)_productBrand, _startMonth, _startYear, _endMonth, _endYear, "");
         share.Show();
     }
     else
     {
         ShareOfRegion share = new ShareOfRegion((SanofiProductBrands)_productBrand, _startMonth, _startYear, _endMonth, _endYear, (string)(sender as ComboBox).SelectedItem);
         share.Show();
     }
     this.Close();
 }
Beispiel #2
0
 void MenuWindow_ShareOfRegion_Click(object sender, EventArgs e)
 {
     ShareOfRegion shareOfRegion = new ShareOfRegion((SanofiProductBrands)_selected_Product, _selected_StartMonth, _selected_StartYear, _selected_EndMonth, _selected_EndYear,"");
     shareOfRegion.Show();
 }