Наследование: System.Windows.Forms.Form
Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            YamuiThemeManager.TabAnimationAllowed = true;
            MainForm = new Form1();

            Application.Run(MainForm);
        }
Пример #2
0
        public YamuiTab(List<YamuiMainMenu> content, YamuiForm owner)
        {
            SetStyle(ControlStyles.UserPaint |
                     ControlStyles.AllPaintingInWmPaint |
                     ControlStyles.ResizeRedraw |
                     ControlStyles.OptimizedDoubleBuffer, true);
            _content = content;
            _owner = owner;

            // padding
            Padding = new Padding(XOffsetPage, YOffsetPage, 0, 0);
            TabStop = false;
        }