private void resTitleAd_Click(object sender, RoutedEventArgs e)
 {
     if (TitleAdLbox.SelectedIndex < 0)
     {
         vm_SlipList.ErrorMessage = "请选择要下发的冠名广告!";
         return;
     }
     FunPage.SyatemManage.IssuedSchoolSelectWindow issue = new SyatemManage.IssuedSchoolSelectWindow(AMS.Model.Enum.CommandType.RollTitles, (TitleAdLbox.SelectedItem as AMS.Model.AMS_RollTitles).ID);
     issue.ShowDialog();
 }
Ejemplo n.º 2
0
 private void resslip_Click(object sender, RoutedEventArgs e)
 {
     if (LBList.SelectedIndex < 0)
     {
         vm_SlipList.ErrorMessage = "请选择需要下发的优惠券!";
         return;
     }
     FunPage.SyatemManage.IssuedSchoolSelectWindow issw = new SyatemManage.IssuedSchoolSelectWindow(AMS.Model.Enum.CommandType.SlipCustomer, (LBList.SelectedItem as AMS.Model.AMS_SlipCustomer).Id);
     issw.ShowDialog();
 }
 private void resslip_Click(object sender, RoutedEventArgs e)
 {
     if (LBList.SelectedIndex < 0 || !(LBList.SelectedItem is AMS.ViewModel.ViewModelPlayListShow))
     {
         vm_Playlist.ErrorMessage = "请选择需要下发的播放列表!";
         return;
     }
     FunPage.SyatemManage.IssuedSchoolSelectWindow issw = new SyatemManage.IssuedSchoolSelectWindow(AMS.Model.Enum.CommandType.Playlist, (LBList.SelectedItem as AMS.ViewModel.ViewModelPlayListShow).ModelList.Id);
     issw.ShowDialog();
 }
 /// <summary>
 /// 下发硬广
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void resHardAd_Click(object sender, RoutedEventArgs e)
 {
     if (HardAdLbox.SelectedIndex < 0)
     {
         vm_AdHardList.ErrorMessage = "请选择需要下发的硬广";
         return;
     }
     FunPage.SyatemManage.IssuedSchoolSelectWindow issue = new SyatemManage.IssuedSchoolSelectWindow(AMS.Model.Enum.CommandType.HardAd, (HardAdLbox.SelectedItem as AMS.Model.AMS_HardAd).ID);
     issue.ShowDialog();
 }