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