Control Header () { var control = new GroupBox{ Text = "Some Header" }; control.AddDockedControl (new LabelSection ()); return control; }
Control Default () { var control = new GroupBox (); control.AddDockedControl (new CheckBoxSection ()); return control; }
Control GroupBoxControl () { var control = new GroupBox { Text = "Some Group Box" }; control.AddDockedControl (new Label{ Text = "Content" }); LogEvents (control); return control; }