Example #1
0
        /// <summary>
        /// Initializes a new instance of the Panel class.
        /// </summary>
        public PanelW()
        {
            InitializeComponent();
            this.DoubleBuffered = true;
            this.CaptionFont    = new Font(SystemFonts.CaptionFont.FontFamily, SystemFonts.CaptionFont.SizeInPoints + 2.75F, FontStyle.Bold);

            this.BackColor = Color.Transparent;
            this.ForeColor = SystemColors.ControlText;
            this.ShowTransparentBackground         = true;
            this.ShowPanderPanelWProfessionalStyle = false;
            this.ColorScheme                         = ColorScheme.Professional;
            this.LinearGradientMode                  = LinearGradientMode.Vertical;
            this.Expand                              = true;
            this.CaptionHeight                       = 27;
            this.ImageSize                           = new Size(18, 18);
            this.m_bShowCaptionbar                   = true;
            this.m_bShowCaptionbarBorder             = true;
            this.m_customColors                      = new CustomPanelColors();
            this.m_customColors.CustomColorsChanged += OnCustomColorsChanged;
        }
Example #2
0
		/// <summary>
		/// Initializes a new instance of the Panel class.
		/// </summary>
		public PanelW()
		{
			InitializeComponent();
            this.DoubleBuffered = true;
            this.CaptionFont = new Font(SystemFonts.CaptionFont.FontFamily, SystemFonts.CaptionFont.SizeInPoints + 2.75F, FontStyle.Bold);

            this.BackColor = Color.Transparent;
			this.ForeColor = SystemColors.ControlText;
            this.ShowTransparentBackground = true;
			this.ShowPanderPanelWProfessionalStyle = false;
			this.ColorScheme = ColorScheme.Professional;
            this.LinearGradientMode = LinearGradientMode.Vertical;
            this.Expand = true;
            this.CaptionHeight = 27;
            this.ImageSize = new Size(18, 18);
            this.m_bShowCaptionbar = true;
		    this.m_bShowCaptionbarBorder = true;
            this.m_customColors = new CustomPanelColors();
            this.m_customColors.CustomColorsChanged += OnCustomColorsChanged;
		}