public Main() { memory = new MemorySync(); InitializeComponent(); Controls.Remove(txtCustomNumber); Shown += Main_Shown; Click += On_Click; txtCustomNumber.KeyDown += On_txtKeyPress; }
public Game() { memory = new MemorySync(); starFont = new Font(FontHelper.pfc.Families[0], 15, GraphicsUnit.Pixel); courseFont = new Font(FontHelper.pfc.Families[0], 12, GraphicsUnit.Pixel); bonusFont = new Font(FontHelper.pfc.Families[0], 9, GraphicsUnit.Pixel); imgStar = Properties.Resources.star; imgLockout = Properties.Resources.star_Lockout; imgStarSlot = Properties.Resources.star_slot; }