示例#1
0
 private async void Grid_Drop(object sender, DragEventArgs e)
 {
     await SharedFunctionality.HandleDropAddAsync(
         this,
         e,
         async fileInfo =>
     {
         DocumentManager.AddDocument(fileInfo.Name, fileInfo.FullName);
         await DisplayAddNewDocumentDialogImplementation(fileInfo.FullName);
     });
 }
示例#2
0
 private void Grid_Drop(object sender, DragEventArgs e)
 {
     SharedFunctionality.HandleDropAdd(this, e, fileInfo => DocumentManager.AddDocument(fileInfo.Name, fileInfo.FullName));
 }
示例#3
0
 private void OpenManual_CommandBinding_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
 {
     SharedFunctionality.OpenManualWithInstalledViewer(this);
 }
示例#4
0
 private void OpenPreferences_CommandBinding_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
 {
     SharedFunctionality.DisplayPreferencesWindow(this);
 }
示例#5
0
 private void MenuItem_Click(object sender, RoutedEventArgs e)
 {
     SharedFunctionality.LaunchLASIWebsite(this);
 }