public TextLikeCodeBlock() : base() { this.MyControl.Focusable = true; HMembers = new HContainerBlock(); VMembers = new VContainerBlock(); HMembers.CanBeSelected = false; VMembers.CanBeSelected = false; HeaderLine = new HContainerBlock(); HeaderLine.Children.Add(new PictureBlock(CSharpPictureLibrary.Instance.Minus)); HeaderLine.Children.Add(HMembers); this.Children.Add(HeaderLine); this.Children.Add("{"); HContainerBlock body = new HContainerBlock(); body.CanBeSelected = false; this.Children.Add(body); body.Children.Add(" "); body.Children.Add(VMembers); this.Children.Add("}"); }
public TreeViewNode() : base() { HMembers = new HContainerBlock(); VMembers = new VContainerBlock(); this.Add(HMembers); this.Add(VMembers); InitControl(); }
public LayoutTestBlock() : base() { this.MyControl.Focusable = true; this.Children.Add(new FocusableLabelBlock("aaa")); VContainerBlock v = new VContainerBlock(); v.Children.Add(new FocusableLabelBlock("bbbbbbb")); v.Children.Add(new FocusableLabelBlock("bbbbbbb")); this.Children.Add(v); this.Children.Add(new FocusableLabelBlock("cc")); this.Children.Add(new FocusableLabelBlock("ddddddddd")); }
public UniversalBlock(VContainerBlock vMembers) : base() { HMembers = CreateHMembers(); if (vMembers == null) { VMembers = CreateVMembers(); } else { VMembers = vMembers; } InitControl(); }
protected virtual VContainerBlock CreateVMembers() { VContainerBlock result = new VContainerBlock(); return(result); }
protected virtual VContainerBlock CreateVMembers() { VContainerBlock result = new VContainerBlock(); return result; }
public MethodBlock(VContainerBlock vMembers) : base(vMembers) { Init(); }
public ConstructorBlock(VContainerBlock members) : base(members) { Init(); }
public CodeBlock(VContainerBlock vMembers) : base(vMembers) { Init(); }