SetRecInfoDef() public method

public SetRecInfoDef ( EpgTimer.RecSettingData set ) : void
set EpgTimer.RecSettingData
return void
示例#1
0
 private void listView_key_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     try
     {
         if (listView_key.SelectedItem != null)
         {
             EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
             SearchWindow    dlg  = new SearchWindow();
             dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
             dlg.SetViewMode(2);
             dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
             dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
             dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
             if (info.EpgAutoAddInfo.DisableSw == 0)
             {
                 dlg.checkBox_Disable.IsChecked = false;
             }
             else
             {
                 dlg.checkBox_Disable.IsChecked = true;
             }
             dlg.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
     }
 }
示例#2
0
 private void button_change_Click(object sender, RoutedEventArgs e)
 {
     if (listView_key.SelectedItem != null)
     {
         EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
         SearchWindow dlg = new SearchWindow();
         dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
         dlg.SetViewMode(2);
         dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
         dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
         dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
         dlg.ShowDialog();
     }
 }
 private void listView_key_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (listView_key.SelectedItem != null)
     {
         EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
         SearchWindow    dlg  = new SearchWindow();
         dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
         dlg.SetViewMode(2);
         dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
         dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
         dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
         dlg.ShowDialog();
     }
 }
 private void button_change_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (listView_key.SelectedItem != null)
         {
             EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
             SearchWindow    dlg  = new SearchWindow();
             dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
             dlg.SetViewMode(2);
             dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
             dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
             dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
             dlg.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
     }
 }
示例#5
0
 void showDialog()
 {
     if (listView_key.SelectedItem == null)
     {
         return;
     }
     //
     try
     {
         EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
         SearchWindow    dlg  = new SearchWindow();
         dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
         dlg.SetViewMode(2);
         dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
         dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
         dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
         dlg.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
     }
 }
示例#6
0
 void showDialog()
 {
     if (listView_key.SelectedItem == null) { return; }
     //
     try
     {
         EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
         SearchWindow dlg = new SearchWindow();
         dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
         dlg.SetViewMode(2);
         dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
         dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
         dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
         dlg.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
     }
 }
示例#7
0
 private void listView_key_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     try
     {
         if (listView_key.SelectedItem != null)
         {
             EpgAutoDataItem info = listView_key.SelectedItem as EpgAutoDataItem;
             SearchWindow dlg = new SearchWindow();
             dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
             dlg.SetViewMode(2);
             dlg.SetChgAutoAddID(info.EpgAutoAddInfo.dataID);
             dlg.SetSearchDefKey(info.EpgAutoAddInfo.searchInfo);
             dlg.SetRecInfoDef(info.EpgAutoAddInfo.recSetting);
             dlg.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
     }
 }