示例#1
0
 public DeleteFileDialog()
 {
     this.InitializeComponent();
     this.KeyUp += DeleteFileDialog_KeyUp;
     FocusKey.Focus();
     this.Unloaded += DeleteFileDialog_Unloaded;
 }
 public RenameFileDialog()
 {
     this.InitializeComponent();
     this.KeyUp += RenameFileDialog_KeyUp;
     FocusKey.Focus(FocusState.Keyboard);
     this.DataContext = this;
     this.Unloaded   += RenameFileDialog_Unloaded;
 }
示例#3
0
 public ReplaceFilesDialog()
 {
     this.InitializeComponent();
     this.KeyUp += ReplaceFilesDialog_KeyUp;
     FocusKey.Focus(Windows.UI.Xaml.FocusState.Keyboard);
     this.DataContext = this;
     this.Unloaded   += ReplaceFilesDialog_Unloaded;
 }
 public DeleteFileDialog()
 {
     this.InitializeComponent();
     this.KeyUp += DeleteFileDialog_KeyUp;
     if (FocusKey != null)
     {
         FocusKey.Focus(FocusState.Keyboard);
     }
     this.Unloaded += DeleteFileDialog_Unloaded;
 }