private void Init() { InitModifiers(); MyUniversalControl.CanOffsetCurlies = true; NameBlock = new MemberNameBlock(); HMembers.Add(Modifiers); HMembers.Add(NameBlock); HMembers.Add(Parameters); }
public InterfaceBlock() : base() { NameBlock = new TypeNameBlock(2 * ShapeStyle.DefaultFontSize); MyUniversalControl.CanOffsetCurlies = true; MyUniversalControl.OpenCurlyHasNegativeLowerMargin = false; InitModifiers(); HMembers.Add(Modifiers); HMembers.Add(new KeywordLabel("interface")); HMembers.Add(NameBlock); VMembers.Children.Add(new InterfaceMemberDeclarationBlock()); }
public ClassOrStructBlock(string keyword) : base() { NameBlock = new TypeNameBlock(16); //HMembers.Add(new PictureBlock(CSharpPictureLibrary.Instance.TypeClass)); InitModifiers(); HMembers.Add(Modifiers); HMembers.Add(new KeywordLabel(keyword)); HMembers.Add(NameBlock); VMembers.Children.Add(new EmptyClassMember()); MyUniversalControl.CanOffsetCurlies = true; }
public TreeViewNode(string Caption) : this() { HMembers.Add(new TreeViewLabelBlock(Caption)); }