I made a Seat class and inherited the PictureBox class:
I'm getting the following pop up box when attempting to drag the item into the user control and i have no idea why.
Does anyone know why this is?
C#:
class seat : PictureBox
{
public string Row { get; set; }
public int Number { get; set; }
public string Seat => $"{Row}{Number}";
public bool Available { get; set; }
}
}
I'm getting the following pop up box when attempting to drag the item into the user control and i have no idea why.
Does anyone know why this is?