using DevExpress.Utils;
|
using DevExpress.XtraEditors;
|
using System.ComponentModel;
|
using System.Drawing;
|
using System.Windows.Forms;
|
|
namespace HStation.WinFrmUI.WE
|
{
|
partial class EditWaterWEDlg
|
{
|
/// <summary>
|
/// Required designer variable.
|
/// </summary>
|
private System.ComponentModel.IContainer components = null;
|
|
/// <summary>
|
/// Clean up any resources being used.
|
/// </summary>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
protected override void Dispose(bool disposing)
|
{
|
if (disposing && (components != null))
|
{
|
components.Dispose();
|
}
|
base.Dispose(disposing);
|
}
|
|
#region Windows Form Designer generated code
|
|
/// <summary>
|
/// Required method for Designer support - do not modify
|
/// the contents of this method with the code editor.
|
/// </summary>
|
private void InitializeComponent()
|
{
|
components = new Container();
|
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
ComponentResourceManager resources = new ComponentResourceManager(typeof(EditWaterWEDlg));
|
SerializableAppearanceObject serializableAppearanceObject1 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject2 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject3 = new SerializableAppearanceObject();
|
SerializableAppearanceObject serializableAppearanceObject4 = new SerializableAppearanceObject();
|
dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl();
|
gridControl1 = new DevExpress.XtraGrid.GridControl();
|
itemViewModelBindingSource = new BindingSource(components);
|
gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
colPumpID = new DevExpress.XtraGrid.Columns.GridColumn();
|
repositoryItemTreeListLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTreeListLookUpEdit();
|
treeList1 = new DevExpress.XtraTreeList.TreeList();
|
treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
colUserCount = new DevExpress.XtraGrid.Columns.GridColumn();
|
ColDelete = new DevExpress.XtraGrid.Columns.GridColumn();
|
repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
btnOk = new SimpleButton();
|
btnCancel = new SimpleButton();
|
textEditName = new TextEdit();
|
Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
|
layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components);
|
((ISupportInitialize)dataLayoutControl1).BeginInit();
|
dataLayoutControl1.SuspendLayout();
|
((ISupportInitialize)gridControl1).BeginInit();
|
((ISupportInitialize)itemViewModelBindingSource).BeginInit();
|
((ISupportInitialize)gridView1).BeginInit();
|
((ISupportInitialize)repositoryItemTreeListLookUpEdit1).BeginInit();
|
((ISupportInitialize)treeList1).BeginInit();
|
((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
|
((ISupportInitialize)textEditName.Properties).BeginInit();
|
((ISupportInitialize)Root).BeginInit();
|
((ISupportInitialize)layoutControlGroup1).BeginInit();
|
((ISupportInitialize)layoutControlItem1).BeginInit();
|
((ISupportInitialize)layoutControlItem2).BeginInit();
|
((ISupportInitialize)emptySpaceItem1).BeginInit();
|
((ISupportInitialize)layoutControlItem4).BeginInit();
|
((ISupportInitialize)layoutControlItem3).BeginInit();
|
((ISupportInitialize)dxErrorProvider1).BeginInit();
|
SuspendLayout();
|
//
|
// dataLayoutControl1
|
//
|
dataLayoutControl1.Controls.Add(gridControl1);
|
dataLayoutControl1.Controls.Add(btnOk);
|
dataLayoutControl1.Controls.Add(btnCancel);
|
dataLayoutControl1.Controls.Add(textEditName);
|
dataLayoutControl1.Dock = DockStyle.Fill;
|
dataLayoutControl1.Location = new Point(0, 0);
|
dataLayoutControl1.Name = "dataLayoutControl1";
|
dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(900, 230, 650, 400);
|
dataLayoutControl1.Root = Root;
|
dataLayoutControl1.Size = new Size(672, 392);
|
dataLayoutControl1.TabIndex = 0;
|
dataLayoutControl1.Text = "dataLayoutControl1";
|
//
|
// gridControl1
|
//
|
gridControl1.DataSource = itemViewModelBindingSource;
|
gridControl1.Location = new Point(12, 36);
|
gridControl1.MainView = gridView1;
|
gridControl1.Name = "gridControl1";
|
gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemTreeListLookUpEdit1, repositoryItemButtonEdit1 });
|
gridControl1.Size = new Size(648, 318);
|
gridControl1.TabIndex = 6;
|
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 = HorzAlignment.Center;
|
gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { gridColumn2, gridColumn1, colPumpID, colUserCount, ColDelete });
|
gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
gridView1.GridControl = gridControl1;
|
gridView1.Name = "gridView1";
|
gridView1.OptionsBehavior.AllowAddRows = DefaultBoolean.True;
|
gridView1.OptionsCustomization.AllowFilter = false;
|
gridView1.OptionsCustomization.AllowQuickHideColumns = false;
|
gridView1.OptionsCustomization.AllowSort = false;
|
gridView1.OptionsMenu.EnableColumnMenu = false;
|
gridView1.OptionsMenu.EnableFooterMenu = false;
|
gridView1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
gridView1.OptionsView.ShowGroupPanel = false;
|
gridView1.RowCellClick += gridView1_RowCellClick;
|
//
|
// gridColumn2
|
//
|
gridColumn2.Caption = "最小额定流量";
|
gridColumn2.FieldName = "MinRatedFlow";
|
gridColumn2.Name = "gridColumn2";
|
gridColumn2.Visible = true;
|
gridColumn2.VisibleIndex = 2;
|
gridColumn2.Width = 164;
|
//
|
// gridColumn1
|
//
|
gridColumn1.Caption = "额定流量";
|
gridColumn1.FieldName = "RatedFlow";
|
gridColumn1.Name = "gridColumn1";
|
gridColumn1.Visible = true;
|
gridColumn1.VisibleIndex = 1;
|
gridColumn1.Width = 139;
|
//
|
// colPumpID
|
//
|
colPumpID.AppearanceCell.Options.UseTextOptions = true;
|
colPumpID.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
|
colPumpID.Caption = "用水器具";
|
colPumpID.ColumnEdit = repositoryItemTreeListLookUpEdit1;
|
colPumpID.FieldName = "UtensilID";
|
colPumpID.Name = "colPumpID";
|
colPumpID.Visible = true;
|
colPumpID.VisibleIndex = 0;
|
colPumpID.Width = 305;
|
//
|
// repositoryItemTreeListLookUpEdit1
|
//
|
repositoryItemTreeListLookUpEdit1.AutoHeight = false;
|
repositoryItemTreeListLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
repositoryItemTreeListLookUpEdit1.DisplayMember = "Name";
|
repositoryItemTreeListLookUpEdit1.KeyMember = "ID";
|
repositoryItemTreeListLookUpEdit1.Name = "repositoryItemTreeListLookUpEdit1";
|
repositoryItemTreeListLookUpEdit1.NullText = "";
|
repositoryItemTreeListLookUpEdit1.TreeList = treeList1;
|
repositoryItemTreeListLookUpEdit1.ValueMember = "ID";
|
//
|
// treeList1
|
//
|
treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 });
|
treeList1.Location = new Point(-111, -28);
|
treeList1.Name = "treeList1";
|
treeList1.OptionsView.ShowIndentAsRowStyle = true;
|
treeList1.Size = new Size(400, 200);
|
treeList1.TabIndex = 0;
|
//
|
// treeListColumn1
|
//
|
treeListColumn1.Caption = "用水器具";
|
treeListColumn1.FieldName = "Name";
|
treeListColumn1.Name = "treeListColumn1";
|
treeListColumn1.Visible = true;
|
treeListColumn1.VisibleIndex = 0;
|
//
|
// colUserCount
|
//
|
colUserCount.AppearanceCell.Options.UseTextOptions = true;
|
colUserCount.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
|
colUserCount.Caption = "使用数量";
|
colUserCount.FieldName = "UtensilCount";
|
colUserCount.Name = "colUserCount";
|
colUserCount.Visible = true;
|
colUserCount.VisibleIndex = 3;
|
colUserCount.Width = 123;
|
//
|
// ColDelete
|
//
|
ColDelete.AppearanceCell.Options.UseTextOptions = true;
|
ColDelete.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
|
ColDelete.Caption = "删除";
|
ColDelete.ColumnEdit = repositoryItemButtonEdit1;
|
ColDelete.Name = "ColDelete";
|
ColDelete.OptionsColumn.AllowEdit = false;
|
ColDelete.Visible = true;
|
ColDelete.VisibleIndex = 4;
|
ColDelete.Width = 126;
|
//
|
// repositoryItemButtonEdit1
|
//
|
repositoryItemButtonEdit1.AutoHeight = false;
|
editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage");
|
repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, ToolTipAnchor.Default) });
|
repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
|
repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
|
//
|
// btnOk
|
//
|
btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
|
btnOk.Appearance.Options.UseBackColor = true;
|
btnOk.Location = new Point(483, 358);
|
btnOk.Name = "btnOk";
|
btnOk.Size = new Size(91, 22);
|
btnOk.StyleController = dataLayoutControl1;
|
btnOk.TabIndex = 7;
|
btnOk.Text = "确定";
|
btnOk.Click += btnOk_Click;
|
//
|
// btnCancel
|
//
|
btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning;
|
btnCancel.Appearance.Options.UseBackColor = true;
|
btnCancel.DialogResult = DialogResult.Cancel;
|
btnCancel.Location = new Point(578, 358);
|
btnCancel.Name = "btnCancel";
|
btnCancel.Size = new Size(82, 22);
|
btnCancel.StyleController = dataLayoutControl1;
|
btnCancel.TabIndex = 8;
|
btnCancel.Text = "取消";
|
//
|
// textEditName
|
//
|
textEditName.Location = new Point(83, 12);
|
textEditName.Name = "textEditName";
|
textEditName.Size = new Size(577, 20);
|
textEditName.StyleController = dataLayoutControl1;
|
textEditName.TabIndex = 10;
|
//
|
// Root
|
//
|
Root.AppearanceItemCaption.Options.UseTextOptions = true;
|
Root.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far;
|
Root.EnableIndentsWithoutBorders = DefaultBoolean.True;
|
Root.GroupBordersVisible = false;
|
Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 });
|
Root.Name = "Root";
|
Root.Size = new Size(672, 392);
|
Root.TextVisible = false;
|
//
|
// layoutControlGroup1
|
//
|
layoutControlGroup1.AllowDrawBackground = false;
|
layoutControlGroup1.GroupBordersVisible = false;
|
layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, emptySpaceItem1, layoutControlItem4, layoutControlItem3 });
|
layoutControlGroup1.Location = new Point(0, 0);
|
layoutControlGroup1.Name = "autoGeneratedGroup0";
|
layoutControlGroup1.Size = new Size(652, 372);
|
//
|
// layoutControlItem1
|
//
|
layoutControlItem1.Control = btnCancel;
|
layoutControlItem1.Location = new Point(566, 346);
|
layoutControlItem1.Name = "layoutControlItem1";
|
layoutControlItem1.Size = new Size(86, 26);
|
layoutControlItem1.TextSize = new Size(0, 0);
|
layoutControlItem1.TextVisible = false;
|
//
|
// layoutControlItem2
|
//
|
layoutControlItem2.Control = btnOk;
|
layoutControlItem2.Location = new Point(471, 346);
|
layoutControlItem2.Name = "layoutControlItem2";
|
layoutControlItem2.Size = new Size(95, 26);
|
layoutControlItem2.TextSize = new Size(0, 0);
|
layoutControlItem2.TextVisible = false;
|
//
|
// emptySpaceItem1
|
//
|
emptySpaceItem1.AllowHotTrack = false;
|
emptySpaceItem1.Location = new Point(0, 346);
|
emptySpaceItem1.Name = "emptySpaceItem1";
|
emptySpaceItem1.Size = new Size(471, 26);
|
emptySpaceItem1.TextSize = new Size(0, 0);
|
//
|
// layoutControlItem4
|
//
|
layoutControlItem4.AllowHtmlStringInCaption = true;
|
layoutControlItem4.Control = textEditName;
|
layoutControlItem4.Location = new Point(0, 0);
|
layoutControlItem4.Name = "layoutControlItem4";
|
layoutControlItem4.Size = new Size(652, 24);
|
layoutControlItem4.Text = "<color=red>*</color>器具名称:";
|
layoutControlItem4.TextSize = new Size(59, 14);
|
//
|
// layoutControlItem3
|
//
|
layoutControlItem3.Control = gridControl1;
|
layoutControlItem3.Location = new Point(0, 24);
|
layoutControlItem3.Name = "layoutControlItem3";
|
layoutControlItem3.Size = new Size(652, 322);
|
layoutControlItem3.TextSize = new Size(0, 0);
|
layoutControlItem3.TextVisible = false;
|
//
|
// dxErrorProvider1
|
//
|
dxErrorProvider1.ContainerControl = this;
|
//
|
// EditWaterWEDlg
|
//
|
AutoScaleDimensions = new SizeF(7F, 14F);
|
AutoScaleMode = AutoScaleMode.Font;
|
ClientSize = new Size(672, 392);
|
Controls.Add(dataLayoutControl1);
|
Name = "EditWaterWEDlg";
|
StartPosition = FormStartPosition.CenterParent;
|
Text = "编辑";
|
((ISupportInitialize)dataLayoutControl1).EndInit();
|
dataLayoutControl1.ResumeLayout(false);
|
((ISupportInitialize)gridControl1).EndInit();
|
((ISupportInitialize)itemViewModelBindingSource).EndInit();
|
((ISupportInitialize)gridView1).EndInit();
|
((ISupportInitialize)repositoryItemTreeListLookUpEdit1).EndInit();
|
((ISupportInitialize)treeList1).EndInit();
|
((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
|
((ISupportInitialize)textEditName.Properties).EndInit();
|
((ISupportInitialize)Root).EndInit();
|
((ISupportInitialize)layoutControlGroup1).EndInit();
|
((ISupportInitialize)layoutControlItem1).EndInit();
|
((ISupportInitialize)layoutControlItem2).EndInit();
|
((ISupportInitialize)emptySpaceItem1).EndInit();
|
((ISupportInitialize)layoutControlItem4).EndInit();
|
((ISupportInitialize)layoutControlItem3).EndInit();
|
((ISupportInitialize)dxErrorProvider1).EndInit();
|
ResumeLayout(false);
|
}
|
|
#endregion
|
|
private DevExpress.XtraDataLayout.DataLayoutControl dataLayoutControl1;
|
private DevExpress.XtraEditors.SimpleButton btnOk;
|
private DevExpress.XtraEditors.SimpleButton btnCancel;
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
|
private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
private DevExpress.XtraGrid.GridControl gridControl1;
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
private DevExpress.XtraGrid.Columns.GridColumn colPumpID;
|
private DevExpress.XtraEditors.Repository.RepositoryItemTreeListLookUpEdit repositoryItemTreeListLookUpEdit1;
|
private DevExpress.XtraTreeList.TreeList treeList1;
|
private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1;
|
private DevExpress.XtraGrid.Columns.GridColumn colUserCount;
|
private DevExpress.XtraGrid.Columns.GridColumn ColDelete;
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
private TextEdit textEditName;
|
private BindingSource itemViewModelBindingSource;
|
}
|
}
|