/// <summary>
        /// 获取截图
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GetDeviceImage_Click(object sender, RoutedEventArgs e)
        {
            IssueCommand ic = new IssueCommand();

            ic.Command = AdvertManage.Model.Enum.CommandType.Caputre;
            ic.ShowDialog();
        }
예제 #2
0
        /// <summary>
        /// 下发播放列表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnRelease_Click(object sender, RoutedEventArgs e)
        {
            PlaylistInfoViewModel Releaseplaylist = playlistdataGrid.Items[playlistdataGrid.SelectedIndex] as PlaylistInfoViewModel;
            IssueCommand          ic = new IssueCommand();

            ic.Command   = AdvertManage.Model.Enum.CommandType.Playlist;
            ic.CommandId = int.Parse(Releaseplaylist.Id);
            ic.ShowDialog();
        }
예제 #3
0
        /// <summary>
        /// 下发播放列表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnRelease_Click(object sender, RoutedEventArgs e)
        {
            PrintTemplateViewModel Releasetemplate = TemplateGrid.Items[TemplateGrid.SelectedIndex] as PrintTemplateViewModel;
            IssueCommand           ic = new IssueCommand();

            ic.Command   = AdvertManage.Model.Enum.CommandType.PrintTemplate;
            ic.CommandId = Releasetemplate.Id;
            ic.ShowDialog();
        }
 /// <summary>
 /// 下发
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnRelease_Click(object sender, RoutedEventArgs e)
 {
     if (hardaddataGrid.SelectedIndex > -1)
     {
         HardAdViewModel vm = hardaddataGrid.Items[hardaddataGrid.SelectedIndex] as HardAdViewModel;
         IssueCommand    ic = new IssueCommand();
         ic.Command   = AdvertManage.Model.Enum.CommandType.HardAd;
         ic.CommandId = vm.ID;
         ic.ShowDialog();
     }
 }
예제 #5
0
 /// <summary>
 /// 下发
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnRelease_Click(object sender, RoutedEventArgs e)
 {
     if (titleAddataGrid.SelectedIndex > -1)
     {
         TitleAdViewModel TitleVM = titleAddataGrid.Items[titleAddataGrid.SelectedIndex] as TitleAdViewModel;
         IssueCommand     ic      = new IssueCommand();
         ic.Command   = AdvertManage.Model.Enum.CommandType.TitleAd;
         ic.CommandId = TitleVM.Id;
         ic.ShowDialog();
     }
 }