Пример #1
0
        // Log dialogues

        private void LblIssues_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                if (IssueLogForm == null)
                {
                    IssueLogForm = new IssueLog(this);
                }

                IssueLogForm.ShowDialog();
            }
            catch
            {
                IssueLogForm = new IssueLog(this);
                IssueLogForm.ShowDialog();
            }
        }
        // Log dialogues

        private void LblIssues_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                if (IssueLogForm == null)
                {
                    IssueLogForm = new IssueLog(this);
                }

                var result = IssueLogForm.ShowDialog();
                if (result == DialogResult.Yes)
                {
                    Restart();
                }
            }
            catch
            {
                IssueLogForm = new IssueLog(this);
                IssueLogForm.ShowDialog();
            }
        }