コード例 #1
0
 private void MatoutAccountToggleButton_Click(object sender, RoutedEventArgs e)
 {
     List<AccountGridObj> selecteds = GetSeleteds();
     AccountMatOut matout = new AccountMatOut(_productBrand, _regionType, _groupRegionMapId, _endMonth, _endYear, selecteds);
     matout.Show();
 }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: naimheshmati/Sanofi
 void ghalb_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     List<AccountGridObj> accounts = new List<AccountGridObj>();
     accounts.Add(new AccountGridObj() { CustomerName = "بیمارستان قلب تهران", DisCustomerCodes = new List<string>() { "78562", "23057" } });
     AccountMatOut matoutChart = new AccountMatOut((SanofiProductBrands)_selected_Product, SanofiRegionTypes.TotalIR, _selectedRegionMapId, _selected_EndMonth, _selected_EndYear, accounts);
     matoutChart.Show();
 }
コード例 #3
0
ファイル: MainPage.xaml.cs プロジェクト: naimheshmati/Sanofi
 void Pharmacy_MouseLeftButtonDown(object anAccount, MouseButtonEventArgs e)
 {
     List<AccountGridObj> accounts = new List<AccountGridObj>();
     accounts.Add((AccountGridObj)((DrawPinPoint)anAccount).Tag);
     AccountMatOut matoutChart = new AccountMatOut((SanofiProductBrands)_selected_Product, SanofiRegionTypes.TotalIR, _selectedRegionMapId, _selected_EndMonth, _selected_EndYear, accounts);
     matoutChart.Show();
 }
コード例 #4
0
ファイル: MainPage.xaml.cs プロジェクト: naimheshmati/Sanofi
 void MenuWindow_TehranMatOutClick(object sender, EventArgs e)
 {
     List<AccountGridObj> accounts = new List<AccountGridObj>();
     if (DistrictDSIDs == null || !DistrictDSIDs.ContainsKey(DBUtils.GetDistrictId(_selectedRegionMapId)))
         return;
     List<string> DSIDList = new List<string>();
     foreach (DSID_PerDistrict dataItem in DistrictDSIDs[DBUtils.GetDistrictId(_selectedRegionMapId)])
         DSIDList.Add(dataItem.DSID+"");
     accounts.Add(new AccountGridObj() { CustomerName = DBUtils.GetGroupRegionName(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), DisCustomerCodes = DSIDList });        
     AccountMatOut theAccountMatOut = new AccountMatOut((SanofiProductBrands)_selected_Product, _selected_RegionType, DBUtils.GetGroupRegionMapId(_selectedRegionMapId, (SanofiProductBrands)_selected_Product), _selected_EndMonth, _selected_EndYear,accounts);
     theAccountMatOut.Show();
 }