Mini Kabibi Habibi
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using DevExpress.Utils;
using DevExpress.XtraNavBar;
using DevExpress.DXperience.Demos;
namespace DevExpress.XtraLayout.Demos {
public class frmMain : DevExpress.DXperience.Demos.RibbonMainForm {
protected override void SetFormParam() {
this.navBarControl1.Parent.Width = 176;
this.navBarControl1.AllowDrop = false;
this.navBarControl1.LargeImages = null;
this.Icon = DevExpress.Utils.ResourceImageHelper.CreateIconFromResources("DevExpress.XtraLayout.Demos.AppIcon.ico", typeof(frmMain).Assembly);
}
protected override string DemoName { get { return "XtraLayout Features Demo (C# code)"; } }
protected override void ShowAbout() {
DevExpress.Utils.About.AboutForm.Show(typeof(DevExpress.XtraLayout.LayoutControl), DevExpress.Utils.About.ProductKind.DXperienceWin, DevExpress.Utils.About.ProductInfoStage.Registered);
}
protected override void ShowModule(string name, DevExpress.XtraEditors.GroupControl group, DevExpress.LookAndFeel.DefaultLookAndFeel lookAndFeel, DevExpress.Utils.Frames.ApplicationCaption caption) {
DemosInfo.ShowModule(name, group, caption, RibbonMenuManager);
}
protected override void FillNavBar() {
DemosInfo.FillNavBar(navBarControl1, DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsList, true, NavBarImage.Large);
}
}
}