private void buttonLogin_Click(object sender, EventArgs e) { timerON.Stop(); nullChecker(); if ((textBoxUserName.Text.ToLower().Replace(" ", "") == "admin") && textBoxPassword.Text.ToLower().Replace(" ", "") == "kid13") { this.Hide(); QuestionMaker qm = new QuestionMaker(); qm.ShowDialog(); } if (blankChecker == true) { makeLogin(); if (passwordchecker == true) { this.Hide(); UserInformation.setUserName(textBoxUserName.Text.ToString()); CrazyWorld cw = new CrazyWorld(); cw.ShowDialog(); } } }
private void button2_Click(object sender, EventArgs e) { this.Hide(); QuestionMaker q2 = new QuestionMaker(); q2.ShowDialog(); }
private void buttonLogin_Click(object sender, EventArgs e) { timerON.Stop(); nullChecker(); if ((textBoxUserName.Text.ToLower().Replace(" ","") == "admin") && textBoxPassword.Text.ToLower().Replace(" ","") == "kid13") { this.Hide(); QuestionMaker qm = new QuestionMaker(); qm.ShowDialog(); } if (blankChecker == true) { makeLogin(); if (passwordchecker == true) { this.Hide(); UserInformation.setUserName(textBoxUserName.Text.ToString()); CrazyWorld cw = new CrazyWorld(); cw.ShowDialog(); } } }