public void Explore(IWin32Window owner) { if (this.directoryInfo != null) { WindowsUtility.ShellExecute(owner, this.directoryInfo.FullName); } }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { using (new WaitCursor()) { WindowsUtility.ShellExecute(this, e.Uri.ToString()); } }
private void MoreInfo_Click(object sender, RoutedEventArgs e) { if (this.weather != null && this.weather.MoreInfoLink != null) { WindowsUtility.ShellExecute(this, this.weather.MoreInfoLink.ToString()); } }
private void ViewLog_RequestNavigate(object sender, RequestNavigateEventArgs e) { using (new WaitCursor()) { Uri uri = GetRunningAheadUri(LogsBasePath, this.LogId); WindowsUtility.ShellExecute(this, uri.ToString()); } }
public void View() { if (this.CanView) { TreeNode node = this.SelectedNode; string fullName = this.GetFullNameForNode(node); WindowsUtility.ShellExecute(this, fullName); } }
private void HelpExecuted(object sender, ExecutedRoutedEventArgs e) { WindowsUtility.ShellExecute(this, "http://www.wirepeep.com"); }