コード例 #1
0
ファイル: Bubble.xaml.cs プロジェクト: naimheshmati/Sanofi
 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"))
     {
         Bubble bubble = new Bubble((SanofiProductBrands)_productBrand, _startDate, _endDate, "");
         bubble.Show();
     }
     else
     {
         Bubble bubble = new Bubble((SanofiProductBrands)_productBrand, _startDate, _endDate, (string)(sender as ComboBox).SelectedItem);
         bubble.Show();
     }
     this.Close();
 }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: naimheshmati/Sanofi
 void MenuWindow_GrowthAndAchievementVsObjective_Click(object sender, EventArgs e)
 {
     Bubble bubble = new Bubble((SanofiProductBrands)_selected_Product, _selectedStartDate, _selectedEndDate, "");
     bubble.Show();
 }