private void Back_Click(object sender, EventArgs e)
        {
            this.Close();
            Patient_Page p1 = new Patient_Page();

            p1.Show();
        }
        private void SignIN_Click(object sender, EventArgs e)
        {
            string ID       = User_ID.Text;
            string Password = Pass.Text;


            string q = "Select * from Patient where P_ID='" + ID + "' and Password='******' ";

            objDBAccess.readDatathroughAdapter(q, dtUsers);

            //if (ID.Equals(" "))
            //{
            //    MessageBox.Show("Enter ID");
            //}

            if (dtUsers.Rows.Count == 1)
            {
                objDBAccess.closeConn();

                this.Hide();
                Patient_Page p1 = new Patient_Page();
                p1.Show();
            }
            else
            {
                MessageBox.Show("Invalid Craiteria");
            }



            //this.Hide();
            //Patient_Page p1 = new Patient_Page();
            //p1.Show();

            //this.Hide();
            //Doctor D1 = new Doctor();
            //D1.Show();

            //this.Hide();
            //Receptionist R1 = new Receptionist();
            //R1.Show();
        }