コード例 #1
0
ファイル: EPanel.cs プロジェクト: Egoily/CSharp-EAlbum
        /// <summary>
        /// Initializes a new instance of the EPanel class.
        /// </summary>
        public EPanel()
        {
            InitializeComponent();

            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.ShowXPanderPanelProfessionalStyle = 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_customColors = new CustomPanelColors();
            this.m_customColors.CustomColorsChanged += OnCustomColorsChanged;
        }
コード例 #2
0
ファイル: EPanel.cs プロジェクト: Egoily/CSharp-EAlbum
        /// <summary>
        /// Initializes a new instance of the EPanel class.
        /// </summary>
        public EPanel()
        {
            InitializeComponent();

            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.ShowXPanderPanelProfessionalStyle = 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_customColors     = new CustomPanelColors();
            this.m_customColors.CustomColorsChanged += OnCustomColorsChanged;
        }