예제 #1
0
        public MinimizeButton(LayeredForm parent) : base(parent)
        {
            var window = ((SkinBorder)Parent).Parent;

            Visible = window.MinimizeBox || (window.CloseBox && window.MaximizeBox);
            Enabled = window.MinimizeBox;
        }
예제 #2
0
        public HelpButton(LayeredForm parent)
            : base(parent)
        {
            var window = ((SkinBorder)Parent).Parent;

            Visible = window.HelpBox;
        }
예제 #3
0
 public MaximizeButton(LayeredForm parent)
     : base(parent)
 {
     var window = ((SkinBorder)Parent).Parent;
     Enabled = window.MaximizeBox;
     Visible = window.MaximizeBox || (window.CloseBox && window.MinimizeBox);
 }
예제 #4
0
 public HelpButton(LayeredForm parent)
     : base(parent)
 {
     var window = ((SkinBorder)Parent).Parent;
     Visible = window.HelpBox;
 }