Ejemplo n.º 1
0
 void MenuWindow_MatOut_Click(object sender, EventArgs e)
 {
     MatOutChart matoutChart = new MatOutChart((SanofiProductBrands)_selected_Product, _selected_RegionType, DBUtils.GetGroupRegionMapId(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), (_selected_RegionType == SanofiRegionTypes.TotalIR) ? "Total IR" : DBUtils.GetGroupRegionName(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), _selected_EndMonth, _selected_EndYear, "", null);
     matoutChart.Show();
 }
Ejemplo n.º 2
0
 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"))
     {
         MatOutChart matoutChart = new MatOutChart((SanofiProductBrands)_productBrand, _regionType, _groupRegionMapId, _regionName, _endMonth, _endYear, "", _isValue);
         matoutChart.Show();
     }
     else
     {
         MatOutChart matoutChart = new MatOutChart((SanofiProductBrands)_productBrand, _regionType, _groupRegionMapId, _regionName, _endMonth, _endYear, (string)(sender as ComboBox).SelectedItem, _isValue);
         matoutChart.Show();
     }
     this.Close();
 }