Загрузка данных


using AutoServiceWinForms.Forms;
using System;
using System.Windows.Forms;

namespace AutoServiceWinForms
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
            this.Text = "Автосервис - Главная панель";
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        private void btnRequests_Click(object sender, EventArgs e)
        {
            using var form = new ServiceRequestsForm();
            form.ShowDialog();
        }

        private void btnClients_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Модуль клиентов находится в разработке.", "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void btnVehicles_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Модуль автомобилей находится в разработке.", "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void выходToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}