private void UserControl_Loaded(object sender, RoutedEventArgs e) { try { if (ApplicationDeployment.IsNetworkDeployed) { Version ProductVersion = ApplicationDeployment.CurrentDeployment.CurrentVersion; textBoxPublishVersion.Text = ProductVersion.ToString(); } myNotifierLync = new NotifierLync(); } catch (Exception) { buttonContactSupport.IsEnabled = false; } }
private void FormJiraIssueFinder_Load(object sender, EventArgs e) { try { this.Text += " [" + Assembly.GetExecutingAssembly().GetName().Version + "]"; if (Properties.Settings.Default.JiraSelected) { this.radioButtonJira.Checked = true; } else { this.radioButtonLcs.Checked = true; } myNotifierLync = new NotifierLync(); } catch (Exception) { buttonContactSupport.Enabled = false; } }