public void TestWindowControl() { var control = new WindowControl(canvas, "WindowControl"); GUI.Test(control, "WindowControl1"); }
/// <summary> /// Initializes a new instance of the <see cref="CloseButton"/> class. /// </summary> /// <param name="parent">Parent control.</param> /// <param name="owner">Window that owns this button.</param> public CloseButton(Control parent, WindowControl owner) : base(parent) { m_Window = owner; }