What is the problem of this codes below? My codes give me some error. I want to used a object-oriented program on our project but its not working fine. Can somebody help me regarding to my problem

```
 class Login
    {
        public string Username { get; set; }
        public string Userpassword { get; set; }

        public Login()
        {
            this.Username = user; //does not exist in the current context
            this.Userpassword = pass; //does not exist in the current context
        }

        private void ClearTexts(string user, string pass)
        {
            user = String.Empty;
            pass = String.Empty;
        }

        public void Login(string user, string pass)
        {
            int count = 0;
            Connection connection = new Connection();
            string sql = "SELECT * FROM tbl_Login";
            MySqlConnection conn = new MySqlConnection(connection.ConnectionString);
            MySqlCommand cmd = new MySqlCommand(sql, conn);
            conn.Open();
            MySqlDataReader dr = cmd.ExecuteReader();

            while (dr.Read())
            {
                count = count + 1;

            }
            if (count == 1)
            {
                MessageBox.Show("Login Successfully!");
                frmLogin.Hide(); //required for the non-static field,method
                frmMain.showMe(this); //best overloaded method match...
            }
            else
            {
                txtPassword.Focus(); /does not exist in the current context
                MessageBox.Show("Username or Password Is Incorrect");
                txtUserName.Text = ""; //does not exist in the current context
                txtPassword.Text = ""; //does not exist in the current context

            }
            connection.Close();
        }
    }

```