private void BunifuCustomLabel2_Click(object sender, EventArgs e)
        {
            ForgotPassword forgot = new ForgotPassword();

            SIgnup sIgnup = new SIgnup();

            sIgnup.Hide();
            this.Hide();
            forgot.ShowDialog();
        }
        private void MaterialFlatButton1_Click(object sender, EventArgs e)
        {
            connection.Open();
            OleDbCommand command = new OleDbCommand("select * from Login where [UserName]='" + Username.Text + "' and [Password]='" + Password.Text + "'", connection);

            OleDbDataReader reader = command.ExecuteReader();

            if (Username.Text == string.Empty || Password.Text == string.Empty)
            {
                checkConnection.Text    = "Please fill all available fields";
                checkConnection.Visible = Visible;
                connection.Close();
            }
            else
            {
                int count = 0;
                while (reader.Read())
                {
                    count = count + 1;
                }
                if (count == 1)
                {
                    checkConnection.Text    = "Login Successful";
                    checkConnection.Visible = Visible;
                    connection.Close();
                    connection.Dispose();
                    signup.Hide();
                    this.Hide();
                    Dashboard home = new Dashboard(Username.Text);
                    home.ShowDialog();
                }
                else if (count > 1)
                {
                    checkConnection.Text    = "Please enter another username";
                    checkConnection.Visible = Visible;
                    connection.Close();
                }
                else
                {
                    checkConnection.Text    = "Username or password is incorrect";
                    checkConnection.Visible = Visible;
                    connection.Close();
                }

                connection.Close();
            }
        }