private void InitializeComponent() { this.ucToolBar = new XucToolBar(); base.SuspendLayout(); this.ucToolBar.ButtonAdd = BarItemVisibility.Always; this.ucToolBar.ButtonCancel = BarItemVisibility.Never; this.ucToolBar.ButtonChange = BarItemVisibility.Never; this.ucToolBar.ButtonDelete = BarItemVisibility.Always; this.ucToolBar.ButtonEdit = BarItemVisibility.Always; this.ucToolBar.ButtonExport = BarItemVisibility.Always; this.ucToolBar.ButtonOption = BarItemVisibility.Never; this.ucToolBar.ButtonPrint = BarItemVisibility.Always; this.ucToolBar.ButtonSave = BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = BarItemVisibility.Never; this.ucToolBar.Dock = DockStyle.Top; this.ucToolBar.IsClose = CloseOrNew.None; this.ucToolBar.Location = new Point(0, 0); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.Size = new Size(0x2f9, 0x2b); this.ucToolBar.Status = Actions.Add; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.ucToolBar); this.DoubleBuffered = true; base.Name = "XucBaseBasicB"; base.Size = new Size(0x2f9, 0x298); base.ResumeLayout(false); }
private void InitializeComponent() { MenuButton button = new MenuButton(); ItemCommand command = new ItemCommand(); ItemCommand command2 = new ItemCommand(); ItemCommand command3 = new ItemCommand(); ItemCommand command4 = new ItemCommand(); ItemCommand command5 = new ItemCommand(); ItemCommand command6 = new ItemCommand(); ItemCommand command7 = new ItemCommand(); ItemCommand command8 = new ItemCommand(); ItemCommand command9 = new ItemCommand(); ItemCommand command10 = new ItemCommand(); ItemCommand command11 = new ItemCommand(); ItemCommand command12 = new ItemCommand(); ItemCommand command13 = new ItemCommand(); ItemCommand command14 = new ItemCommand(); ItemCommand command15 = new ItemCommand(); ItemCommand command16 = new ItemCommand(); ItemCommand command17 = new ItemCommand(); ItemCommand command18 = new ItemCommand(); ItemCommand command19 = new ItemCommand(); ItemCommand command20 = new ItemCommand(); ItemCommand command21 = new ItemCommand(); ItemCommand command22 = new ItemCommand(); ItemCommand command23 = new ItemCommand(); ItemCommand command24 = new ItemCommand(); ItemCommand command25 = new ItemCommand(); ItemCommand command26 = new ItemCommand(); ItemCommand command27 = new ItemCommand(); ItemCommand command28 = new ItemCommand(); ItemCommand command29 = new ItemCommand(); this.ucToolBar = new XucToolBar(); this.gbList = new AdvBandedGridView(); this.gridBand1 = new GridBand(); this.gcList = new GridControl(); this.gbList.BeginInit(); this.gcList.BeginInit(); base.SuspendLayout(); this.ucToolBar.ButtonAdd = BarItemVisibility.Always; this.ucToolBar.ButtonCancel = BarItemVisibility.Never; this.ucToolBar.ButtonChange = BarItemVisibility.Never; this.ucToolBar.ButtonDelete = BarItemVisibility.Always; this.ucToolBar.ButtonEdit = BarItemVisibility.Always; this.ucToolBar.ButtonExport = BarItemVisibility.Always; this.ucToolBar.ButtonOption = BarItemVisibility.Never; this.ucToolBar.ButtonPrint = BarItemVisibility.Always; this.ucToolBar.ButtonSave = BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = BarItemVisibility.Never; this.ucToolBar.Dock = DockStyle.Top; this.ucToolBar.IsClose = CloseOrNew.None; this.ucToolBar.Location = new Point(0, 0); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.NotSave = false; command.Caption = ""; command.Enable = false; command.Visibility = BarItemVisibility.Never; button.Add = command; command2.Caption = ""; command2.Enable = false; command2.Visibility = BarItemVisibility.Never; button.Cancel = command2; command3.Caption = ""; command3.Enable = false; command3.Visibility = BarItemVisibility.Never; button.Change = command3; command4.Caption = ""; command4.Enable = false; command4.Visibility = BarItemVisibility.Never; button.Close = command4; command5.Caption = ""; command5.Enable = false; command5.Visibility = BarItemVisibility.Never; button.Custom = command5; command6.Caption = ""; command6.Enable = false; command6.Visibility = BarItemVisibility.Never; button.Delete = command6; command7.Caption = ""; command7.Enable = false; command7.Visibility = BarItemVisibility.Never; button.Export = command7; command8.Caption = ""; command8.Enable = false; command8.Visibility = BarItemVisibility.Never; button.Filter = command8; command9.Caption = ""; command9.Enable = false; command9.Visibility = BarItemVisibility.Never; button.FilterCustomer = command9; command10.Caption = ""; command10.Enable = false; command10.Visibility = BarItemVisibility.Never; button.FilterStock = command10; command11.Caption = ""; command11.Enable = false; command11.Visibility = BarItemVisibility.Never; button.Find = command11; button.GClose = false; button.GCommand = false; button.GExport = false; command12.Caption = ""; command12.Enable = false; command12.Visibility = BarItemVisibility.Never; button.Go = command12; button.GOption = false; button.GPrint = false; button.GRecords = false; button.GSearchBar = false; button.GSettings = false; button.GVaildation = false; command13.Caption = ""; command13.Enable = false; command13.Visibility = BarItemVisibility.Never; button.Import = command13; command14.Caption = ""; command14.Enable = false; command14.Visibility = BarItemVisibility.Never; button.Next = command14; command15.Caption = ""; command15.Enable = false; command15.Visibility = BarItemVisibility.Never; button.PageSetup = command15; button.PHome = false; command16.Caption = ""; command16.Enable = false; command16.Visibility = BarItemVisibility.Never; button.Previous = command16; command17.Caption = ""; command17.Enable = false; command17.Visibility = BarItemVisibility.Never; button.Print = command17; command18.Caption = ""; command18.Enable = false; command18.Visibility = BarItemVisibility.Never; button.PrintPreview = command18; button.PTool = false; command19.Caption = ""; command19.Enable = false; command19.Visibility = BarItemVisibility.Never; button.Redo = command19; command20.Caption = ""; command20.Enable = false; command20.Visibility = BarItemVisibility.Never; button.Refresh = command20; command21.Caption = ""; command21.Enable = false; command21.Visibility = BarItemVisibility.Never; button.Save = command21; command22.Caption = ""; command22.Enable = false; command22.Visibility = BarItemVisibility.Never; button.SaveAndClose = command22; command23.Caption = ""; command23.Enable = false; command23.Visibility = BarItemVisibility.Never; button.SaveAndNew = command23; command24.Caption = ""; command24.Enable = false; command24.Visibility = BarItemVisibility.Never; button.Search = command24; command25.Caption = ""; command25.Enable = false; command25.Visibility = BarItemVisibility.Never; button.SearchText = command25; command26.Caption = ""; command26.Enable = false; command26.Visibility = BarItemVisibility.Never; button.Task = command26; command27.Caption = ""; command27.Enable = false; command27.Visibility = BarItemVisibility.Never; button.Undo = command27; command28.Caption = ""; command28.Enable = false; command28.Visibility = BarItemVisibility.Never; button.Vaildate = command28; command29.Caption = ""; command29.Enable = false; command29.Visibility = BarItemVisibility.Never; button.View = command29; this.ucToolBar.RibbonBar = button; this.ucToolBar.Size = new Size(0x2f9, 0x2b); this.ucToolBar.Status = Actions.Add; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; this.ucToolBar.Visible = false; this.gbList.Bands.AddRange(new GridBand[] { this.gridBand1 }); this.gbList.BorderStyle = BorderStyles.NoBorder; this.gbList.FocusRectStyle = DrawFocusRectStyle.RowFocus; this.gbList.GridControl = this.gcList; this.gbList.GroupSummary.AddRange(new GridSummaryItem[] { new GridGroupSummaryItem(SummaryItemType.None, "", null, "") }); this.gbList.IndicatorWidth = 0x2d; this.gbList.Name = "gbList"; this.gbList.OptionsPrint.ExpandAllDetails = true; this.gbList.OptionsPrint.PrintDetails = true; this.gbList.OptionsPrint.PrintFilterInfo = true; this.gbList.OptionsPrint.PrintPreview = true; this.gbList.OptionsSelection.InvertSelection = true; this.gbList.OptionsSelection.MultiSelect = true; this.gbList.OptionsView.ColumnAutoWidth = true; this.gbList.OptionsView.EnableAppearanceEvenRow = true; this.gbList.OptionsView.HeaderFilterButtonShowMode = FilterButtonShowMode.Button; this.gbList.OptionsView.NewItemRowPosition = NewItemRowPosition.Bottom; this.gbList.OptionsView.ShowBands = false; this.gbList.OptionsView.ShowDetailButtons = false; this.gbList.OptionsView.ShowGroupPanel = false; this.gbList.ShowButtonMode = ShowButtonModeEnum.ShowAlways; this.gbList.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); this.gbList.KeyDown += new KeyEventHandler(this.gbList_KeyDown); this.gbList.Click += new EventHandler(this.gbList_Click); this.gbList.Layout += new EventHandler(this.gbList_Layout); this.gbList.MouseDown += new MouseEventHandler(this.gbList_MouseDown); this.gbList.DoubleClick += new EventHandler(this.gbList_DoubleClick); this.gbList.RowCellClick += new RowCellClickEventHandler(this.gbList_RowCellClick); this.gridBand1.Caption = "DANH MỤC"; this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.ShowCaption = false; this.gridBand1.ToolTip = "DANH MỤC"; this.gcList.Dock = DockStyle.Fill; this.gcList.EmbeddedNavigator.Buttons.Append.Visible = false; this.gcList.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gcList.EmbeddedNavigator.TextStringFormat = "{0}/{1}"; this.gcList.Location = new Point(0, 0x2b); this.gcList.LookAndFeel.SkinName = "Office 2007 Black"; this.gcList.MainView = this.gbList; this.gcList.Name = "gcList"; this.gcList.Size = new Size(0x2f9, 0x1c6); this.gcList.TabIndex = 10; this.gcList.UseEmbeddedNavigator = true; this.gcList.ViewCollection.AddRange(new BaseView[] { this.gbList }); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.gcList); base.Controls.Add(this.ucToolBar); this.DoubleBuffered = true; base.Name = "xucBaseBasicD"; base.Size = new Size(0x2f9, 0x1f1); this.gbList.EndInit(); this.gcList.EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.ucToolBar = new XucToolBar(); this.tList = new TreeList(); this.gbList = new AdvBandedGridView(); this.gridBand1 = new GridBand(); this.gcList = new GridControl(); this.panelControl1 = new PanelControl(); this.tList.BeginInit(); this.gbList.BeginInit(); this.gcList.BeginInit(); this.panelControl1.BeginInit(); this.panelControl1.SuspendLayout(); base.SuspendLayout(); this.ucToolBar.ButtonAdd = BarItemVisibility.Always; this.ucToolBar.ButtonCancel = BarItemVisibility.Never; this.ucToolBar.ButtonChange = BarItemVisibility.Never; this.ucToolBar.ButtonDelete = BarItemVisibility.Always; this.ucToolBar.ButtonEdit = BarItemVisibility.Always; this.ucToolBar.ButtonExport = BarItemVisibility.Always; this.ucToolBar.ButtonOption = BarItemVisibility.Never; this.ucToolBar.ButtonPrint = BarItemVisibility.Always; this.ucToolBar.ButtonSave = BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = BarItemVisibility.Never; this.ucToolBar.Dock = DockStyle.Top; this.ucToolBar.IsClose = CloseOrNew.None; this.ucToolBar.Location = new Point(0, 0); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.Size = new Size(0x2f9, 0x2b); this.ucToolBar.Status = Actions.Add; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; this.tList.Dock = DockStyle.Left; this.tList.Location = new Point(0, 0x2b); this.tList.Name = "tList"; this.tList.Size = new Size(270, 0x1c6); this.tList.TabIndex = 11; this.gbList.Bands.AddRange(new GridBand[] { this.gridBand1 }); this.gbList.GridControl = this.gcList; this.gbList.GroupSummary.AddRange(new GridSummaryItem[] { new GridGroupSummaryItem(DevExpress.Data.SummaryItemType.None, "", null, "") }); this.gbList.IndicatorWidth = 0x2d; this.gbList.Name = "gbList"; this.gbList.OptionsPrint.ExpandAllDetails = true; this.gbList.OptionsPrint.PrintDetails = true; this.gbList.OptionsPrint.PrintFilterInfo = true; this.gbList.OptionsPrint.PrintPreview = true; this.gbList.OptionsSelection.InvertSelection = true; this.gbList.OptionsSelection.MultiSelect = true; this.gbList.OptionsView.ColumnAutoWidth = true; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowBands = false; this.gbList.OptionsView.ShowDetailButtons = false; this.gbList.OptionsView.ShowFooter = true; this.gbList.OptionsView.ShowGroupPanel = false; this.gbList.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gbList.CustomDrawRowIndicator += new RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); this.gbList.KeyDown += new KeyEventHandler(this.gbList_KeyDown); this.gbList.Click += new EventHandler(this.gbList_Click); this.gbList.Layout += new EventHandler(this.gbList_Layout); this.gbList.MouseDown += new MouseEventHandler(this.gbList_MouseDown); this.gbList.DoubleClick += new EventHandler(this.gbList_DoubleClick); this.gbList.RowCellClick += new RowCellClickEventHandler(this.gbList_RowCellClick); this.gridBand1.Caption = "DANH MỤC"; this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.ShowCaption = false; this.gridBand1.ToolTip = "DANH MỤC"; this.gcList.Dock = DockStyle.Fill; this.gcList.Location = new Point(2, 2); this.gcList.LookAndFeel.SkinName = "Office 2007 Black"; this.gcList.MainView = this.gbList; this.gcList.Name = "gcList"; this.gcList.Size = new Size(0x1e7, 450); this.gcList.TabIndex = 10; this.gcList.ViewCollection.AddRange(new BaseView[] { this.gbList }); this.panelControl1.Controls.Add(this.gcList); this.panelControl1.Dock = DockStyle.Fill; this.panelControl1.Location = new Point(270, 0x2b); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new Size(0x1eb, 0x1c6); this.panelControl1.TabIndex = 12; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.panelControl1); base.Controls.Add(this.tList); base.Controls.Add(this.ucToolBar); this.DoubleBuffered = true; base.Name = "xucBaseBasicA"; base.Size = new Size(0x2f9, 0x1f1); this.tList.EndInit(); this.gbList.EndInit(); this.gcList.EndInit(); this.panelControl1.EndInit(); this.panelControl1.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { Vssoft.Common.MenuButton menuButton1 = new Vssoft.Common.MenuButton(); Vssoft.Common.ItemCommand itemCommand1 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand2 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand3 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand4 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand5 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand6 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand7 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand8 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand9 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand10 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand11 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand12 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand13 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand14 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand15 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand16 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand17 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand18 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand19 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand20 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand21 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand22 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand23 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand24 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand25 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand26 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand27 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand28 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand29 = new Vssoft.Common.ItemCommand(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucBaseBasicView)); this.pnlGroupView = new DevExpress.XtraEditors.PanelControl(); this.pnlViewData = new DevExpress.XtraEditors.PanelControl(); this.ucToolBar = new Vssoft.Common.Base.XucToolBar(); this.gcList = new DevExpress.XtraGrid.GridControl(); this.gbList = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.toastNotificationsManager = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(); ((System.ComponentModel.ISupportInitialize)(this.pnlGroupView)).BeginInit(); this.pnlGroupView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager)).BeginInit(); this.SuspendLayout(); // // pnlGroupView // this.pnlGroupView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlGroupView.Controls.Add(this.pnlViewData); this.pnlGroupView.Controls.Add(this.ucToolBar); this.pnlGroupView.Dock = System.Windows.Forms.DockStyle.Top; this.pnlGroupView.Location = new System.Drawing.Point(0, 0); this.pnlGroupView.Name = "pnlGroupView"; this.pnlGroupView.Size = new System.Drawing.Size(1132, 143); this.pnlGroupView.TabIndex = 11; // // pnlViewData // this.pnlViewData.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlViewData.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlViewData.Location = new System.Drawing.Point(0, 0); this.pnlViewData.Name = "pnlViewData"; this.pnlViewData.Size = new System.Drawing.Size(1132, 100); this.pnlViewData.TabIndex = 1; // // ucToolBar // this.ucToolBar.ButtonAdd = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonCancel = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonChange = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonDelete = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonEdit = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonExport = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonOption = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonPrint = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonSave = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.Dock = System.Windows.Forms.DockStyle.Bottom; this.ucToolBar.IsClose = Vssoft.Common.Common.Class.CloseOrNew.None; this.ucToolBar.Location = new System.Drawing.Point(0, 100); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.NotSave = false; itemCommand1.Caption = ""; itemCommand1.Enable = false; itemCommand1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Add = itemCommand1; itemCommand2.Caption = ""; itemCommand2.Enable = false; itemCommand2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Cancel = itemCommand2; itemCommand3.Caption = ""; itemCommand3.Enable = false; itemCommand3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Change = itemCommand3; itemCommand4.Caption = ""; itemCommand4.Enable = false; itemCommand4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Close = itemCommand4; itemCommand5.Caption = ""; itemCommand5.Enable = false; itemCommand5.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Custom = itemCommand5; itemCommand6.Caption = ""; itemCommand6.Enable = false; itemCommand6.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Delete = itemCommand6; itemCommand7.Caption = ""; itemCommand7.Enable = false; itemCommand7.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Export = itemCommand7; itemCommand8.Caption = ""; itemCommand8.Enable = false; itemCommand8.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Filter = itemCommand8; itemCommand9.Caption = ""; itemCommand9.Enable = false; itemCommand9.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterCustomer = itemCommand9; itemCommand10.Caption = ""; itemCommand10.Enable = false; itemCommand10.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterStock = itemCommand10; itemCommand11.Caption = ""; itemCommand11.Enable = false; itemCommand11.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Find = itemCommand11; menuButton1.GClose = false; menuButton1.GCommand = false; menuButton1.GExport = false; itemCommand12.Caption = ""; itemCommand12.Enable = false; itemCommand12.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Go = itemCommand12; menuButton1.GOption = false; menuButton1.GPrint = false; menuButton1.GRecords = false; menuButton1.GSearchBar = false; menuButton1.GSettings = false; menuButton1.GVaildation = false; itemCommand13.Caption = ""; itemCommand13.Enable = false; itemCommand13.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Import = itemCommand13; itemCommand14.Caption = ""; itemCommand14.Enable = false; itemCommand14.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Next = itemCommand14; itemCommand15.Caption = ""; itemCommand15.Enable = false; itemCommand15.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PageSetup = itemCommand15; menuButton1.PHome = false; itemCommand16.Caption = ""; itemCommand16.Enable = false; itemCommand16.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Previous = itemCommand16; itemCommand17.Caption = ""; itemCommand17.Enable = false; itemCommand17.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Print = itemCommand17; itemCommand18.Caption = ""; itemCommand18.Enable = false; itemCommand18.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PrintPreview = itemCommand18; menuButton1.PTool = false; itemCommand19.Caption = ""; itemCommand19.Enable = false; itemCommand19.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Redo = itemCommand19; itemCommand20.Caption = ""; itemCommand20.Enable = false; itemCommand20.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Refresh = itemCommand20; itemCommand21.Caption = ""; itemCommand21.Enable = false; itemCommand21.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Save = itemCommand21; itemCommand22.Caption = ""; itemCommand22.Enable = false; itemCommand22.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndClose = itemCommand22; itemCommand23.Caption = ""; itemCommand23.Enable = false; itemCommand23.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndNew = itemCommand23; itemCommand24.Caption = ""; itemCommand24.Enable = false; itemCommand24.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Search = itemCommand24; itemCommand25.Caption = ""; itemCommand25.Enable = false; itemCommand25.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SearchText = itemCommand25; itemCommand26.Caption = ""; itemCommand26.Enable = false; itemCommand26.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Task = itemCommand26; itemCommand27.Caption = ""; itemCommand27.Enable = false; itemCommand27.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Undo = itemCommand27; itemCommand28.Caption = ""; itemCommand28.Enable = false; itemCommand28.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Vaildate = itemCommand28; itemCommand29.Caption = ""; itemCommand29.Enable = false; itemCommand29.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.View = itemCommand29; this.ucToolBar.RibbonBar = menuButton1; this.ucToolBar.Size = new System.Drawing.Size(1132, 43); this.ucToolBar.Status = Vssoft.Common.Common.Class.Actions.None; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; this.ucToolBar.CancelClick += new Vssoft.Common.Common.Class.ButtonClickEventHander(this.ucToolBar_CancelClick); this.ucToolBar.SaveNewClick += new Vssoft.Common.Common.Class.ButtonClickEventHander(this.ucToolBar_SaveNewClick); // // gcList // this.gcList.Dock = System.Windows.Forms.DockStyle.Fill; this.gcList.EmbeddedNavigator.Buttons.Append.Visible = false; this.gcList.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gcList.EmbeddedNavigator.TextStringFormat = "{0}/{1}"; this.gcList.Location = new System.Drawing.Point(0, 143); this.gcList.LookAndFeel.SkinName = "Office 2007 Black"; this.gcList.MainView = this.gbList; this.gcList.Name = "gcList"; this.gcList.Size = new System.Drawing.Size(1132, 457); this.gcList.TabIndex = 12; this.gcList.UseEmbeddedNavigator = true; this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gbList }); this.gcList.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gcList_MouseUp); // // gbList // this.gbList.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1 }); this.gbList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat; this.gbList.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gbList.GridControl = this.gcList; this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.None, "", null, "") }); this.gbList.IndicatorWidth = 45; this.gbList.Name = "gbList"; this.gbList.OptionsPrint.ExpandAllDetails = true; this.gbList.OptionsPrint.PrintDetails = true; this.gbList.OptionsPrint.PrintFilterInfo = true; this.gbList.OptionsPrint.PrintPreview = true; this.gbList.OptionsSelection.InvertSelection = true; this.gbList.OptionsSelection.MultiSelect = true; this.gbList.OptionsView.ColumnAutoWidth = true; this.gbList.OptionsView.EnableAppearanceEvenRow = true; this.gbList.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowBands = false; this.gbList.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gbList.OptionsView.ShowDetailButtons = false; this.gbList.OptionsView.ShowGroupPanel = false; this.gbList.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gbList_RowCellClick); this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); this.gbList.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gbList_FocusedRowChanged); this.gbList.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gbList_KeyDown); this.gbList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gbList_MouseDown); this.gbList.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gbList_MouseUp); this.gbList.Click += new System.EventHandler(this.gbList_Click); this.gbList.DoubleClick += new System.EventHandler(this.gbList_DoubleClick); this.gbList.Layout += new System.EventHandler(this.gbList_Layout); // // gridBand1 // this.gridBand1.Caption = "DANH MỤC"; this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.ShowCaption = false; this.gridBand1.ToolTip = "DANH MỤC"; this.gridBand1.VisibleIndex = 0; // // toastNotificationsManager // this.toastNotificationsManager.ApplicationId = "8397c21b-3d47-48a4-8c8e-8ff3217d1fb2"; this.toastNotificationsManager.ApplicationName = "Vssoft.Common"; this.toastNotificationsManager.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] { new DevExpress.XtraBars.ToastNotifications.ToastNotification("a84d28f6-2e00-4134-a39d-d4effbacd468", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications"))), "", "Thêm mới thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("a67f5081-87b8-4df8-aeed-5679d7ddedec", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications1"))), "", "Cập nhật thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("74366fee-5902-4a5f-8d09-f2a26c08ac23", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications2"))), "", "Xóa bản ghi thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("d445bb91-4fda-41f9-9fe4-92c2ad47745e", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications3"))), "", "Thao tác chưa được thực hiện thành công, thử lại sau.", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("8e062083-d7a4-48ba-bb43-144c45a8783d", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications4"))), "", "Không xóa được bản ghi này, kiểm tra lại dữ liệu.", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01) }); // // ucBaseBasicView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.gcList); this.Controls.Add(this.pnlGroupView); this.DoubleBuffered = true; this.Name = "ucBaseBasicView"; this.Size = new System.Drawing.Size(1132, 600); ((System.ComponentModel.ISupportInitialize)(this.pnlGroupView)).EndInit(); this.pnlGroupView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { Vssoft.Common.MenuButton menuButton1 = new Vssoft.Common.MenuButton(); Vssoft.Common.ItemCommand itemCommand1 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand2 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand3 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand4 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand5 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand6 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand7 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand8 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand9 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand10 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand11 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand12 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand13 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand14 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand15 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand16 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand17 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand18 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand19 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand20 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand21 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand22 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand23 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand24 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand25 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand26 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand27 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand28 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand29 = new Vssoft.Common.ItemCommand(); this.ucToolBar = new Vssoft.Common.Base.XucToolBar(); this.gbList = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gcList = new DevExpress.XtraGrid.GridControl(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit(); this.SuspendLayout(); // // ucToolBar // this.ucToolBar.ButtonAdd = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonCancel = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonChange = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonDelete = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonEdit = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonExport = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonOption = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonPrint = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonSave = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.Dock = System.Windows.Forms.DockStyle.Top; this.ucToolBar.IsClose = Vssoft.Common.Common.Class.CloseOrNew.None; this.ucToolBar.Location = new System.Drawing.Point(0, 0); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.NotSave = false; itemCommand1.Caption = ""; itemCommand1.Enable = false; itemCommand1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Add = itemCommand1; itemCommand2.Caption = ""; itemCommand2.Enable = false; itemCommand2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Cancel = itemCommand2; itemCommand3.Caption = ""; itemCommand3.Enable = false; itemCommand3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Change = itemCommand3; itemCommand4.Caption = ""; itemCommand4.Enable = false; itemCommand4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Close = itemCommand4; itemCommand5.Caption = ""; itemCommand5.Enable = false; itemCommand5.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Custom = itemCommand5; itemCommand6.Caption = ""; itemCommand6.Enable = false; itemCommand6.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Delete = itemCommand6; itemCommand7.Caption = ""; itemCommand7.Enable = false; itemCommand7.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Export = itemCommand7; itemCommand8.Caption = ""; itemCommand8.Enable = false; itemCommand8.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Filter = itemCommand8; itemCommand9.Caption = ""; itemCommand9.Enable = false; itemCommand9.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterCustomer = itemCommand9; itemCommand10.Caption = ""; itemCommand10.Enable = false; itemCommand10.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterStock = itemCommand10; itemCommand11.Caption = ""; itemCommand11.Enable = false; itemCommand11.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Find = itemCommand11; menuButton1.GClose = false; menuButton1.GCommand = false; menuButton1.GExport = false; itemCommand12.Caption = ""; itemCommand12.Enable = false; itemCommand12.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Go = itemCommand12; menuButton1.GOption = false; menuButton1.GPrint = false; menuButton1.GRecords = false; menuButton1.GSearchBar = false; menuButton1.GSettings = false; menuButton1.GVaildation = false; itemCommand13.Caption = ""; itemCommand13.Enable = false; itemCommand13.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Import = itemCommand13; itemCommand14.Caption = ""; itemCommand14.Enable = false; itemCommand14.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Next = itemCommand14; itemCommand15.Caption = ""; itemCommand15.Enable = false; itemCommand15.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PageSetup = itemCommand15; menuButton1.PHome = false; itemCommand16.Caption = ""; itemCommand16.Enable = false; itemCommand16.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Previous = itemCommand16; itemCommand17.Caption = ""; itemCommand17.Enable = false; itemCommand17.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Print = itemCommand17; itemCommand18.Caption = ""; itemCommand18.Enable = false; itemCommand18.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PrintPreview = itemCommand18; menuButton1.PTool = false; itemCommand19.Caption = ""; itemCommand19.Enable = false; itemCommand19.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Redo = itemCommand19; itemCommand20.Caption = ""; itemCommand20.Enable = false; itemCommand20.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Refresh = itemCommand20; itemCommand21.Caption = ""; itemCommand21.Enable = false; itemCommand21.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Save = itemCommand21; itemCommand22.Caption = ""; itemCommand22.Enable = false; itemCommand22.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndClose = itemCommand22; itemCommand23.Caption = ""; itemCommand23.Enable = false; itemCommand23.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndNew = itemCommand23; itemCommand24.Caption = ""; itemCommand24.Enable = false; itemCommand24.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Search = itemCommand24; itemCommand25.Caption = ""; itemCommand25.Enable = false; itemCommand25.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SearchText = itemCommand25; itemCommand26.Caption = ""; itemCommand26.Enable = false; itemCommand26.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Task = itemCommand26; itemCommand27.Caption = ""; itemCommand27.Enable = false; itemCommand27.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Undo = itemCommand27; itemCommand28.Caption = ""; itemCommand28.Enable = false; itemCommand28.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Vaildate = itemCommand28; itemCommand29.Caption = ""; itemCommand29.Enable = false; itemCommand29.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.View = itemCommand29; this.ucToolBar.RibbonBar = menuButton1; this.ucToolBar.Size = new System.Drawing.Size(761, 43); this.ucToolBar.Status = Vssoft.Common.Common.Class.Actions.Add; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; // // gbList // this.gbList.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1 }); this.gbList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gbList.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gbList.GridControl = this.gcList; this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.None, "", null, "") }); this.gbList.IndicatorWidth = 45; this.gbList.Name = "gbList"; this.gbList.OptionsPrint.ExpandAllDetails = true; this.gbList.OptionsPrint.PrintDetails = true; this.gbList.OptionsPrint.PrintFilterInfo = true; this.gbList.OptionsPrint.PrintPreview = true; this.gbList.OptionsSelection.InvertSelection = true; this.gbList.OptionsSelection.MultiSelect = true; this.gbList.OptionsView.ColumnAutoWidth = true; this.gbList.OptionsView.EnableAppearanceEvenRow = true; this.gbList.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowBands = false; this.gbList.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gbList.OptionsView.ShowDetailButtons = false; this.gbList.OptionsView.ShowGroupPanel = false; this.gbList.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gbList_RowCellClick); this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); this.gbList.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gbList_KeyDown); this.gbList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gbList_MouseDown); this.gbList.Click += new System.EventHandler(this.gbList_Click); this.gbList.DoubleClick += new System.EventHandler(this.gbList_DoubleClick); this.gbList.Layout += new System.EventHandler(this.gbList_Layout); // // gridBand1 // this.gridBand1.Caption = "DANH MỤC"; this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.ShowCaption = false; this.gridBand1.ToolTip = "DANH MỤC"; this.gridBand1.VisibleIndex = 0; // // gcList // this.gcList.Dock = System.Windows.Forms.DockStyle.Fill; this.gcList.EmbeddedNavigator.Buttons.Append.Visible = false; this.gcList.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gcList.EmbeddedNavigator.TextStringFormat = "{0}/{1}"; this.gcList.Location = new System.Drawing.Point(0, 43); this.gcList.MainView = this.gbList; this.gcList.Name = "gcList"; this.gcList.Size = new System.Drawing.Size(761, 454); this.gcList.TabIndex = 10; this.gcList.UseEmbeddedNavigator = true; this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gbList }); // // xucBaseBasic // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.gcList); this.Controls.Add(this.ucToolBar); this.DoubleBuffered = true; this.Name = "xucBaseBasic"; this.Size = new System.Drawing.Size(761, 497); ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit(); this.ResumeLayout(false); }