Mini Kabibi Habibi

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

using System;
using DevExpress.DXperience.Demos;
using DevExpress.XtraEditors;
using DevExpress.LookAndFeel;
using DevExpress.Utils.Frames;
using DevExpress.Utils;

namespace DashboardMainDemo {
    public partial class frmMain : RibbonMainForm {
        public frmMain() {
            InitializeComponent();
        }
        protected override string DemoName { 
            get { return string.Format("Dashboard Features Demo ({0} code)", DemoHelper.GetLanguageString(typeof(frmMain).Assembly)); } 
        }
        protected override void ShowModule(string name, GroupControl group, DefaultLookAndFeel lookAndFeel, ApplicationCaption caption) {
            DemosInfo.Show(name, group, caption, RibbonMenuManager);
        }
        protected override void SetFormParam() {
            Icon = ResourceImageHelper.CreateIconFromResourcesEx("DashboardMainDemo.AppIcon.ico", typeof(frmMain).Assembly);
        }
        protected override void ShowAbout() {
            DevExpress.Utils.About.AboutForm.Show(typeof(DevExpress.DashboardWin.DashboardViewer), DevExpress.Utils.About.ProductKind.Dashboard, DevExpress.Utils.About.ProductInfoStage.Registered);
        }
    }
}