New Text Document
New Text Document
New Text Document
using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
namespace YourNamespace
{
public partial class AuthDepartmentForm : Form
{
private ExcelPackage _package;
tabControlSheets.TabPages.Clear();
LoadSheet("CarNeedAuth");
LoadSheet("CarsAuthorized");
}
tabPage.Controls.Add(dataGridView);
tabControlSheets.TabPages.Add(tabPage);
ApplyDataGridViewTheme(dataGridView);
}
namespace YourNamespace
{
partial class AuthDepartmentForm
{
private System.ComponentModel.IContainer components = null;
private TabControl tabControlSheets;
namespace YourNamespace
{
public partial class DateTimePickerForm : Form
{
public DateTime SelectedDateTime { get; private set; }
public DateTimePickerForm()
{
InitializeComponent();
}
namespace YourNamespace
{
partial class DateTimePickerForm
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.DateTimePicker dateTimePicker;
private System.Windows.Forms.Button btnOk;
private System.Windows.Forms.Button btnCancel;
}
}
}
using System;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OfficeOpenXml;
namespace YourNamespace
{
public partial class DeliveryListForm : Form
{
private Timer _timer;
private bool _toggleColor;
private DataTable _stockListTable;
private ExcelPackage _package;
txtRegNo.TextChanged += TxtRegNo_TextChanged;
}
SetComboBoxColumnWidths();
dataGridView.ResumeLayout();
}
ApplyBlueColorForYes(row);
}
if (isDoneConditionMet)
{
SetRowStyle(row, System.Drawing.Color.Green,
System.Drawing.Color.White);
}
else if (isInProgress)
{
SetAlternatingRowStyle(row,
System.Drawing.Color.LightGreen, System.Drawing.Color.Red);
}
else if (isNext)
{
SetAlternatingRowStyle(row, System.Drawing.Color.Orange,
System.Drawing.Color.Black);
}
else
{
SetRowStyle(row, System.Drawing.Color.FromArgb(45, 45, 48),
System.Drawing.Color.White);
}
ApplyBlueColorForYes(row);
}
}
_toggleColor = !_toggleColor;
dataGridView.ResumeLayout();
}
dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
dataGridView.AutoResizeRows(DataGridViewAutoSizeRowsMode.AllCells);
}
if
(string.IsNullOrWhiteSpace(Convert.ToString(deliveryRow.Cells["Type
clean"].Value)))
{
deliveryRow.Cells["Type clean"].Value = "Full valet";
deliveryRow.Cells["Type clean"].Style.ForeColor =
System.Drawing.Color.Red;
}
}
dataGridView.ResumeLayout();
}
deliveryTable.Rows.Add(newRow);
if (string.IsNullOrWhiteSpace(Convert.ToString(newRowInGrid.Cells["Type
clean"].Value)))
{
newRowInGrid.Cells["Type clean"].Value = "Full valet";
newRowInGrid.Cells["Type clean"].Style.ForeColor =
System.Drawing.Color.Red;
}
}
if (dataGridView.SelectedRows.Count > 0)
{
foreach (DataGridViewRow row in dataGridView.SelectedRows)
{
dataGridView.Rows.Remove(row);
}
}
else
{
MessageBox.Show("Please select a row to remove.");
}
}
SaveDeliveryList();
}
if (foundExisting)
{
// Șterge rândurile existente pentru data curentă
int endRow = startRow;
while (endRow <= worksheet.Dimension.End.Row &&
worksheet.Cells[endRow, 1].Text == currentDate)
{
endRow++;
}
worksheet.DeleteRow(startRow, endRow - startRow);
}
_package.Save();
MessageBox.Show("List saved successfully.");
}
namespace YourNamespace
{
partial class DeliveryListForm
{
private System.ComponentModel.IContainer components = null;
private DataGridView dataGridView;
private TextBox txtRegNo;
private Button btnAddSoldCar;
private Button btnSaveList;
private Button btnRemoveCar;
private Panel controlPanel;
// controlPanel
this.controlPanel.Dock = DockStyle.Right;
this.controlPanel.Width = 200;
this.controlPanel.Controls.Add(this.txtRegNo);
this.controlPanel.Controls.Add(this.btnAddSoldCar);
this.controlPanel.Controls.Add(this.btnSaveList);
this.controlPanel.Controls.Add(this.btnRemoveCar);
// txtRegNo
this.txtRegNo.Location = new System.Drawing.Point(10, 20);
this.txtRegNo.Name = "txtRegNo";
this.txtRegNo.Size = new System.Drawing.Size(180, 20);
// btnAddSoldCar
this.btnAddSoldCar.Location = new System.Drawing.Point(10, 50);
this.btnAddSoldCar.Name = "btnAddSoldCar";
this.btnAddSoldCar.Size = new System.Drawing.Size(180, 30);
this.btnAddSoldCar.Text = "Add Sold Car";
this.btnAddSoldCar.UseVisualStyleBackColor = true;
this.btnAddSoldCar.ForeColor = System.Drawing.Color.Black;
this.btnAddSoldCar.Click += new
System.EventHandler(this.btnAddSoldCar_Click);
// btnSaveList
this.btnSaveList.Location = new System.Drawing.Point(10, 90);
this.btnSaveList.Name = "btnSaveList";
this.btnSaveList.Size = new System.Drawing.Size(180, 30);
this.btnSaveList.Text = "Save List";
this.btnSaveList.UseVisualStyleBackColor = true;
this.btnSaveList.ForeColor = System.Drawing.Color.Black;
this.btnSaveList.Click += new
System.EventHandler(this.btnSaveList_Click);
// btnRemoveCar
this.btnRemoveCar.Location = new System.Drawing.Point(10, 130);
this.btnRemoveCar.Name = "btnRemoveCar";
this.btnRemoveCar.Size = new System.Drawing.Size(180, 30);
this.btnRemoveCar.Text = "Remove Car";
this.btnRemoveCar.UseVisualStyleBackColor = true;
this.btnRemoveCar.ForeColor = System.Drawing.Color.Black;
this.btnRemoveCar.Click += new
System.EventHandler(this.btnRemoveCar_Click);
// dataGridView
this.dataGridView.ColumnHeadersHeightSizeMode =
DataGridViewColumnHeadersHeightSizeMode.EnableResizing;
this.dataGridView.ColumnHeadersHeight = 40;
this.dataGridView.Dock = DockStyle.Fill;
this.dataGridView.SelectionMode =
DataGridViewSelectionMode.FullRowSelect;
this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.Name = "dataGridView";
this.dataGridView.Size = new System.Drawing.Size(600, 450);
this.dataGridView.TabIndex = 0;
// DeliveryListForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.dataGridView);
this.Controls.Add(this.controlPanel);
this.Name = "DeliveryListForm";
this.Text = "Delivery List";
this.ResumeLayout(false);
this.PerformLayout();
}
}
}
using System;
using System.Windows.Forms;
namespace YourNamespace
{
public partial class Form1 : Form
{
public static string LoggedInUser { get; private set; }
public Form1()
{
InitializeComponent();
ApplyDarkTheme();
}
namespace YourNamespace
{
partial class Form1
{
private System.ComponentModel.IContainer components = null;
private TextBox txtUsername;
private TextBox txtPassword;
private Button btnLogin;
// txtUsername
this.txtUsername.Location = new System.Drawing.Point(100, 50);
this.txtUsername.Name = "txtUsername";
this.txtUsername.Size = new System.Drawing.Size(200, 20);
this.txtUsername.TabIndex = 0;
// txtPassword
this.txtPassword.Location = new System.Drawing.Point(100, 100);
this.txtPassword.Name = "txtPassword";
this.txtPassword.Size = new System.Drawing.Size(200, 20);
this.txtPassword.TabIndex = 1;
this.txtPassword.UseSystemPasswordChar = true;
// btnLogin
this.btnLogin.Location = new System.Drawing.Point(150, 150);
this.btnLogin.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(100, 30);
this.btnLogin.TabIndex = 2;
this.btnLogin.Text = "Login";
this.btnLogin.UseVisualStyleBackColor = true;
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
// Form1
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(400, 250);
this.Controls.Add(this.txtUsername);
this.Controls.Add(this.txtPassword);
this.Controls.Add(this.btnLogin);
this.Name = "Form1";
this.Text = "Login";
this.ResumeLayout(false);
this.PerformLayout();
}
}
}
using OfficeOpenXml;
using System;
using System.Data;
using System.Drawing; // Adăugați acest using pentru a accesa clasa Color
using System.Windows.Forms;
namespace YourNamespace
{
public partial class MainForm : Form
{
private ExcelPackage _package;
private DataTable _stockListTable;
private ManagementForm _managementForm;
public MainForm()
{
InitializeComponent();
ApplyDarkTheme();
}
private void MainForm_Load(object sender, EventArgs e)
{
SetButtonEvents();
}
btnUpdateDocuments.Click += btnUpdateDocuments_Click;
btnDeliveryList.Click += btnDeliveryList_Click;
btnLogout.Click += btnLogout_Click;
btnExit.Click += btnExit_Click;
btnManagement.Click += btnManagement_Click;
btnValeting.Click += btnValeting_Click;
btnAuthDepartment.Click += btnAuthDepartment_Click;
}
namespace YourNamespace
{
partial class MainForm
{
private System.ComponentModel.IContainer components = null;
private Button btnManagement;
private Button btnDeliveryList;
private Button btnValeting;
private Button btnUpdateDocuments;
private Button btnAuthDepartment;
private Button btnLogout;
private Button btnExit;
// btnManagement
this.btnManagement.Location = new System.Drawing.Point(50, 20);
this.btnManagement.Name = "btnManagement";
this.btnManagement.Size = new System.Drawing.Size(200, 40);
this.btnManagement.TabIndex = 0;
this.btnManagement.Text = "Management";
this.btnManagement.UseVisualStyleBackColor = true;
// btnDeliveryList
this.btnDeliveryList.Location = new System.Drawing.Point(50, 70);
this.btnDeliveryList.Name = "btnDeliveryList";
this.btnDeliveryList.Size = new System.Drawing.Size(200, 40);
this.btnDeliveryList.TabIndex = 1;
this.btnDeliveryList.Text = "Delivery List";
// btnValeting
this.btnValeting.Location = new System.Drawing.Point(50, 120);
this.btnValeting.Name = "btnValeting";
this.btnValeting.Size = new System.Drawing.Size(200, 40);
this.btnValeting.TabIndex = 2;
this.btnValeting.Text = "Valeting";
// btnUpdateDocuments
this.btnUpdateDocuments.Location = new System.Drawing.Point(50, 170);
this.btnUpdateDocuments.Name = "btnUpdateDocuments";
this.btnUpdateDocuments.Size = new System.Drawing.Size(200, 40);
this.btnUpdateDocuments.TabIndex = 3;
this.btnUpdateDocuments.Text = "Update Documents";
// btnAuthDepartment
this.btnAuthDepartment.Location = new System.Drawing.Point(50, 220);
this.btnAuthDepartment.Name = "btnAuthDepartment";
this.btnAuthDepartment.Size = new System.Drawing.Size(200, 40);
this.btnAuthDepartment.TabIndex = 4;
this.btnAuthDepartment.Text = "Auth Department";
// btnLogout
this.btnLogout.Location = new System.Drawing.Point(50, 270);
this.btnLogout.Name = "btnLogout";
this.btnLogout.Size = new System.Drawing.Size(200, 40);
this.btnLogout.TabIndex = 5;
this.btnLogout.Text = "Logout";
// btnExit
this.btnExit.Location = new System.Drawing.Point(50, 320);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(200, 40);
this.btnExit.TabIndex = 6;
this.btnExit.Text = "Exit";
// MainForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(300, 400);
this.Controls.Add(this.btnManagement);
this.Controls.Add(this.btnDeliveryList);
this.Controls.Add(this.btnValeting);
this.Controls.Add(this.btnUpdateDocuments);
this.Controls.Add(this.btnAuthDepartment);
this.Controls.Add(this.btnLogout);
this.Controls.Add(this.btnExit);
this.Name = "MainForm";
this.Text = "Main Form";
this.Load += new System.EventHandler(this.MainForm_Load);
this.ResumeLayout(false);
}
}
}
using System;
using System.Windows.Forms;
using OfficeOpenXml;
namespace YourNamespace
{
public partial class ManagementForm : Form
{
private ExcelPackage _package;
public ManagementForm()
{
InitializeComponent();
ApplyDarkTheme();
}
namespace YourNamespace
{
partial class ManagementForm
{
private System.ComponentModel.IContainer components = null;
private Button btnUsersSettings;
private Button btnRegisterUser;
private Button btnValetingProgress;
namespace YourNamespace
{
public partial class ManagerCodeForm : Form
{
private ExcelPackage package;
private string stockListData;
private string mvInvoiceData;
if (!string.IsNullOrEmpty(mvInvoiceData))
{
lblMvInvoiceData.Text = "MVinvoice Data: " + mvInvoiceData;
}
}
private void BtnOk_Click(object sender, EventArgs e)
{
var sheet = package.Workbook.Worksheets["ManagerCode"];
bool isValidCode = false;
if (isValidCode)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
else
{
MessageBox.Show("Invalid Manager Code.", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
namespace YourNamespace
{
partial class ManagerCodeForm
{
private System.ComponentModel.IContainer components = null;
private Label lblStockListData;
private Label lblMvInvoiceData;
private TextBox txtManagerCode;
private Button btnOk;
private Button btnCancel;
namespace YourNamespace
{
public partial class ManualEntryForm : Form
{
private ExcelPackage package;
private string registrationNumber;
cmbReason.DataSource = reasons;
}
if (!isValidCode)
{
MessageBox.Show("Invalid Manager Code.", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
namespace YourNamespace
{
partial class ManualEntryForm
{
private System.ComponentModel.IContainer components = null;
private Label lblStockNo;
private Label lblMake;
private Label lblModel;
private Label lblReason;
private Label lblManagerCode;
private TextBox txtStockNo;
private TextBox txtMake;
private TextBox txtModel;
private TextBox txtManagerCode;
private ComboBox cmbReason;
private Button btnNext;
private Button btnCancel;
namespace YourNamespace
{
public partial class MVInvoiceForm : Form
{
public MVInvoiceForm(string invoicedData)
{
InitializeComponent();
lblMessage.Text = $"Has been invoiced: {invoicedData}";
}
namespace YourNamespace
{
partial class MVInvoiceForm
{
private System.ComponentModel.IContainer components = null;
private Label lblMessage;
private Button btnOk;
}
}
}
using System;
using System.Windows.Forms;
namespace YourNamespace
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
using OfficeOpenXml;
using System;
using System.Windows.Forms;
namespace YourNamespace
{
public partial class RegisterUserForm : Form
{
private ExcelPackage _package;
public RegisterUserForm()
{
InitializeComponent();
}
_package.Save();
MessageBox.Show("User registered successfully.");
this.Close();
}
namespace YourNamespace
{
partial class RegisterUserForm
{
private System.ComponentModel.IContainer components = null;
private Button btnSave;
private Button btnCancel;
private TextBox txtUsername;
private TextBox txtPassword;
private TextBox txtDepartment;
private Label lblUsername;
private Label lblPassword;
private Label lblDepartment;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
namespace YourNamespace
{
public partial class StockListForm : Form
{
public StockListForm(string valetedData)
{
InitializeComponent();
lblMessage.Text = $"Has been valeted: {valetedData}";
}
namespace YourNamespace
{
partial class StockListForm
{
private System.ComponentModel.IContainer components = null;
private Label lblMessage;
private Button btnOk;
}
}
}
using OfficeOpenXml;
using System;
using System.Data;
using System.IO;
using System.Windows.Forms;
namespace YourNamespace
{
public partial class UpdateDocumentsForm : Form
{
private ExcelPackage _package;
public UpdateDocumentsForm()
{
InitializeComponent();
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
}
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
string filePath = openFileDialog.FileName;
FileInfo fileInfo = new FileInfo(filePath);
_package = new ExcelPackage(fileInfo);
var worksheet = _package.Workbook.Worksheets["StockList"];
if (worksheet == null)
{
MessageBox.Show("StockList sheet not found in the Excel
file.");
return;
}
((MainForm)this.Owner).SetExcelPackage(_package);
MessageBox.Show("StockList loaded successfully.");
this.Close();
}
}
}
}
using System.Windows.Forms;
namespace YourNamespace
{
partial class UpdateDocumentsForm
{
private System.ComponentModel.IContainer components = null;
private Button btnUpdate;
private FlowLayoutPanel flowLayoutPanelButtons;
private DataGridView dataGridView;
private TableLayoutPanel tableLayoutPanel;
// tableLayoutPanel
this.tableLayoutPanel.ColumnCount = 1;
this.tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle(SizeType.Percent, 100F));
this.tableLayoutPanel.RowCount = 3;
this.tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute,
40F));
this.tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute,
60F));
this.tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent,
100F));
this.tableLayoutPanel.Controls.Add(this.btnUpdate, 0, 0);
this.tableLayoutPanel.Controls.Add(this.flowLayoutPanelButtons, 0, 1);
this.tableLayoutPanel.Controls.Add(this.dataGridView, 0, 2);
this.tableLayoutPanel.Dock = DockStyle.Fill;
this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel.Name = "tableLayoutPanel";
this.tableLayoutPanel.Size = new System.Drawing.Size(800, 450);
this.tableLayoutPanel.TabIndex = 0;
// btnUpdate
this.btnUpdate.Location = new System.Drawing.Point(3, 3);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(75, 23);
this.btnUpdate.TabIndex = 0;
this.btnUpdate.Text = "Update";
this.btnUpdate.UseVisualStyleBackColor = true;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
// flowLayoutPanelButtons
this.flowLayoutPanelButtons.Dock = DockStyle.Fill;
this.flowLayoutPanelButtons.Location = new System.Drawing.Point(3, 43);
this.flowLayoutPanelButtons.Name = "flowLayoutPanelButtons";
this.flowLayoutPanelButtons.Size = new System.Drawing.Size(794, 54);
this.flowLayoutPanelButtons.TabIndex = 1;
// dataGridView
this.dataGridView.Dock = DockStyle.Fill;
this.dataGridView.Location = new System.Drawing.Point(3, 103);
this.dataGridView.Name = "dataGridView";
this.dataGridView.Size = new System.Drawing.Size(794, 344);
this.dataGridView.TabIndex = 2;
// UpdateDocumentsForm
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.tableLayoutPanel);
this.Name = "UpdateDocumentsForm";
this.Text = "Update Documents";
this.ResumeLayout(false);
}
}
}
using System;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OfficeOpenXml;
namespace YourNamespace
{
public partial class UserSettingsForm : Form
{
private ExcelPackage _package;
private DataTable _usersTable;
public UserSettingsForm()
{
InitializeComponent();
}
if (userRow != null)
{
chkManagement.Checked =
userRow["Permissions"].ToString().Contains("Management");
chkDeliveryList.Checked =
userRow["Permissions"].ToString().Contains("DeliveryList");
chkValeting.Checked =
userRow["Permissions"].ToString().Contains("Valeting");
chkUpdateDocuments.Checked =
userRow["Permissions"].ToString().Contains("UpdateDocuments");
chkWilliams.Checked =
userRow["Permissions"].ToString().Contains("Williams");
chkService.Checked =
userRow["Permissions"].ToString().Contains("Service");
chkBodyshop.Checked =
userRow["Permissions"].ToString().Contains("Bodyshop");
chkSelect.Checked =
userRow["Permissions"].ToString().Contains("Select");
chkAddSoldCar.Checked =
userRow["Permissions"].ToString().Contains("AddSoldCar");
chkSaveList.Checked =
userRow["Permissions"].ToString().Contains("SaveList");
chkRemoveCar.Checked =
userRow["Permissions"].ToString().Contains("RemoveCar");
}
}
userRow["Permissions"] = permissions.ToString();
SaveUsersTable();
MessageBox.Show("User settings saved successfully.");
}
_package.Save();
}
namespace YourNamespace
{
partial class UserSettingsForm
{
private System.ComponentModel.IContainer components = null;
private Button btnRemoveUser;
private Button btnSave;
private Button btnCancel;
private ComboBox cmbUsers;
private CheckBox chkManagement;
private CheckBox chkDeliveryList;
private CheckBox chkValeting;
private CheckBox chkUpdateDocuments;
private CheckBox chkWilliams;
private CheckBox chkService;
private CheckBox chkBodyshop;
private CheckBox chkSelect;
private CheckBox chkAddSoldCar;
private CheckBox chkSaveList;
private CheckBox chkRemoveCar; // Adăugăm checkbox-ul pentru Remove Car
private Label lblSelectUser;
namespace YourNamespace
{
public partial class ValetingDetailsForm : Form
{
private ExcelPackage package;
private string registrationNumber;
private List<Button> selectedButtons = new List<Button>();
cmbValeters.DataSource = valeters;
}
if (selectedButtons.Contains(button))
{
selectedButtons.Remove(button);
button.BackColor = SystemColors.Control;
button.ForeColor = SystemColors.ControlText;
}
else
{
if (selectedButtons.Count < 2 && (selectedButtons.Count == 0 ||
selectedButtons[0].Text == "Williams" || button.Text == "Williams"))
{
selectedButtons.Add(button);
button.BackColor = Color.Orange;
button.ForeColor = Color.White;
}
else
{
MessageBox.Show("You can select a maximum of two services,
including Williams.", "Limit Reached", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
}
}
namespace YourNamespace
{
partial class ValetingDetailsForm
{
private System.ComponentModel.IContainer components = null;
private Label lblValeters;
private ComboBox cmbValeters;
private Button btnFvCar;
private Button btnFvVan;
private Button btnWilliams;
private Button btnReclean;
private Button btnRecleanService;
private Button btnRecleanFOC;
private Button btnFinish;
private Button btnCancel;
namespace YourNamespace
{
public partial class ValetingForm : Form
{
private ExcelPackage package;
if (string.IsNullOrEmpty(regNumber))
{
MessageBox.Show("Please enter a registration number.", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
namespace YourNamespace
{
partial class ValetingForm
{
private System.ComponentModel.IContainer components = null;
private Label lblMessage;
private TextBox txtRegNo;
private Button btnNext;
private Button btnCancel;
namespace YourNamespace
{
partial class ValetingProgressForm
{
private System.ComponentModel.IContainer components = null;
private Label lblTotalVehicles;
private Label lblReadyVehicles;
private Label lblRemainingVehicles;