Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            DashBoard dBoard = new DashBoard();

            this.Close();
            dBoard.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            bool i = ml.fd(this.userid, this.password);

            if (i == true)
            {
                DashBoard d = new DashBoard();

                d.Show();
                //MessageBox.Show(Convert.ToString(i));
                this.Hide();
            }
            else
            {
                MessageBox.Show("Invalid ID Or Password");
            }

            /* LogIn login = new LogIn();
             *
             *   DashBoard ds = new DashBoard();
             *   ds.Show();
             *   this.Hide();*/
        }