Beispiel #1
0
 private void LabelClick(object sender, System.EventArgs e)
 {
     if (sender == lblOpenPluginsStore)
     {
         OpenPluginsStoreRequested?.Invoke(this, new System.EventArgs());
     }
     else if (sender == lblManageConnections)
     {
         OpenConnectionsManagementRequested?.Invoke(this, new System.EventArgs());
     }
     else if (sender == lblVisitXrmToolBoxPortal)
     {
         Process.Start("https://www.xrmtoolbox.com");
     }
     else if (sender == lblDocsForUsers)
     {
         Process.Start("https://www.xrmtoolbox.com/documentation/for-users/");
     }
     else if (sender == lblDocsForDev)
     {
         Process.Start("https://www.xrmtoolbox.com/documentation/for-developers/");
     }
     else if (sender == lblFollowUsTwitter)
     {
         Process.Start("https://twitter.com/XrmToolBox");
     }
     else if (sender == lblChatGitter)
     {
         Process.Start("https://gitter.im/MscrmTools/XrmToolBox");
     }
     else if (sender == lblDonatePayPal)
     {
         Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=donations&[email protected]&lc=EN&item_name=Donation%20for%20MSCRM%20Tools%20-%20XrmToolBox&currency_code=USD&bn=PP%2dDonationsBF");
     }
 }
Beispiel #2
0
 private void LabelClick(object sender, System.EventArgs e)
 {
     if (sender == lblOpenPluginsStore)
     {
         OpenPluginsStoreRequested?.Invoke(this, new System.EventArgs());
     }
     else if (sender == lblManageConnections)
     {
         OpenConnectionsManagementRequested?.Invoke(this, new System.EventArgs());
     }
     else if (sender == lblVisitXrmToolBoxPortal)
     {
         Process.Start("https://www.xrmtoolbox.com");
     }
     else if (sender == lblDocsForUsers)
     {
         Process.Start("https://www.xrmtoolbox.com/documentation/for-users/");
     }
     else if (sender == lblDocsForDev)
     {
         Process.Start("https://www.xrmtoolbox.com/documentation/for-developers/");
     }
     else if (sender == lblFollowUsTwitter)
     {
         Process.Start("https://twitter.com/XrmToolBox");
     }
     else if (sender == lblChatGitter)
     {
         Process.Start("https://gitter.im/MscrmTools/XrmToolBox");
     }
     else if (sender == lblDonatePayPal)
     {
         var form = new DonationIntroForm();
         form.ShowDialog(this);
     }
 }