Look at the scenario below I am at the stage where I have my forms but I do not know how I can display my appliances in the customer dashboard under a data view grid can you please help me:

Scenario
 You are contracted to develop a home appliance rental application for a local startup company. The renting business company provides affordable rental services for people looking to hire home electrical appliances from small to large for a minimum period of time starting from ONE (1) month. Examples of types of appliances are TV, fridge, freezer, washing machine, dryer, dishwasher, microwave, etc.

The application should have TWO (2) types of users which are administrator and customer. An administrator can view, add, edit, and delete an item. A customer can create an account with a username and password. The usernames can only contain letters and numbers. The password must be of length between EIGHT (8) and SIXTEEN (16) characters, and contain at least ONE (1) lowercase and ONE (1) uppercase letter. A customer can search, view, and order an item after they successfully log in the application.

Your program should include the following requirements. Functional Requirements:
 ● Customers can register.
 ● Customers can search appliances by type and view sorted appliances by energy consumption (see the table below for some common appliances, or research for your chosen appliances) or weekly cost. They can also add appliance items to a shopping cart. 
● Calculation of the total price.
 ● Administrators can add, edit and delete appliance items. 
● Log in page for customers and administrators. Appropriately handle the situation when a reasonable number of failed login attempts occur.

TABLE: 
Appliance	Power Usage	Typical Usage	Estimated annual running costs
LCD TV	0.21kWh per hour	6 hours a day (power on)	£130
Fridge Freezer (A spec)	408kWh per year	24 hours a day	£115
Tumble Dryer	2.50kWh per cycle	148 uses a year	£105
Electric hob	0.71kWh per use	424 uses a year	£85
Electric oven	1.56kWh per use	135 uses per year	£60
Dishwasher	1.44kWh per use (at 65⁰C)	135 uses per year	£55
Kettle	0.11kWh per use based on heating 1 litre of water		1,542 uses per year	£48



Non-functional Requirements:
● Provide FIVE (5) types of appliances of your choice. 
● Each type has TEN (10) appliances. 
● Each appliance is rented for a monthly fee. 
● Each appliance should have an appropriate description, such as brand, model, dimensions, colour, energy consumption, monthly fee etc. 
● All FIVE (5) types of appliances should have different minimum rental contract periods starting from ONE (1) month.
 ● The application users are customers and administrators. 
● Provide appropriate errors and help messages, and guidance for customer

TASK
a) You need to write code (written in C#) which fulfils all the requirements as outlined above. 
b) The quality of your program will be assessed in terms of program structure, OOP principles in-cluding encapsulation, algorithms using appropriate control structures (loops and selections), and readability including appropriate comments



-----------------------------------------------------------------------------------------------------------------------------------
Form1.cs(login page):
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.Remoting.Lifetime;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ApplianceRental
{
    public partial class Form1 : Form
    {
        public Database database; // Change this from private to public

        public Form1()
        {
            InitializeComponent();

            database = new Database();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            database = new Database();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            // Validate username and password 
            string username = textBox1.Text;
            string password = textBox2.Text;

            // Check user type (Administrator or Customer) and redirect ac-cordingly
            if (IsValidAdmin(username, password))
            {
                // Open the Admin Dashboard form
                AdminDashboardForm adminDashboardForm = new AdminDashboard-Form();
                adminDashboardForm.Show();
                this.Hide();
            }
            else if (IsValidCustomer(username, password))
            {
                var customer = database.Customers.FirstOrDefault(c => c.Username == username);
                MessageBox.Show("Welcome " + customer.FullName);
                // Open the Customer Dashboard form
                CustomerDashboardForm customerDashboardForm = new Cus-tomerDashboardForm();
                customerDashboardForm.Show();
                this.Hide();
            }
            else
            {
                // Show error message for invalid username or password.
                MessageBox.Show("Invalid username or password! Please try again.");
            }
        }

        private bool IsValidAdmin(string username, string password)
        {
            return database.IsValidCustomer(username, password); // Update this to check for valid admin credentials
        }

        public bool IsValidCustomer(string username, string password)
        {
            return database.IsValidCustomer(username, password);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            // Pass the database and Form1 instance to the registration form
            var registrationForm = new RegistrationForm(database, this);
            registrationForm.Show();
            Hide();
        }
    }
}


RegistrationForm.cs:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ApplianceRental
{
    public partial class RegistrationForm : Form
    {
        private Database database;
        private Form1 loginForm; // Add this line

        public RegistrationForm(Database database, Form1 loginForm) // Add Form1 loginForm as a parameter
        {
            InitializeComponent();
            this.button1.Click += new Sys-tem.EventHandler(this.button1_Click);

            this.database = database;
            this.loginForm = loginForm; // Set loginForm
        }

        private void button1_Click(object sender, EventArgs e)
        {
            // Validate input fields
            if (string.IsNullOrEmpty(textBox1.Text))
            {
                MessageBox.Show("Please enter a username.");
                return;
            }

            if (string.IsNullOrEmpty(textBox2.Text))
            {
                MessageBox.Show("Please enter a password.");
                return;
            }

            if (textBox2.Text != textBox3.Text)
            {
                MessageBox.Show("Passwords do not match.");
                return;
            }

            if (string.IsNullOrEmpty(textBox4.Text))
            {
                MessageBox.Show("Please enter your full name.");
                return;
            }

            if (string.IsNullOrEmpty(textBox5.Text))
            {
                MessageBox.Show("Please enter your email address.");
                return;
            }

            if (string.IsNullOrEmpty(textBox6.Text))
            {
                MessageBox.Show("Please enter your address.");
                return;
            }

            Customer newCustomer = new Customer
            {
                Username = textBox1.Text,
                Password = textBox2.Text,
                FullName = textBox4.Text,
                Email = textBox5.Text,
                Address = textBox6.Text
            };

            // Save the customer data to the existing main database
            if (!database.AddCustomer(newCustomer))
            {
                MessageBox.Show("Could not add customer.Please try again.");
                return;
                }

            // After successful registration, close the RegistrationForm and show the login form
            this.Hide();
                if (loginForm != null)
                    loginForm.Show();
                this.Close();
            }

            private void RegistrationForm_Click(object sender, EventArgs e)
            {

            }
        }
    }


