private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            WelcomeHOD vc = new WelcomeHOD();

            vc.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            SqlConnection  con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Bhagya Udayanandani\Documents\Data.mdf;Integrated Security=True;Connect Timeout=30");
            SqlDataAdapter sda = new SqlDataAdapter("Select count(*) from Hlogin where Username='******'and Password='******'", con);
            DataTable      dt  = new DataTable();

            sda.Fill(dt);
            if (dt.Rows[0][0].ToString() == "1")
            {
                this.Hide();
                WelcomeHOD a = new WelcomeHOD();
                a.Show();
            }
            else
            {
                MessageBox.Show("Please check your password and username");
            }
        }