Exemplo n.º 1
0
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if (checkBox1.Checked==true)
            {
                Main MainForm = new Main();
                MainForm.showUpgradeButton();

                MessageBox.Show("Test");
            }
            else
            {
                MessageBox.Show("Fail");
            }
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox2.Text == ("password"))
            {
                MessageBox.Show("You're Now Logged In As " + "\n" + "\n" + " User: DEMO " + "\n" + " Password: password ");
                textBox2.Text = ("");
                Main theMainForm = new Main();
                theMainForm.Show();
                this.Hide();

            }
            else
            {
                MessageBox.Show("Password Could be Wrong or Null!");
                textBox2.Text = ("");
            }
        }