using DevExpress.XtraGrid.Views.Grid; using System.ComponentModel; using System.Windows.Forms; namespace HStation.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(); 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(); barBtnSetting = 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.Location = new Point(200, 77); gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.Size = new Size(618, 604); 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.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsDetail.EnableMasterViewMode = false; // // colName // colName.FieldName = "Name"; colName.Name = "colName"; colName.Visible = true; colName.VisibleIndex = 0; // // colUtensilName // colUtensilName.FieldName = "UtensilName"; colUtensilName.Name = "colUtensilName"; colUtensilName.Visible = true; colUtensilName.VisibleIndex = 1; // // colUtensilCount // colUtensilCount.FieldName = "UtensilCount"; colUtensilCount.Name = "colUtensilCount"; colUtensilCount.Visible = true; colUtensilCount.VisibleIndex = 2; // // colRatedFlow // colRatedFlow.FieldName = "RatedFlow"; colRatedFlow.Name = "colRatedFlow"; colRatedFlow.Visible = true; colRatedFlow.VisibleIndex = 3; // // colMinRatedFlow // colMinRatedFlow.FieldName = "MinRatedFlow"; colMinRatedFlow.Name = "colMinRatedFlow"; colMinRatedFlow.Visible = true; colMinRatedFlow.VisibleIndex = 4; // // colDescription // colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; colDescription.VisibleIndex = 5; // // ribbonControl1 // ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ExpandCollapseItem.Id = 0; ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnRefresh, barCekSearch, barBtnSetting }); ribbonControl1.Location = new Point(0, 0); ribbonControl1.MaxItemId = 30; ribbonControl1.Name = "ribbonControl1"; 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(818, 77); 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; // // 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.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, 77); dockPanel1.Name = "dockPanel1"; dockPanel1.Options.ShowCloseButton = false; dockPanel1.OriginalSize = new Size(200, 200); dockPanel1.Size = new Size(200, 604); dockPanel1.Text = "当量目录"; // // dockPanel1_Container // dockPanel1_Container.Controls.Add(catalogueCtrl1); dockPanel1_Container.Location = new Point(0, 23); dockPanel1_Container.Name = "dockPanel1_Container"; dockPanel1_Container.Size = new Size(199, 581); 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.Name = "catalogueCtrl1"; catalogueCtrl1.Size = new Size(199, 581); 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; // // barBtnSetting // barBtnSetting.Caption = "设置"; barBtnSetting.Id = 29; barBtnSetting.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barButtonItem1.ImageOptions.SvgImage"); barBtnSetting.Name = "barBtnSetting"; barBtnSetting.ItemClick += barBtnEdit_ItemClick; // // WaterWEMgr // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(gridControl1); Controls.Add(dockPanel1); Controls.Add(ribbonControl1); Name = "WaterWEMgr"; Size = new Size(818, 681); ((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; } }