| | |
| | | using System.Drawing; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace HStation.WinFrmUI.PBS |
| | | namespace PBS.WinFrmUI |
| | | { |
| | | partial class PlaceMgrPage |
| | | { |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PlaceMgrPage)); |
| | | 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(); |
| | | gridView1 = new GridView(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPlaceType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPlaceInfo = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | colUseStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnRefresh = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDetail = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnUpdateTagName = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnUpdateUseStatus = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCekSearch = new DevExpress.XtraBars.BarCheckItem(); |
| | | barSubItem1 = new DevExpress.XtraBars.BarSubItem(); |
| | | btnAddBuilding = new DevExpress.XtraBars.BarButtonItem(); |
| | | btnAddschool = new DevExpress.XtraBars.BarButtonItem(); |
| | | btnAddHospital = new DevExpress.XtraBars.BarButtonItem(); |
| | | btnAddShop = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCkDrag = new DevExpress.XtraBars.BarCheckItem(); |
| | | barBtnUp = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDown = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)behaviorManager1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = placeViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 104); |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(3, 4, 3, 4); |
| | | gridControl1.Location = new Point(0, 128); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Margin = new Padding(3, 4, 3, 4); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(818, 577); |
| | | gridControl1.Size = new Size(935, 748); |
| | | gridControl1.TabIndex = 18; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // placeViewModelBindingSource |
| | | // |
| | | placeViewModelBindingSource.DataSource = typeof(PlaceViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colRegionID, colName, colPlaceType, colPlaceInfo, colAddress, colParas, colFlags, colTagName, colUseStatus, colSortCode, colDescription }); |
| | | behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colPlaceType, colPlaceInfo, colAddress, colParas, colFlags, colTagName, colUseStatus, colSortCode, colDescription }); |
| | | gridView1.DetailHeight = 450; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsDetail.EnableMasterViewMode = false; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 914; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.MinWidth = 23; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 86; |
| | | // |
| | | // colPlaceType |
| | | // |
| | | colPlaceType.FieldName = "PlaceType"; |
| | | colPlaceType.MinWidth = 23; |
| | | colPlaceType.Name = "colPlaceType"; |
| | | colPlaceType.Visible = true; |
| | | colPlaceType.VisibleIndex = 1; |
| | | colPlaceType.Width = 86; |
| | | // |
| | | // colPlaceInfo |
| | | // |
| | | colPlaceInfo.FieldName = "PlaceInfo"; |
| | | colPlaceInfo.MinWidth = 23; |
| | | colPlaceInfo.Name = "colPlaceInfo"; |
| | | colPlaceInfo.Width = 86; |
| | | // |
| | | // colAddress |
| | | // |
| | | colAddress.FieldName = "Address"; |
| | | colAddress.MinWidth = 23; |
| | | colAddress.Name = "colAddress"; |
| | | colAddress.Visible = true; |
| | | colAddress.VisibleIndex = 2; |
| | | colAddress.Width = 86; |
| | | // |
| | | // colParas |
| | | // |
| | | colParas.FieldName = "Paras"; |
| | | colParas.MinWidth = 23; |
| | | colParas.Name = "colParas"; |
| | | colParas.Width = 86; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.MinWidth = 23; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 3; |
| | | colFlags.Width = 86; |
| | | // |
| | | // colTagName |
| | | // |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.MinWidth = 23; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 4; |
| | | colTagName.Width = 86; |
| | | // |
| | | // colUseStatus |
| | | // |
| | | colUseStatus.FieldName = "UseStatus"; |
| | | colUseStatus.MinWidth = 23; |
| | | colUseStatus.Name = "colUseStatus"; |
| | | colUseStatus.Visible = true; |
| | | colUseStatus.VisibleIndex = 5; |
| | | colUseStatus.Width = 86; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.MinWidth = 23; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Width = 86; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 23; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 6; |
| | | colDescription.Width = 86; |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.DrawGroupsBorderMode = DefaultBoolean.False; |
| | | ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(34, 39, 34, 39); |
| | | 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEdit, barBtnRefresh, barBtnDelete, barBtnDetail, barBtnUpdateTagName, barBtnUpdateUseStatus, barCekSearch, barSubItem1, btnAddBuilding, btnAddschool, btnAddHospital, btnAddShop, barCkDrag, barBtnUp, barBtnDown }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 28; |
| | | ribbonControl1.Margin = new Padding(3, 4, 3, 4); |
| | | ribbonControl1.MaxItemId = 39; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.OptionsMenuMinWidth = 377; |
| | | 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.Size = new Size(935, 128); |
| | | 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.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnEdit.ImageOptions.SvgImage"); |
| | | barBtnEdit.Name = "barBtnEdit"; |
| | | barBtnEdit.ItemClick += barBtnEdit_ItemClick; |
| | | // |
| | | // barBtnRefresh |
| | | // |
| | | barBtnRefresh.Caption = "刷新"; |
| | | barBtnRefresh.Id = 18; |
| | | barBtnRefresh.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnRefresh.ImageOptions.SvgImage"); |
| | | barBtnRefresh.Name = "barBtnRefresh"; |
| | | barBtnRefresh.ItemClick += barBtnRefresh_ItemClick; |
| | | // |
| | | // barBtnDelete |
| | | // |
| | | barBtnDelete.Caption = "删除"; |
| | | barBtnDelete.Id = 19; |
| | | barBtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDelete.ImageOptions.SvgImage"); |
| | | barBtnDelete.Name = "barBtnDelete"; |
| | | // |
| | | // barBtnUpdateSortCode |
| | | // |
| | | barBtnUpdateSortCode.Caption = "排序码"; |
| | | barBtnUpdateSortCode.Id = 20; |
| | | barBtnUpdateSortCode.Name = "barBtnUpdateSortCode"; |
| | | barBtnDelete.ItemClick += barBtnDelete_ItemClick; |
| | | // |
| | | // barBtnDetail |
| | | // |
| | | barBtnDetail.Caption = "详情"; |
| | | barBtnDetail.Id = 22; |
| | | barBtnDetail.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDetail.ImageOptions.SvgImage"); |
| | | barBtnDetail.Name = "barBtnDetail"; |
| | | // |
| | | // barBtnUpdateTagName |
| | | // |
| | | barBtnUpdateTagName.Caption = "标签名称"; |
| | | barBtnUpdateTagName.Id = 23; |
| | | barBtnUpdateTagName.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnUpdateTagName.ImageOptions.SvgImage"); |
| | | barBtnUpdateTagName.Name = "barBtnUpdateTagName"; |
| | | // |
| | | // barBtnUpdateUseStatus |
| | | // |
| | | barBtnUpdateUseStatus.Caption = "使用状态"; |
| | | barBtnUpdateUseStatus.Id = 24; |
| | | barBtnUpdateUseStatus.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnUpdateUseStatus.ImageOptions.SvgImage"); |
| | | barBtnUpdateUseStatus.Name = "barBtnUpdateUseStatus"; |
| | | // |
| | | // barCekSearch |
| | | // |
| | | barCekSearch.Caption = "检索"; |
| | | barCekSearch.Id = 25; |
| | | barCekSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekSearch.ImageOptions.SvgImage"); |
| | | barCekSearch.Name = "barCekSearch"; |
| | | barCekSearch.CheckedChanged += barCekSearch_CheckedChanged; |
| | | // |
| | | // barSubItem1 |
| | | // |
| | | barSubItem1.Caption = "添加"; |
| | | barSubItem1.Id = 31; |
| | | barSubItem1.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubItem1.ImageOptions.SvgImage"); |
| | | barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(btnAddBuilding), new DevExpress.XtraBars.LinkPersistInfo(btnAddschool), new DevExpress.XtraBars.LinkPersistInfo(btnAddHospital), new DevExpress.XtraBars.LinkPersistInfo(btnAddShop) }); |
| | | barSubItem1.Name = "barSubItem1"; |
| | | // |
| | | // btnAddBuilding |
| | | // |
| | | btnAddBuilding.Caption = "小区"; |
| | | btnAddBuilding.Id = 32; |
| | | btnAddBuilding.Name = "btnAddBuilding"; |
| | | btnAddBuilding.ItemClick += btnAddBuilding_ItemClick; |
| | | // |
| | | // btnAddschool |
| | | // |
| | | btnAddschool.Caption = "学校"; |
| | | btnAddschool.Id = 33; |
| | | btnAddschool.Name = "btnAddschool"; |
| | | btnAddschool.ItemClick += btnAddschool_ItemClick; |
| | | // |
| | | // btnAddHospital |
| | | // |
| | | btnAddHospital.Caption = "医院"; |
| | | btnAddHospital.Id = 34; |
| | | btnAddHospital.Name = "btnAddHospital"; |
| | | btnAddHospital.ItemClick += btnAddHospital_ItemClick; |
| | | // |
| | | // btnAddShop |
| | | // |
| | | btnAddShop.Caption = "商铺"; |
| | | btnAddShop.Id = 35; |
| | | btnAddShop.Name = "btnAddShop"; |
| | | btnAddShop.ItemClick += btnAddShop_ItemClick; |
| | | // |
| | | // barCkDrag |
| | | // |
| | | barCkDrag.Caption = "拖拽排序"; |
| | | barCkDrag.Id = 36; |
| | | barCkDrag.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkDrag.ImageOptions.SvgImage"); |
| | | barCkDrag.Name = "barCkDrag"; |
| | | barCkDrag.CheckedChanged += barCkDrag_CheckedChanged; |
| | | // |
| | | // barBtnUp |
| | | // |
| | | barBtnUp.Caption = "上移"; |
| | | barBtnUp.Id = 37; |
| | | barBtnUp.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnUp.ImageOptions.SvgImage"); |
| | | barBtnUp.Name = "barBtnUp"; |
| | | barBtnUp.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText; |
| | | barBtnUp.ItemClick += barButtonItem1_ItemClick; |
| | | // |
| | | // barBtnDown |
| | | // |
| | | barBtnDown.Caption = "下移"; |
| | | barBtnDown.Id = 38; |
| | | barBtnDown.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDown.ImageOptions.SvgImage"); |
| | | barBtnDown.Name = "barBtnDown"; |
| | | barBtnDown.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText; |
| | | barBtnDown.ItemClick += barBtnDown_ItemClick; |
| | | // |
| | | // ribbonPage |
| | | // |
| | | ribbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1, ribbonPageGroup2 }); |
| | | ribbonPage.Name = "ribbonPage"; |
| | | ribbonPage.Text = "基础操作"; |
| | | // |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnAdd); |
| | | ribbonPageGroup1.ItemLinks.Add(barSubItem1); |
| | | 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 |
| | | // ribbonPageGroup2 |
| | | // |
| | | placeViewModelBindingSource.DataSource = typeof(PlaceViewModel); |
| | | ribbonPageGroup2.ItemLinks.Add(barCkDrag); |
| | | ribbonPageGroup2.ItemLinks.Add(barBtnUp); |
| | | ribbonPageGroup2.ItemLinks.Add(barBtnDown); |
| | | ribbonPageGroup2.Name = "ribbonPageGroup2"; |
| | | ribbonPageGroup2.Text = "ribbonPageGroup2"; |
| | | // |
| | | // colID |
| | | // dragDropEvents1 |
| | | // |
| | | 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; |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // PlaceMgrPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(8F, 18F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Controls.Add(ribbonControl1); |
| | | Margin = new Padding(3, 5, 3, 5); |
| | | Name = "PlaceMgrPage"; |
| | | Size = new Size(818, 681); |
| | | Size = new Size(935, 876); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)placeViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)behaviorManager1).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | 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.XtraGrid.Columns.GridColumn colUseStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSortCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraBars.BarSubItem barSubItem1; |
| | | private DevExpress.XtraBars.BarButtonItem btnAddBuilding; |
| | | private DevExpress.XtraBars.BarButtonItem btnAddschool; |
| | | private DevExpress.XtraBars.BarButtonItem btnAddHospital; |
| | | private DevExpress.XtraBars.BarButtonItem btnAddShop; |
| | | private DevExpress.XtraBars.BarCheckItem barCkDrag; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnUp; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDown; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2; |
| | | private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1; |
| | | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; |
| | | } |
| | | } |