using DevExpress.XtraGrid.Views.Grid; using System.ComponentModel; using System.Windows.Forms; namespace PBS.WinFrmUI.WE { partial class WaterWEMgr { /// /// Required designer variable. /// private IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(WaterWEMgr)); gridControl1 = new DevExpress.XtraGrid.GridControl(); itemViewModelBindingSource = new BindingSource(components); gridView1 = new GridView(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colUtensilName = new DevExpress.XtraGrid.Columns.GridColumn(); colUtensilCount = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); colMinRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); barBtnRefresh = new DevExpress.XtraBars.BarButtonItem(); barCekSearch = new DevExpress.XtraBars.BarCheckItem(); barBtnSetting = new DevExpress.XtraBars.BarButtonItem(); BtnDelete = new DevExpress.XtraBars.BarButtonItem(); BtnInfo = new DevExpress.XtraBars.BarButtonItem(); ribbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); catalogueCtrl1 = new CatalogueCtrl(); barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); barBtnSave = new DevExpress.XtraBars.BarButtonItem(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)itemViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)ribbonControl1).BeginInit(); ((ISupportInitialize)dockManager1).BeginInit(); dockPanel1.SuspendLayout(); dockPanel1_Container.SuspendLayout(); SuspendLayout(); // // gridControl1 // gridControl1.DataSource = itemViewModelBindingSource; gridControl1.Dock = DockStyle.Fill; gridControl1.EmbeddedNavigator.Margin = new Padding(3, 4, 3, 4); gridControl1.Location = new Point(200, 128); gridControl1.MainView = gridView1; gridControl1.Margin = new Padding(3, 4, 3, 4); gridControl1.Name = "gridControl1"; gridControl1.Size = new Size(735, 748); gridControl1.TabIndex = 18; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // // itemViewModelBindingSource // itemViewModelBindingSource.DataSource = typeof(ItemViewModel); // // gridView1 // gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colUtensilName, colUtensilCount, colRatedFlow, colMinRatedFlow, colDescription }); gridView1.DetailHeight = 450; gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsDetail.EnableMasterViewMode = false; gridView1.OptionsEditForm.PopupEditFormWidth = 914; // // colName // colName.FieldName = "Name"; colName.MinWidth = 23; colName.Name = "colName"; colName.Visible = true; colName.VisibleIndex = 0; colName.Width = 86; // // colUtensilName // colUtensilName.FieldName = "UtensilName"; colUtensilName.MinWidth = 23; colUtensilName.Name = "colUtensilName"; colUtensilName.Visible = true; colUtensilName.VisibleIndex = 1; colUtensilName.Width = 86; // // colUtensilCount // colUtensilCount.FieldName = "UtensilCount"; colUtensilCount.MinWidth = 23; colUtensilCount.Name = "colUtensilCount"; colUtensilCount.Visible = true; colUtensilCount.VisibleIndex = 2; colUtensilCount.Width = 86; // // colRatedFlow // colRatedFlow.FieldName = "RatedFlow"; colRatedFlow.MinWidth = 23; colRatedFlow.Name = "colRatedFlow"; colRatedFlow.Visible = true; colRatedFlow.VisibleIndex = 3; colRatedFlow.Width = 86; // // colMinRatedFlow // colMinRatedFlow.FieldName = "MinRatedFlow"; colMinRatedFlow.MinWidth = 23; colMinRatedFlow.Name = "colMinRatedFlow"; colMinRatedFlow.Visible = true; colMinRatedFlow.VisibleIndex = 4; colMinRatedFlow.Width = 86; // // colDescription // colDescription.FieldName = "Description"; colDescription.MinWidth = 23; colDescription.Name = "colDescription"; colDescription.Visible = true; colDescription.VisibleIndex = 5; colDescription.Width = 86; // // ribbonControl1 // ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.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, barBtnRefresh, barCekSearch, barBtnSetting, BtnDelete, BtnInfo }); ribbonControl1.Location = new Point(0, 0); ribbonControl1.Margin = new Padding(3, 4, 3, 4); ribbonControl1.MaxItemId = 33; ribbonControl1.Name = "ribbonControl1"; ribbonControl1.OptionsMenuMinWidth = 377; ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage }); ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; ribbonControl1.Size = new Size(935, 128); ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // 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; // // 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; // // barBtnSetting // barBtnSetting.Caption = "设置"; barBtnSetting.Id = 29; barBtnSetting.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetting.ImageOptions.SvgImage"); barBtnSetting.Name = "barBtnSetting"; barBtnSetting.ItemClick += barBtnEdit_ItemClick; // // BtnDelete // BtnDelete.Caption = "删除"; BtnDelete.Id = 31; BtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnDelete.ImageOptions.SvgImage"); BtnDelete.Name = "BtnDelete"; BtnDelete.ItemClick += barBtnDelete_ItemClick; // // BtnInfo // BtnInfo.Caption = "详细信息"; BtnInfo.Id = 32; BtnInfo.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnInfo.ImageOptions.SvgImage"); BtnInfo.Name = "BtnInfo"; BtnInfo.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; BtnInfo.ItemClick += BtnInfo_ItemClick; // // ribbonPage // ribbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); ribbonPage.Name = "ribbonPage"; ribbonPage.Text = "基础操作"; // // ribbonPageGroup1 // ribbonPageGroup1.ItemLinks.Add(barBtnSetting); ribbonPageGroup1.ItemLinks.Add(barCekSearch); ribbonPageGroup1.ItemLinks.Add(barBtnRefresh); ribbonPageGroup1.ItemLinks.Add(BtnDelete); ribbonPageGroup1.ItemLinks.Add(BtnInfo); ribbonPageGroup1.Name = "ribbonPageGroup1"; ribbonPageGroup1.Text = "基础"; // // dockManager1 // dockManager1.Form = this; dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1 }); dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); // // dockPanel1 // dockPanel1.Controls.Add(dockPanel1_Container); dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; dockPanel1.ID = new Guid("583d6725-09f6-4943-a6d1-8cf0d94f9044"); dockPanel1.Location = new Point(0, 128); dockPanel1.Margin = new Padding(3, 4, 3, 4); dockPanel1.Name = "dockPanel1"; dockPanel1.Options.ShowCloseButton = false; dockPanel1.OriginalSize = new Size(200, 200); dockPanel1.Size = new Size(200, 748); dockPanel1.Text = "当量目录"; // // dockPanel1_Container // dockPanel1_Container.Controls.Add(catalogueCtrl1); dockPanel1_Container.Location = new Point(0, 28); dockPanel1_Container.Margin = new Padding(3, 4, 3, 4); dockPanel1_Container.Name = "dockPanel1_Container"; dockPanel1_Container.Size = new Size(199, 720); dockPanel1_Container.TabIndex = 0; // // catalogueCtrl1 // catalogueCtrl1.Appearance.BackColor = SystemColors.Control; catalogueCtrl1.Appearance.Options.UseBackColor = true; catalogueCtrl1.Dock = DockStyle.Fill; catalogueCtrl1.Location = new Point(0, 0); catalogueCtrl1.Margin = new Padding(3, 5, 3, 5); catalogueCtrl1.Name = "catalogueCtrl1"; catalogueCtrl1.Size = new Size(199, 720); catalogueCtrl1.TabIndex = 0; // // barBtnEdit // barBtnEdit.Caption = "修改"; barBtnEdit.Id = 27; barBtnEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnEdit.ImageOptions.SvgImage"); barBtnEdit.Name = "barBtnEdit"; barBtnEdit.ItemClick += barBtnEdit_ItemClick; // // barBtnAdd // barBtnAdd.Caption = "添加"; barBtnAdd.Id = 26; barBtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAdd.ImageOptions.SvgImage"); barBtnAdd.Name = "barBtnAdd"; // // barBtnSave // barBtnSave.Caption = "保存"; barBtnSave.Id = 16; barBtnSave.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSave.ImageOptions.SvgImage"); barBtnSave.Name = "barBtnSave"; barBtnSave.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // WaterWEMgr // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(gridControl1); Controls.Add(dockPanel1); Controls.Add(ribbonControl1); Margin = new Padding(3, 5, 3, 5); Name = "WaterWEMgr"; Size = new Size(935, 876); ((ISupportInitialize)gridControl1).EndInit(); ((ISupportInitialize)itemViewModelBindingSource).EndInit(); ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)ribbonControl1).EndInit(); ((ISupportInitialize)dockManager1).EndInit(); dockPanel1.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); ResumeLayout(false); PerformLayout(); } #endregion private DevExpress.XtraGrid.GridControl gridControl1; private GridView gridView1; private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; private DevExpress.XtraBars.BarButtonItem barBtnRefresh; private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage; private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; private DevExpress.XtraBars.BarCheckItem barCekSearch; private DevExpress.XtraBars.Docking.DockManager dockManager1; private DevExpress.XtraBars.Docking.DockPanel dockPanel1; private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; private CatalogueCtrl catalogueCtrl1; private BindingSource itemViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colUtensilName; private DevExpress.XtraGrid.Columns.GridColumn colUtensilCount; private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow; private DevExpress.XtraGrid.Columns.GridColumn colMinRatedFlow; private DevExpress.XtraGrid.Columns.GridColumn colDescription; private DevExpress.XtraBars.BarButtonItem barBtnSetting; private DevExpress.XtraBars.BarButtonItem barBtnEdit; private DevExpress.XtraBars.BarButtonItem barBtnAdd; private DevExpress.XtraBars.BarButtonItem barBtnSave; private DevExpress.XtraBars.BarButtonItem BtnDelete; private DevExpress.XtraBars.BarButtonItem BtnInfo; } }