Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/WinForms/CS/PivotGridMainDemo/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/WinForms/CS/PivotGridMainDemo/frmMain.cs

using DevExpress.DXperience.Demos;
using DevExpress.Utils;
using System;

namespace DevExpress.XtraPivotGrid.Demos {
    public class frmMain : RibbonMainForm {
        protected override void SetFormParam() {
            this.Icon = ResourceImageHelper.CreateIconFromResourcesEx("DevExpress.XtraPivotGrid.Demos.AppIcon.ico", typeof(frmMain).Assembly);
        }
        protected override void ShowModule(string name, DevExpress.XtraEditors.GroupControl group, DevExpress.LookAndFeel.DefaultLookAndFeel lookAndFeel, DevExpress.Utils.Frames.ApplicationCaption caption, DevExpress.Utils.Frames.NotePanel notePanel) {
            DemosInfo.Show(name, group, caption, notePanel, RibbonMenuManager as PivotGridRibbonMenuManager);
        }
        protected override string DemoName { get { return "XtraPivotGrid Features Demo (" + DemoHelper.GetLanguageString(typeof(frmMain).Assembly) + " code)"; } }
        protected override void FillNavBar() {
			navBarControl1.SkinExplorerBarViewScrollStyle = DevExpress.XtraNavBar.SkinExplorerBarViewScrollStyle.ScrollBar;
            DemosInfo.FillNavBar(navBarControl1, DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText);
        }
        protected override RibbonMenuManager CreateRibbonMenuManager() {
            return new PivotGridRibbonMenuManager(this);
        }
        protected override void ShowAbout() {
            DevExpress.Utils.About.AboutForm.Show(typeof(DevExpress.XtraPivotGrid.PivotGridControl), DevExpress.Utils.About.ProductKind.DXperienceWin, DevExpress.Utils.About.ProductInfoStage.Registered);
        }
    }
}