/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void HookKeyboard_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { var clipboardWindow = new ClipboardWindow { DataContext = new ClipboardWindowViewModel(_clipboardEntities) }; clipboardWindow.Show(); }
static WindowManager() { NotepadWindows = new List <NotepadWindow>(); WindowPreviews = new WindowManagerView(); PropertiesView = new FilePropertiesWindow(); ClipboardWin = new ClipboardWindow(); Preferences = new PreferencesWindow(); Help = new HelpWindow(); }