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); }