예제 #1
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            Height = gallifrey.Settings.UiSettings.Height;
            Width  = gallifrey.Settings.UiSettings.Width;
            Text   = gallifrey.VersionControl.AppName;

            SetVersionNumber();
            RefreshInternalTimerList();
            SetupDisplayFont();
            formTimer.Enabled = true;

            if (gallifrey.JiraTimerCollection.GetRunningTimerId().HasValue)
            {
                SelectTimer(gallifrey.JiraTimerCollection.GetRunningTimerId().Value);
            }

            if (gallifrey.VersionControl.IsAutomatedDeploy && gallifrey.VersionControl.IsFirstRun)
            {
                var changeLog = gallifrey.GetChangeLog(XDocument.Parse(Properties.Resources.ChangeLog));

                if (changeLog.Any())
                {
                    var changeLogWindow = new ChangeLogWindow(gallifrey, changeLog);
                    changeLogWindow.ShowDialog();
                }
            }
        }
예제 #2
0
        private void btnChangeLog_Click(object sender, EventArgs e)
        {
            var changeLog = gallifrey.GetChangeLog(XDocument.Parse(Resources.ChangeLog));

            if (changeLog.Any())
            {
                var changeLogWindow = new ChangeLogWindow(gallifrey, changeLog);
                changeLogWindow.ShowDialog();
            }
        }
예제 #3
0
        private void btnChangeLog_Click(object sender, EventArgs e)
        {
            var changeLog = gallifrey.GetChangeLog(XDocument.Parse(Resources.ChangeLog));

            if (changeLog.Any())
            {
                var changeLogWindow = new ChangeLogWindow(gallifrey, changeLog);
                changeLogWindow.ShowDialog();
            }
        }
예제 #4
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            Height = gallifrey.Settings.UiSettings.Height;
            Width = gallifrey.Settings.UiSettings.Width;
            Text = gallifrey.VersionControl.AppName;

            SetVersionNumber();
            RefreshInternalTimerList();
            SetupDisplayFont();
            formTimer.Enabled = true;

            if (gallifrey.JiraTimerCollection.GetRunningTimerId().HasValue)
            {
                SelectTimer(gallifrey.JiraTimerCollection.GetRunningTimerId().Value);
            }

            if (gallifrey.VersionControl.IsAutomatedDeploy && gallifrey.VersionControl.IsFirstRun)
            {
                var changeLog = gallifrey.GetChangeLog(XDocument.Parse(Properties.Resources.ChangeLog));

                if (changeLog.Any())
                {
                    var changeLogWindow = new ChangeLogWindow(gallifrey, changeLog);
                    changeLogWindow.ShowDialog();
                }
            }            
        }