Exemple #1
0
 public AdbFailedWindow(string message)
 {
     InitializeComponent();
     tbOutput.Text = message;
     this.Loaded  += (s, e) =>
     {
         HelpButtonHelper.EnableHelpButton(this, () =>
         {
             try
             {
                 Process.Start(App.Current.Resources["UrlGoPrefix"].ToString() + App.Current.Resources["AGoAdbFail"].ToString());
             }
             catch { }
         });
     };
 }
 public void EnableHelpButton(Window window, Action onClickHandler)
 {
     HelpButtonHelper.EnableHelpButton(window, onClickHandler);
 }