コード例 #1
0
ファイル: The Proof.cs プロジェクト: scriptslay3r/Fuel-Logger
        private void btnProof_Click(object sender, EventArgs e)
        {
            string       message = "YOU DID THIS TO YOUR SELF!!! I TOLD YOU NOT TO CLICK!!";
            string       caption = "NICE TRY... HACKER";
            int          counter = 10;
            frmViewUsers m       = new frmViewUsers();

            if (txtProof.Text == "PuddingPass")
            {
                m.Show();
                this.Close();
            }
            else
            {
                while (counter > 0)
                {
                    MessageBox.Show(message, caption, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                    counter = counter - 1;
                }
            }
        }
コード例 #2
0
        private void viewUsersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmViewUsers m = new frmViewUsers();

            m.Show();
        }