示例#1
0
        private MaterialDialog(MaterialSkinManager pColor)
        {
            this.FormBorderStyle         = System.Windows.Forms.FormBorderStyle.None;
            this.BackColor               = pColor.GetCardsColor();
            this.StartPosition           = FormStartPosition.CenterParent;
            this.Padding                 = new System.Windows.Forms.Padding(0);
            this.Width                   = 400;
            this.SkinManager.ColorScheme = pColor.ColorScheme;
            this.SkinManager.Theme       = pColor.Theme;
            TopMost      = true;
            _FontManager = new FontManager();

            InitializeComponent();

            _flpButtons.FlowDirection = FlowDirection.RightToLeft;
            _flpButtons.Dock          = DockStyle.Fill;
            pnl_Footer.Controls.Add(_flpButtons);
            lbl_Title.ForeColor = SkinManager.ColorScheme.AccentColor;
            lbl_Title.Font      = SkinManager.FONT_TITLE;
        }