private void initMainBubbels(List <ActionBubble.ActionBubbleData> mainBubbels) { //to do in a loop actionBubbleSlot1.Copy(WiisyScreenUIHelper.CreateActionBubbleFromData(mainBubbels[0])); actionBubbleSlot2.Copy(WiisyScreenUIHelper.CreateActionBubbleFromData(mainBubbels[1])); actionBubbleSlot3.Copy(WiisyScreenUIHelper.CreateActionBubbleFromData(mainBubbels[2])); actionBubbleSlot4.Copy(WiisyScreenUIHelper.CreateActionBubbleFromData(mainBubbels[3])); }
private void initBubbels() { apllicationStackPanel.Children.Clear(); apllicationStackPanel.Children.Add(addActionBubble); addActionBubbleToRepasatory(WiisyScreenUIHelper.CreateActionBubbleFromData(new ActionBubble.ActionBubbleData("", eBubbleType.Empty))); addActionBubbleToRepasatory(WiisyScreenUIHelper.CreateActionBubbleFromData(new ActionBubble.ActionBubbleData("BoardApp", eBubbleType.Board))); addActionBubbleToRepasatory(WiisyScreenUIHelper.CreateActionBubbleFromData(new ActionBubble.ActionBubbleData("MacroApp", eBubbleType.Macro))); addActionBubbleToRepasatory(WiisyScreenUIHelper.CreateActionBubbleFromData(new ActionBubble.ActionBubbleData("Calc", eBubbleType.Calc))); }
internal void initRepository(List <ActionBubble.ActionBubbleData> repositoryData) { apllicationStackPanel.Children.Clear(); apllicationStackPanel.Children.Add(addActionBubble); foreach (ActionBubble.ActionBubbleData bubbleData in repositoryData) { addActionBubbleToRepasatory(WiisyScreenUIHelper.CreateActionBubbleFromData(bubbleData)); } }