Exemple #1
0
 private void BtnDelFileMasks_Click(object sender, RoutedEventArgs e)
 {
     if (cbFileMask.SelectedItem is FileMaskItem fileMaskItem)
     {
         FileMask.DelFromRegistry((fileMaskItem).Key);
         FileMask.FillCB(cbFileMask);
     }
 }
Exemple #2
0
 internal void Init()
 {
     last_shortDir.IsChecked = true;
     FileMask.FillCB(cbFileMask);
     cbFileMask.SelectedIndex = 0;
     dictTBPreview.Add(lastSearchSettings, last_TBPreview);
     saveDict[btnSave] = last_tvResultTree;
 }
Exemple #3
0
 private void BtnAddFileMasks_Click(object sender, RoutedEventArgs e)
 {
     FileMask.AddToRegistry(cbFileMask.Text);
     FileMask.FillCB(cbFileMask);
     cbFileMask.SelectedIndex = cbFileMask.Items.Count;
 }