示例#1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            this.Width               = SystemInformation.VirtualScreen.Width;
            this.Height              = SystemInformation.VirtualScreen.Height;
            tableLayoutPanel1.Width  = this.Width - 100;
            tableLayoutPanel1.Height = this.Height - 100;
            index = 0;
            // MessageBox.Show(taskList.GetTask(0).GetAnswers()[0]);
            // MessageBox.Show(taskList.GetTask(1).GetAnswers()[0]);
            Refresh();
            Enabled = false;
            AuthorisationForm subForm = new AuthorisationForm(this);

            subForm.Show();
        }
示例#2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.Width = SystemInformation.VirtualScreen.Width;
     this.Height = SystemInformation.VirtualScreen.Height;
     tableLayoutPanel1.Width = this.Width - 100;
     tableLayoutPanel1.Height = this.Height - 100;
     index = 0;
     // MessageBox.Show(taskList.GetTask(0).GetAnswers()[0]);
     // MessageBox.Show(taskList.GetTask(1).GetAnswers()[0]);
     Refresh();
     Enabled = false;
     AuthorisationForm subForm = new AuthorisationForm(this);
     subForm.Show();
 }