예제 #1
0
        private void button_Back_Click(object sender, EventArgs e)
        {
            OptionPage n = new OptionPage();

            n.ShowDialog();
            this.Dispose();
        }
예제 #2
0
        private void button_Back_Click(object sender, EventArgs e)
        {
            OptionPage op = new OptionPage();

            op.ShowDialog();
            this.Hide();
        }
예제 #3
0
        void login()
        {
            String user     = textBoxUserName.Text;
            String Password = textBox_LoginPassword.Text;

            if (user.Equals("Swapan") && (Password.Equals("1234")))

            {
                MessageBox.Show("Successfully Loged In..");
                this.Hide();
                OptionPage f = new OptionPage();
                f.ShowDialog();
            }
            else
            {
                MessageBox.Show("Wrong Username and Password");
            }
        }