コード例 #1
0
 public RibbonForm()
 {
     if (WinApi.IsWindows && !WinApi.IsGlassEnabled)
     {
         FormBorderStyle = FormBorderStyle.None;
         SetStyle(ControlStyles.ResizeRedraw, true);
         SetStyle(ControlStyles.Opaque, WinApi.IsGlassEnabled);
         SetStyle(ControlStyles.AllPaintingInWmPaint, true);
         DoubleBuffered = true;
     }
     Helper = new RibbonFormHelper(this);
 }
コード例 #2
0
        public RibbonForm()
        {
            if (WinApi.IsWindows && !WinApi.IsGlassEnabled)
            {
                SetStyle(ControlStyles.ResizeRedraw, true);
					 SetStyle(ControlStyles.Opaque, WinApi.IsGlassEnabled);
                SetStyle(ControlStyles.AllPaintingInWmPaint, true);
                DoubleBuffered = true;
            }

            _helper = new RibbonFormHelper(this);
        }
コード例 #3
0
        public RibbonForm()
        {
            if (WinApi.IsWindows && !WinApi.IsGlassEnabled)
            {
                SetStyle(ControlStyles.ResizeRedraw, true);
                SetStyle(ControlStyles.Opaque, WinApi.IsGlassEnabled);
                SetStyle(ControlStyles.AllPaintingInWmPaint, true);
                DoubleBuffered = true;
            }
            //SetStyle(ControlStyles.EnableNotifyMessage, true);


            _helper = new RibbonFormHelper(this);
        }