duheng
2024-10-15 69f942b58a5924e34e6c2bfdadefdcb8e6313edb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
namespace HStation.WinFrmUI
{
    partial class PumpPropViewCtrl
    {
        /// <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 Component 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();
            gridControl1 = new DevExpress.XtraGrid.GridControl();
            gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            colPropGroupName = new DevExpress.XtraGrid.Columns.GridColumn();
            colPropName = new DevExpress.XtraGrid.Columns.GridColumn();
            colValue = new DevExpress.XtraGrid.Columns.GridColumn();
            propGroupChoiceViewModelBindingSource = new BindingSource(components);
            ((ISupportInitialize)gridControl1).BeginInit();
            ((ISupportInitialize)gridView1).BeginInit();
            ((ISupportInitialize)propGroupChoiceViewModelBindingSource).BeginInit();
            SuspendLayout();
            // 
            // gridControl1
            // 
            gridControl1.DataSource = propGroupChoiceViewModelBindingSource;
            gridControl1.Dock = DockStyle.Fill;
            gridControl1.Location = new Point(0, 0);
            gridControl1.MainView = gridView1;
            gridControl1.Name = "gridControl1";
            gridControl1.Size = new Size(654, 509);
            gridControl1.TabIndex = 7;
            gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
            // 
            // gridView1
            // 
            gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
            gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colPropGroupName, colPropName, colValue });
            gridView1.GridControl = gridControl1;
            gridView1.Name = "gridView1";
            gridView1.OptionsView.AllowCellMerge = true;
            gridView1.OptionsView.ShowGroupPanel = false;
            // 
            // colPropGroupName
            // 
            colPropGroupName.AppearanceCell.Options.UseTextOptions = true;
            colPropGroupName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            colPropGroupName.Caption = "属性组";
            colPropGroupName.FieldName = "PropGroupName";
            colPropGroupName.Name = "colPropGroupName";
            colPropGroupName.Visible = true;
            colPropGroupName.VisibleIndex = 0;
            // 
            // colPropName
            // 
            colPropName.AppearanceCell.Options.UseTextOptions = true;
            colPropName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            colPropName.Caption = "属性名";
            colPropName.FieldName = "PropName";
            colPropName.Name = "colPropName";
            colPropName.OptionsColumn.AllowEdit = false;
            colPropName.Visible = true;
            colPropName.VisibleIndex = 1;
            // 
            // colValue
            // 
            colValue.AppearanceCell.Options.UseTextOptions = true;
            colValue.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            colValue.Caption = "属性值";
            colValue.FieldName = "Value";
            colValue.Name = "colValue";
            colValue.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
            colValue.Visible = true;
            colValue.VisibleIndex = 2;
            // 
            // propGroupChoiceViewModelBindingSource
            // 
            propGroupChoiceViewModelBindingSource.DataSource = typeof(PropGroupChoiceViewModel);
            // 
            // PumpPropViewCtrl
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(gridControl1);
            Name = "XtraUserControl1";
            Size = new Size(654, 509);
            ((ISupportInitialize)gridControl1).EndInit();
            ((ISupportInitialize)gridView1).EndInit();
            ((ISupportInitialize)propGroupChoiceViewModelBindingSource).EndInit();
            ResumeLayout(false);
        }
 
        #endregion
 
        private DevExpress.XtraGrid.GridControl gridControl1;
        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
        private DevExpress.XtraGrid.Columns.GridColumn colPropGroupName;
        private DevExpress.XtraGrid.Columns.GridColumn colPropName;
        private DevExpress.XtraGrid.Columns.GridColumn colValue;
        private BindingSource propGroupChoiceViewModelBindingSource;
    }
}