Database.cs:
using System.Collections.Generic;
using System.Linq;

public class Database
{
    public List<Customer> Customers { get; set; }
    public List<Appliance> Appliances { get; set; }

    public Database()
    {
        Customers = new List<Customer>();
        Appliances = new List<Appliance>();
        InitializeAppliances();
    }

    private void InitializeAppliances()
    {
        // Add sample appliance items to the Appliances list
        Appliances.Add(new Appliance(1, "LCD TV", "LG 55 inch LCD TV", 0.21, 25, 1, "LG", "55LM8600", "47.8 x 30.7 x 11.4 inches", "Black"));
        // Add more appliance items here
    }

    public bool AddAppliance(Appliance appliance)
    {
        // Add appliance to the Appliances list
        Appliances.Add(appliance);
        return true;
    }

    public bool EditAppliance(Appliance appliance)
    {
        // Edit appliance in the Appliances list
        var existingAppliance = Appliances.FirstOrDefault(a => a.Id == ap-pliance.Id);

        if (existingAppliance == null)
            return false;

        existingAppliance.Name = appliance.Name;
        existingAppliance.Description = appliance.Description;
        existingAppliance.EnergyConsumption = appliance.EnergyConsumption;
        existingAppliance.MonthlyFee = appliance.MonthlyFee;
        existingAppliance.MinRentalPeriod = appliance.MinRentalPeriod;
        existingAppliance.Brand = appliance.Brand;
        existingAppliance.Model = appliance.Model;
        existingAppliance.Dimensions = appliance.Dimensions;
        existingAppliance.Color = appliance.Color;
        return true;
    }

    public bool RemoveAppliance(Appliance appliance)
    {
        // Remove appliance from the Appliances list
        Appliances.Remove(appliance);
        return true;
    }

    public bool AddCustomer(Customer customer)
    {
        // Add customer to the Customers list
        Customers.Add(customer);
        return true;
    }

    public bool IsValidCustomer(string username, string password)
    {
        // Check if the provided username and password match the customer credentials in the Customers list
        return Customers.Any(c => c.Username == username && c.Password == password);
    }
}











CustomerDashbaordForm.cs:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ApplianceRental
{
    public partial class CustomerDashboardForm : Form
    {
        public CustomerDashboardForm()
        {
            InitializeComponent();
        }

        private void CustomerDashboardForm_Load(object sender, EventArgs e)
        {

        }

        private void dataGridView1_CellContentClick(object sender, Data-GridViewCellEventArgs e)
        {

        }

        private void comboBox1_SelectedIndexChanged(object sender, Even-tArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}





















Appliance.cs:
public class Appliance
{
    public int Id { get; set; }
    public string Name { get; set; }
    public string Description { get; set; }
    public double EnergyConsumption { get; set; }
    public double MonthlyFee { get; set; }
    public int MinRentalPeriod { get; set; }
    public string Brand { get; set; }
    public string Model { get; set; }
    public string Dimensions { get; set; }
    public string Color { get; set; }

    public Appliance()
    {
    }

    public Appliance(int id, string name, string description, double ener-gyConsumption,
        double monthlyFee, int minRentalPeriod, string brand, string model,
        string dimensions, string color)
    {
        Id = id;
        Name = name;
        Description = description;
        EnergyConsumption = energyConsumption;
        MonthlyFee = monthlyFee;
        MinRentalPeriod = minRentalPeriod;
        Brand = brand;
        Model = model;
        Dimensions = dimensions;
        Color = color;
    }

    // You can add any necessary methods for your application
}

Customer.cs:
using System.Collections.Generic;

public class Customer
{
    public int Id { get; set; }
    public string Username { get; set; }
    public string Password { get; set; }
    public string FullName { get; set; }
    public string Email { get; set; }
    public string Address { get; set; }
    public List<Appliance> RentedAppliances { get; set; }

    public Customer()
    {
        RentedAppliances = new List<Appliance>();
    }

    public void AddRentedAppliance(Appliance appliance)
    {
        RentedAppliances.Add(appliance);
    }

    public void RemoveRentedAppliance(Appliance appliance)
    {
        RentedAppliances.Remove(appliance);
    }

    public double CalculateTotalRentalCost()
    {
        double totalCost = 0;

        foreach (var appliance in RentedAppliances)
        {
            totalCost += appliance.MonthlyFee;
        }

        return totalCost;
    }
}