Esempio n. 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);
 }
        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);
        }
Esempio n. 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);
        }