/// <summary> /// Creates the form. /// </summary> /// <returns></returns> protected override Form CreateForm() { SlotsBoardForm result = new SlotsBoardForm(); SlotGroup dailyMenuSlotGroup = new SlotGroup(result.Slots, DailyMenuGroup, BackColors[DailyMenuGroup], 0); SlotGroup freeTextSlotGroup = new SlotGroup(result.Slots, FreeTextGroup, BackColors[FreeTextGroup], 9, 1, 1); result.SlotGroups = SlotGroup.Chain(dailyMenuSlotGroup, freeTextSlotGroup); return result; }
protected override Form CreateForm() { SlotsBoardForm result = new SlotsBoardForm(); SlotGroup soupsSlotGroup = new SlotGroup(result.Slots, SoupsGroup, BackColors[SoupsGroup], 0, 3); SlotGroup salatsBackColor = new SlotGroup(result.Slots, SalatsGroup, BackColors[SalatsGroup]); SlotGroup freeTextSlotGroup = new SlotGroup(result.Slots, FreeTextGroup, BackColors[FreeTextGroup], 9, 1, 1); result.SlotGroups = SlotGroup.Chain(soupsSlotGroup, salatsBackColor, freeTextSlotGroup); return result; }