Add project files.

This commit is contained in:
Frozd
2025-09-17 13:17:09 +02:00
parent 440e5a1b2b
commit 3561193b2f
22 changed files with 18541 additions and 0 deletions

53
CarManagerV2/CarCard.cs Normal file
View File

@@ -0,0 +1,53 @@
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 CarManagerV2
{
public partial class CarCard : UserControl
{
public string CarName
{
get { return lblCarName.Text; }
set { lblCarName.Text = value; }
}
public string CarDetails
{
get { return lblCarDetails.Text; }
set { lblCarDetails.Text = value; }
}
public Image CarImage
{
get { return pbxCar.Image; }
set { pbxCar.Image = value; }
}
public CarCard()
{
InitializeComponent();
this.Cursor = Cursors.Hand;
this.Click += (s, e) => this.OnCardClicked();
}
public event EventHandler CardClicked;
private void OnCardClicked()
{
if (this.CardClicked != null)
{
this.CardClicked(this, EventArgs.Empty);
}
}
private void CarCard_Load(object sender, EventArgs e)
{
}
}
}