Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
            }
        }