private void OnFileTabChanged(object sender, IseEventArgs args) { Application.Current.Dispatcher.Invoke(() => { this.WorkspaceDirectoryModel.ResetWorkspaceDirectoryIfRequired(); }); this.ActiveDocumentPotentiallyChanged(); }
private void OnActiveDocumentSyncEvent(object sender, IseEventArgs args) { Application.Current.Dispatcher.Invoke(() => { if (this.MainViewModel.SyncWithActiveDocument) { this.LocateFileInTree(); } }); }
private void OnActiveDocumentSyncEvent(object sender, IseEventArgs args) { Application.Current.Dispatcher.Invoke(() => { if (MainViewModel.SyncWithActiveDocument) { LocateFileInTree(); } }); }
private void ResetWorkspaceOnFileTabChanged(object sender, IseEventArgs args) { this.commandExecutor.ExecuteWithParam <ResetWorkspaceDirectoryCommand, bool>(false); this.commandExecutor.ExecuteWithParam <SyncWithActiveDocumentCommand, bool>(true); }
private void ResetWorkspaceOnFileTabChanged(object sender, IseEventArgs args) { this.commandExecutor.ExecuteWithParam<ResetWorkspaceDirectoryCommand, bool>(false); this.commandExecutor.ExecuteWithParam<SyncWithActiveDocumentCommand, bool>(true); }