SetRecInfoDef() public method

public SetRecInfoDef ( EpgTimer.RecSettingData set ) : void
set EpgTimer.RecSettingData
return void
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 3
0
 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();
     }
 }
Ejemplo n.º 4
0
 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);
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }