Update MainForm.cs

Added support for star properties.