Exemple #1
0
 private void TextBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return)
     {
         AllProImagesPaneViewModel vm = this.DataContext as AllProImagesPaneViewModel;
         vm.InvokeSearchCommand();
     }
 }
 protected override void OnClick()
 {
     AllProImagesPaneViewModel.Create();
 }