private void button12_Click(object sender, EventArgs e) { //MessageBox.Show(this, Properties.Settings.Default.passkey); if (txtPassword.Text == Properties.Settings.Default.passkey) { frmConfig frm = new frmConfig(frmUtama); frm.Show(); frmUtama.Hide(); this.Close(); } else { MessageBox.Show(this, "PIN Salah!", "", MessageBoxButtons.OK, MessageBoxIcon.Error); txtPassword.Text = ""; } }