コード例 #1
0
 public async Task Process(OpenUrl args)
 {
     try
     {
         System.Diagnostics.Process.Start(args.Url);
     }
     catch (Exception ex)
     {
         Trace.TraceError("Error opening URL {0} : {1}", args.Url, ex);
     }
 }
コード例 #2
0
 public async Task Process(OpenUrl args)
 {
     try
     {
         LastUserAction = DateTime.Now;
         MinimizeChobby();
         System.Diagnostics.Process.Start(args.Url);
     }
     catch (Exception ex)
     {
         Trace.TraceError("Error opening URL {0} : {1}", args.Url, ex);
     }
 }