public void AutoFetchConfigBtn_Click(object sender, RoutedEventArgs e)
        {
            FetchConfigWindow fetchConfigWindow = new FetchConfigWindow(AutoFetchConfig_);

            fetchConfigWindow.ShowDialog();
            if (fetchConfigWindow.DialogResult == true)
            {
                AutoFetchConfig_ = fetchConfigWindow.fetchConfigVM.AutoFetchConfig;
                // change the fetcher timer interval
                UpdateFetcherInterval();
                dc.AddItemsToConsole("Auto Fetch config changes saved...");
            }
        }
 public FetchConfigVM()
 {
     this.autoFetchConfig = new AutoFetchConfig();
 }
 public FetchConfigVM(AutoFetchConfig AutoFetchConfig_)
 {
     autoFetchConfig = new AutoFetchConfig(AutoFetchConfig_);
 }
 public void SetAutoFetchConfig(AutoFetchConfig autoFetchConfig)
 {
     fetchConfigVM.AutoFetchConfig = autoFetchConfig;
 }
 public FetchConfigWindow(AutoFetchConfig AutoFetchConfig_)
 {
     InitializeComponent();
     fetchConfigVM = new FetchConfigVM(AutoFetchConfig_);
     AutoFetchConfigForm.DataContext = fetchConfigVM;
 }