Exemplo n.º 1
0
 public void Explore(IWin32Window owner)
 {
     if (this.directoryInfo != null)
     {
         WindowsUtility.ShellExecute(owner, this.directoryInfo.FullName);
     }
 }
Exemplo n.º 2
0
 private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e)
 {
     using (new WaitCursor())
     {
         WindowsUtility.ShellExecute(this, e.Uri.ToString());
     }
 }
Exemplo n.º 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());
     }
 }
Exemplo n.º 4
0
 private void ViewLog_RequestNavigate(object sender, RequestNavigateEventArgs e)
 {
     using (new WaitCursor())
     {
         Uri uri = GetRunningAheadUri(LogsBasePath, this.LogId);
         WindowsUtility.ShellExecute(this, uri.ToString());
     }
 }
Exemplo n.º 5
0
 public void View()
 {
     if (this.CanView)
     {
         TreeNode node     = this.SelectedNode;
         string   fullName = this.GetFullNameForNode(node);
         WindowsUtility.ShellExecute(this, fullName);
     }
 }
Exemplo n.º 6
0
 private void HelpExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     WindowsUtility.ShellExecute(this, "http://www.wirepeep.com");
 }