コード例 #1
0
        private void Button3_Click(object sender, EventArgs e)
        {
            Form LW3q = new LW3.LW3title();

            LW3q.Show();
            this.Hide();
        }
コード例 #2
0
ファイル: LW3.cs プロジェクト: vokti/1-sem-c-
        private void Button2_Click(object sender, EventArgs e)
        {
            Form url = new LW3title();

            url.Show();
            this.Hide();
        }
コード例 #3
0
ファイル: PassWin.cs プロジェクト: vokti/1-sem-c-
        private void Timer1_Tick(object sender, EventArgs e)
        {
            MessageBox.Show("Run out of time");
            Form Lw3t = new LW3title();

            Lw3t.Show();
            this.Close();
        }
コード例 #4
0
ファイル: PassWin.cs プロジェクト: vokti/1-sem-c-
 private void Button1_Click(object sender, EventArgs e)
 {
     if ((textBox1.Text == "admin") && (textBox3.Text == "admin"))
     {
         Form LW3a = new LW3();
         Form LW3t = new LW3title();
         LW3t.Close();
         LW3a.Show();
         timer1.Stop();
         this.Close();
     }
     else
     {
         MessageBox.Show("Incorrect password or login");
     }
 }