private void L_lbl_froget_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Froget_Login op3 = new Froget_Login();

            op3.ShowDialog();
        }
        private void btn_login_Click(object sender, EventArgs e)
        {
            un = ""; ut = "";

            if (txtUserName.Text != "" && txtPassword.Text != "")
            {
                if (txtUserName.Text == own_un && txtPassword.Text == own_pw)
                {
                    un = own_un;
                    ut = "Super User";
                    Main home = new Main(un, ut);
                    home.Show();

                    this.Close();
                }
                else
                {
                    SqlDataReader accdr = op2.select(txtUserName.Text, txtPassword.Text);
                    if (accdr.Read())
                    {
                        un = accdr["User_Name"].ToString();
                        ut = accdr["User_Type"].ToString();
                        Main home = new Main(un, ut);
                        home.Show();


                        this.Close();
                    }
                    else
                    {
                        if (MessageBox.Show("The Username or Password you entered is incorrect", "Sharp Creation", MessageBoxButtons.OK, MessageBoxIcon.Error) == DialogResult.OK)
                        {
                            txtPassword.Clear();
                            txtUserName.Clear();
                            check++;
                            txtUserName.Focus();
                            if (check == 3)
                            {
                                if (MessageBox.Show("Did You Forget Your Password", "Sharp Creation", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
                                {
                                    Froget_Login op3 = new Froget_Login();
                                    op3.ShowDialog();
                                }
                            }
                            if (check == 5)
                            {
                                Application.Exit();
                            }
                        }
                    }
                }
            }
            else
            {
                if (txtUserName.Text == "")
                {
                    toolTip1.Show("Enter User Name", txtUserName, 1000);
                }
                if (txtPassword.Text == "")
                {
                    toolTip2.Show("Enter Passward", txtPassword, 1000);
                }
            }
        }