public TutorialRootBlock7() : base() { this.Add(status); status.MyControl.Box.Margins.Bottom = 40; TutorialUniversalBlock n1 = new TutorialUniversalBlock(); TutorialUniversalBlock c1 = new TutorialUniversalBlock(); TutorialUniversalBlock c2 = new TutorialUniversalBlock(); TutorialUniversalBlock c3 = new TutorialUniversalBlock(); n1.VMembers.Children.Add(c1, c2, c3); this.Add(n1); this.ActiveBlockChanged += TutorialRootBlock7_ActiveBlockChanged; }
public TutorialRootBlock6() : base() { n1 = new TutorialUniversalBlock(); c1 = new TutorialUniversalBlock(); c2 = new TutorialUniversalBlock(); TutorialUniversalBlock c3 = new TutorialUniversalBlock(); n1.VMembers.Children.Add(c1, c2, c3); this.Add(n1); ButtonBlock moveButton = new ButtonBlock("Move!!!"); moveButton.Pushed += moveButton_Pushed; this.Add(moveButton); }