Movable window with title bar.
Inheritance: Flood.GUI.Controls.ResizableControl
示例#1
0
        public void TestWindowControl()
        {
            var control = new WindowControl(canvas, "WindowControl");

            GUI.Test(control, "WindowControl1");
        }
示例#2
0
 /// <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;
 }