DeploymentTracker.App.Windows.PackageDeployment.LnkDownload_LinkClicked C# (CSharp) Method

LnkDownload_LinkClicked() private method

Handles the LinkClicked event of the lnkDownload control.
private LnkDownload_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
sender object The source of the event.
e LinkLabelLinkClickedEventArgs The instance containing the event data.
return void
        private void LnkDownload_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                using (SubscriptionDownloadPage subPage = new SubscriptionDownloadPage())
                {
                    subPage.StartPosition = FormStartPosition.CenterParent;
                    subPage.ShowDialog(this);
                }
            }
            catch (UriFormatException formatEx)
            {
                formatEx.ShowUIException();
            }
            catch (Exception ex)
            {
                ex.ShowGenericException();
            }
        }