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); }); }
private void Grid_Drop(object sender, DragEventArgs e) { SharedFunctionality.HandleDropAdd(this, e, fileInfo => DocumentManager.AddDocument(fileInfo.Name, fileInfo.FullName)); }
private void OpenManual_CommandBinding_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e) { SharedFunctionality.OpenManualWithInstalledViewer(this); }
private void OpenPreferences_CommandBinding_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e) { SharedFunctionality.DisplayPreferencesWindow(this); }
private void MenuItem_Click(object sender, RoutedEventArgs e) { SharedFunctionality.LaunchLASIWebsite(this); }