| | |
| | | namespace HStation.WinFrmUI.PBS |
| | | using DevExpress.Utils; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using System; |
| | | using System.ComponentModel; |
| | | using System.Drawing; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace HStation.WinFrmUI.PBS |
| | | { |
| | | partial class PlaceMgrPage |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | private IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// Clean up any resources being used. |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | components = new Container(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new GridView(); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnRefresh = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnUpdateSortCode = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDetail = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnUpdateTagName = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnUpdateUseStatus = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCekSearch = new DevExpress.XtraBars.BarCheckItem(); |
| | | ribbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | placeViewModelBindingSource = new BindingSource(components); |
| | | colID = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRegionID = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPlaceType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPlaceInfo = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colAddress = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colParas = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colUseStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = placeViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 104); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(818, 577); |
| | | gridControl1.TabIndex = 18; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colRegionID, colName, colPlaceType, colPlaceInfo, colAddress, colParas, colFlags, colTagName, colUseStatus, colSortCode, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsDetail.EnableMasterViewMode = false; |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.DrawGroupsBorderMode = DefaultBoolean.False; |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnRefresh, barBtnDelete, barBtnUpdateSortCode, barBtnDetail, barBtnUpdateTagName, barBtnUpdateUseStatus, barCekSearch }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 28; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage }); |
| | | ribbonControl1.ShowApplicationButton = DefaultBoolean.False; |
| | | ribbonControl1.ShowExpandCollapseButton = DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; |
| | | ribbonControl1.Size = new Size(818, 104); |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | | // barBtnAdd |
| | | // |
| | | barBtnAdd.Caption = "添加"; |
| | | barBtnAdd.Id = 16; |
| | | barBtnAdd.Name = "barBtnAdd"; |
| | | barBtnAdd.ItemClick += barBtnAdd_ItemClick; |
| | | // |
| | | // barBtnEdit |
| | | // |
| | | barBtnEdit.Caption = "编辑"; |
| | | barBtnEdit.Id = 17; |
| | | barBtnEdit.Name = "barBtnEdit"; |
| | | // |
| | | // barBtnRefresh |
| | | // |
| | | barBtnRefresh.Caption = "刷新"; |
| | | barBtnRefresh.Id = 18; |
| | | barBtnRefresh.Name = "barBtnRefresh"; |
| | | // |
| | | // barBtnDelete |
| | | // |
| | | barBtnDelete.Caption = "删除"; |
| | | barBtnDelete.Id = 19; |
| | | barBtnDelete.Name = "barBtnDelete"; |
| | | // |
| | | // barBtnUpdateSortCode |
| | | // |
| | | barBtnUpdateSortCode.Caption = "排序码"; |
| | | barBtnUpdateSortCode.Id = 20; |
| | | barBtnUpdateSortCode.Name = "barBtnUpdateSortCode"; |
| | | // |
| | | // barBtnDetail |
| | | // |
| | | barBtnDetail.Caption = "详情"; |
| | | barBtnDetail.Id = 22; |
| | | barBtnDetail.Name = "barBtnDetail"; |
| | | // |
| | | // barBtnUpdateTagName |
| | | // |
| | | barBtnUpdateTagName.Caption = "标签名称"; |
| | | barBtnUpdateTagName.Id = 23; |
| | | barBtnUpdateTagName.Name = "barBtnUpdateTagName"; |
| | | // |
| | | // barBtnUpdateUseStatus |
| | | // |
| | | barBtnUpdateUseStatus.Caption = "使用状态"; |
| | | barBtnUpdateUseStatus.Id = 24; |
| | | barBtnUpdateUseStatus.Name = "barBtnUpdateUseStatus"; |
| | | // |
| | | // barCekSearch |
| | | // |
| | | barCekSearch.Caption = "检索"; |
| | | barCekSearch.Id = 25; |
| | | barCekSearch.Name = "barCekSearch"; |
| | | // |
| | | // ribbonPage |
| | | // |
| | | ribbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPage.Name = "ribbonPage"; |
| | | ribbonPage.Text = "基础操作"; |
| | | // |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnAdd); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnEdit); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnDelete); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnDetail); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnUpdateTagName, true); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnUpdateSortCode); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnUpdateUseStatus); |
| | | ribbonPageGroup1.ItemLinks.Add(barCekSearch); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnRefresh); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "基础"; |
| | | // |
| | | // placeViewModelBindingSource |
| | | // |
| | | placeViewModelBindingSource.DataSource = typeof(PlaceViewModel); |
| | | // |
| | | // colID |
| | | // |
| | | colID.FieldName = "ID"; |
| | | colID.Name = "colID"; |
| | | colID.Visible = true; |
| | | colID.VisibleIndex = 0; |
| | | // |
| | | // colRegionID |
| | | // |
| | | colRegionID.FieldName = "RegionID"; |
| | | colRegionID.Name = "colRegionID"; |
| | | colRegionID.Visible = true; |
| | | colRegionID.VisibleIndex = 1; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 2; |
| | | // |
| | | // colPlaceType |
| | | // |
| | | colPlaceType.FieldName = "PlaceType"; |
| | | colPlaceType.Name = "colPlaceType"; |
| | | colPlaceType.Visible = true; |
| | | colPlaceType.VisibleIndex = 3; |
| | | // |
| | | // colPlaceInfo |
| | | // |
| | | colPlaceInfo.FieldName = "PlaceInfo"; |
| | | colPlaceInfo.Name = "colPlaceInfo"; |
| | | colPlaceInfo.Visible = true; |
| | | colPlaceInfo.VisibleIndex = 4; |
| | | // |
| | | // colAddress |
| | | // |
| | | colAddress.FieldName = "Address"; |
| | | colAddress.Name = "colAddress"; |
| | | colAddress.Visible = true; |
| | | colAddress.VisibleIndex = 5; |
| | | // |
| | | // colParas |
| | | // |
| | | colParas.FieldName = "Paras"; |
| | | colParas.Name = "colParas"; |
| | | colParas.Visible = true; |
| | | colParas.VisibleIndex = 6; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 7; |
| | | // |
| | | // colTagName |
| | | // |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 8; |
| | | // |
| | | // colUseStatus |
| | | // |
| | | colUseStatus.FieldName = "UseStatus"; |
| | | colUseStatus.Name = "colUseStatus"; |
| | | colUseStatus.Visible = true; |
| | | colUseStatus.VisibleIndex = 9; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Visible = true; |
| | | colSortCode.VisibleIndex = 10; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 11; |
| | | // |
| | | // PlaceMgrPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Controls.Add(ribbonControl1); |
| | | Name = "PlaceMgrPage"; |
| | | Size = new Size(818, 681); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | | |
| | | #endregion |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private GridView gridView1; |
| | | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnAdd; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnEdit; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnRefresh; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDelete; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnUpdateSortCode; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDetail; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnUpdateTagName; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnUpdateUseStatus; |
| | | private DevExpress.XtraBars.BarCheckItem barCekSearch; |
| | | private BindingSource placeViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colID; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRegionID; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colPlaceType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colPlaceInfo; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colAddress; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colParas; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlags; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colTagName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colUseStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSortCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | } |
| | | } |