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

            GUI.Test(control, "WindowControl1");
        }
예제 #2
0
파일: CloseButton.cs 프로젝트: tritao/flood
 /// <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;
 }