Пример #1
0
        private void btn_moreInfo_Click(object sender, EventArgs e)
        {
            int            index          = Convert.ToInt32(listBox.SelectedItem.ToString().Split(' ')[0]);
            FormTestResult testResultForm = new FormTestResult(User.UserTests[index], User);

            testResultForm.ShowDialog();
        }
Пример #2
0
        void ShowResult()
        {
            if (IsMistakesCorrection)
            {
                this.Close();
                return;
            }
            this.FullHideForm();
            Test.FinishTest();

            FormTestResult trf = new FormTestResult(Test, CurrentUser);

            trf.ShowDialog();
        }