Exemplo n.º 1
0
 void Dispose(bool disposing)
 {
     if (disposing)
     {
         ColorChanged = null;
         if (rItem != null)
         {
             rItem.Dispose();
             rItem = null;
         }
     }
 }
Exemplo n.º 2
0
        PWColorCellsControl CreateColorCellsControl()
        {
            PWColorCellsControl control = new PWColorCellsControl(null, 8, 8);

            viewInfo = new PWColorCellsControlViewInfo(control, 8, 8);
            rItem    = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
            rItem.ShowColorDialog  = true;
            control.PopupContainer = container;
            control.Properties     = rItem;

            control.Properties.ShowCustomColors = false;
            control.EnterColor += new EnterColorEventHandler(OnEnterColor);
            //control.MouseUp += new MouseEventHandler(control_MouseUp);

            return(control);
        }
Exemplo n.º 3
0
        /// <summary>
        /// 初始化列,
        /// </summary>
        public void InitColumns()
        {

            //需要隐藏列时在这写代码
            hideColumn("c1");
            hideColumn("c2");
            hideColumn("c3");
            DevExpress.XtraEditors.Repository.RepositoryItemColorEdit colorEdit = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
            gridView1.Columns["color"].ColumnEdit = colorEdit;
            
            if (ctype == "人员")
            {
                foreach (GridColumn gc in gridView1.Columns)
                {
                    gc.Visible = false;
                }
                gridView1.Columns["plate"].Caption = "姓名";
                gridView1.Columns["phone"].Visible = true;
                gridView1.Columns["plate"].Visible = true;
            }
        }
Exemplo n.º 4
0
        private void SetTabPageProperties(int pageIndex)
        {
            XtraTabPage  tabPage  = this.tabControl.TabPages[pageIndex];
            ColorListBox colorBox = null;
            BaseControl  control  = null;

            switch (pageIndex)
            {
            case 0:
                tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabCustom);
                control      = new ColorCellsControl(null);
                DevExpress.XtraEditors.Repository.RepositoryItemColorEdit rItem = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
                rItem.ShowColorDialog = false;
                (control as ColorCellsControl).Properties  = rItem;
                (control as ColorCellsControl).EnterColor += new EnterColorEventHandler(OnEnterColor);
                control.Size = ColorCellsControlViewInfo.BestSize;
                break;

            case 1:
                tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabWeb);
                colorBox     = CreateColorListBox();
                colorBox.Items.AddRange(ColorListBoxViewInfo.WebColors);
                colorBox.EnterColor += new EnterColorEventHandler(OnEnterColor);
                control              = colorBox;
                break;

            case 2:
                tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabSystem);
                colorBox     = CreateColorListBox();
                colorBox.Items.AddRange(ColorListBoxViewInfo.SystemColors);
                colorBox.EnterColor += new EnterColorEventHandler(OnEnterColor);
                control              = colorBox;
                break;
            }
            control.Dock        = DockStyle.Fill;
            control.BorderStyle = BorderStyles.NoBorder;
            control.LookAndFeel.ParentLookAndFeel = itemFontColor.Manager.GetController().LookAndFeel;
            tabPage.Controls.Add(control);
        }
Exemplo n.º 5
0
 private void InitializeComponent()
 {
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
     this.ToolStripMenuItemDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.contextMenuStrip1       = new System.Windows.Forms.ContextMenuStrip();
     this.ToolStripMenuItemEdit   = new System.Windows.Forms.ToolStripMenuItem();
     this.layoutControlItem5      = new DevExpress.XtraLayout.LayoutControlItem();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.symbleCol = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     this.minValueCol             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
     this.maxValueCol             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.typeValueCol            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.layoutControlItem4      = new DevExpress.XtraLayout.LayoutControlItem();
     this.checkEditDefault        = new DevExpress.XtraEditors.CheckEdit();
     this.layoutControl1          = new DevExpress.XtraLayout.LayoutControl();
     this.colorEditDefault        = new DevExpress.XtraEditors.ColorEdit();
     this.spinEditRang            = new DevExpress.XtraEditors.SpinEdit();
     this.cmbField            = new DevExpress.XtraEditors.ComboBoxEdit();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3  = new DevExpress.XtraLayout.LayoutControlItem();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.spinEditRang.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     this.SuspendLayout();
     //
     // ToolStripMenuItemDelete
     //
     this.ToolStripMenuItemDelete.Name = "ToolStripMenuItemDelete";
     this.ToolStripMenuItemDelete.Size = new System.Drawing.Size(181, 22);
     this.ToolStripMenuItemDelete.Text = "${res:View_Delete}";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.ToolStripMenuItemEdit,
         this.ToolStripMenuItemDelete
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(182, 48);
     //
     // ToolStripMenuItemEdit
     //
     this.ToolStripMenuItemEdit.Name = "ToolStripMenuItemEdit";
     this.ToolStripMenuItemEdit.Size = new System.Drawing.Size(181, 22);
     this.ToolStripMenuItemEdit.Text = "${res:View_Delete}";
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.gridControl1;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(0, 78);
     this.layoutControlItem5.Name     = "layoutControlItem5";
     this.layoutControlItem5.Size     = new System.Drawing.Size(266, 320);
     this.layoutControlItem5.Text     = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible           = false;
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(12, 90);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemColorEdit1,
         this.repositoryItemSpinEdit1,
         this.repositoryItemComboBox1
     });
     this.gridControl1.Size     = new System.Drawing.Size(262, 316);
     this.gridControl1.TabIndex = 4;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Appearance.FocusedCell.BackColor            = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gridView1.Appearance.FocusedRow.BackColor             = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor  = true;
     this.gridView1.Appearance.SelectedRow.BackColor            = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.symbleCol,
         this.minValueCol,
         this.maxValueCol,
         this.typeValueCol
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsCustomization.AllowColumnMoving     = false;
     this.gridView1.OptionsCustomization.AllowFilter           = false;
     this.gridView1.OptionsCustomization.AllowGroup            = false;
     this.gridView1.OptionsCustomization.AllowQuickHideColumns = false;
     this.gridView1.OptionsFilter.AllowColumnMRUFilterList     = false;
     this.gridView1.OptionsFilter.AllowFilterEditor            = false;
     this.gridView1.OptionsFilter.AllowMRUFilterList           = false;
     this.gridView1.OptionsMenu.EnableColumnMenu                   = false;
     this.gridView1.OptionsMenu.EnableFooterMenu                   = false;
     this.gridView1.OptionsMenu.EnableGroupPanelMenu               = false;
     this.gridView1.OptionsMenu.ShowAutoFilterRowItem              = false;
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell   = false;
     this.gridView1.OptionsSelection.EnableAppearanceHideSelection = false;
     this.gridView1.OptionsSelection.MultiSelect                   = true;
     this.gridView1.OptionsView.ShowFilterPanelMode                = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // symbleCol
     //
     this.symbleCol.Caption    = "符号";
     this.symbleCol.ColumnEdit = this.repositoryItemColorEdit1;
     this.symbleCol.FieldName  = "ColorCol";
     this.symbleCol.Name       = "symbleCol";
     this.symbleCol.OptionsColumn.AllowEdit              = false;
     this.symbleCol.OptionsColumn.AllowGroup             = DevExpress.Utils.DefaultBoolean.False;
     this.symbleCol.OptionsColumn.AllowIncrementalSearch = false;
     this.symbleCol.OptionsColumn.AllowMove              = false;
     this.symbleCol.OptionsColumn.AllowShowHide          = false;
     this.symbleCol.OptionsColumn.AllowSort              = DevExpress.Utils.DefaultBoolean.False;
     this.symbleCol.OptionsColumn.ReadOnly = true;
     this.symbleCol.OptionsColumn.ShowInCustomizationForm = false;
     this.symbleCol.OptionsColumn.ShowInExpressionEditor  = false;
     this.symbleCol.OptionsFilter.AllowAutoFilter         = false;
     this.symbleCol.OptionsFilter.AllowFilter             = false;
     this.symbleCol.Visible      = true;
     this.symbleCol.VisibleIndex = 0;
     //
     // repositoryItemColorEdit1
     //
     this.repositoryItemColorEdit1.AutoHeight = false;
     this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)
     });
     this.repositoryItemColorEdit1.ColorAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.repositoryItemColorEdit1.Name           = "repositoryItemColorEdit1";
     this.repositoryItemColorEdit1.ReadOnly       = true;
     //
     // minValueCol
     //
     this.minValueCol.Caption    = "下限";
     this.minValueCol.ColumnEdit = this.repositoryItemSpinEdit1;
     this.minValueCol.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.minValueCol.FieldName = "minValueCol";
     this.minValueCol.Name      = "minValueCol";
     this.minValueCol.OptionsColumn.AllowGroup             = DevExpress.Utils.DefaultBoolean.False;
     this.minValueCol.OptionsColumn.AllowIncrementalSearch = false;
     this.minValueCol.OptionsColumn.AllowMove               = false;
     this.minValueCol.OptionsColumn.AllowShowHide           = false;
     this.minValueCol.OptionsColumn.AllowSort               = DevExpress.Utils.DefaultBoolean.False;
     this.minValueCol.OptionsColumn.ShowInCustomizationForm = false;
     this.minValueCol.OptionsFilter.AllowAutoFilter         = false;
     this.minValueCol.OptionsFilter.AllowFilter             = false;
     this.minValueCol.Visible      = true;
     this.minValueCol.VisibleIndex = 1;
     //
     // repositoryItemSpinEdit1
     //
     this.repositoryItemSpinEdit1.AutoHeight = false;
     this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1";
     //
     // maxValueCol
     //
     this.maxValueCol.Caption      = "上限";
     this.maxValueCol.ColumnEdit   = this.repositoryItemSpinEdit1;
     this.maxValueCol.FieldName    = "maxValueCol";
     this.maxValueCol.Name         = "maxValueCol";
     this.maxValueCol.Visible      = true;
     this.maxValueCol.VisibleIndex = 2;
     //
     // typeValueCol
     //
     this.typeValueCol.Caption      = "区间类型";
     this.typeValueCol.ColumnEdit   = this.repositoryItemComboBox1;
     this.typeValueCol.FieldName    = "typeValueCol";
     this.typeValueCol.Name         = "typeValueCol";
     this.typeValueCol.Visible      = true;
     this.typeValueCol.VisibleIndex = 3;
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox1.Name          = "repositoryItemComboBox1";
     this.repositoryItemComboBox1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.checkEditDefault;
     this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
     this.layoutControlItem4.Location = new System.Drawing.Point(0, 52);
     this.layoutControlItem4.Name     = "layoutControlItem4";
     this.layoutControlItem4.Size     = new System.Drawing.Size(73, 26);
     this.layoutControlItem4.Text     = "layoutControlItem4";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextToControlDistance = 0;
     this.layoutControlItem4.TextVisible           = false;
     //
     // checkEditDefault
     //
     this.checkEditDefault.EditValue                 = true;
     this.checkEditDefault.Location                  = new System.Drawing.Point(12, 64);
     this.checkEditDefault.Name                      = "checkEditDefault";
     this.checkEditDefault.Properties.Caption        = "默认";
     this.checkEditDefault.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
     this.checkEditDefault.Size                      = new System.Drawing.Size(69, 19);
     this.checkEditDefault.StyleController           = this.layoutControl1;
     this.checkEditDefault.TabIndex                  = 2;
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.gridControl1);
     this.layoutControl1.Controls.Add(this.colorEditDefault);
     this.layoutControl1.Controls.Add(this.checkEditDefault);
     this.layoutControl1.Controls.Add(this.spinEditRang);
     this.layoutControl1.Controls.Add(this.cmbField);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(286, 418);
     this.layoutControl1.TabIndex = 2;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // colorEditDefault
     //
     this.colorEditDefault.EditValue = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     this.colorEditDefault.Location  = new System.Drawing.Point(85, 64);
     this.colorEditDefault.Name      = "colorEditDefault";
     this.colorEditDefault.Properties.AllowDropDownWhenReadOnly = DevExpress.Utils.DefaultBoolean.False;
     this.colorEditDefault.Properties.AllowMouseWheel           = false;
     this.colorEditDefault.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)
     });
     this.colorEditDefault.Properties.ColorAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colorEditDefault.Properties.ShowDropDown   = DevExpress.XtraEditors.Controls.ShowDropDown.Never;
     this.colorEditDefault.Size            = new System.Drawing.Size(189, 22);
     this.colorEditDefault.StyleController = this.layoutControl1;
     this.colorEditDefault.TabIndex        = 3;
     this.colorEditDefault.Click          += new System.EventHandler(this.colorEditDefault_Click);
     //
     // spinEditRang
     //
     this.spinEditRang.EditValue = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.spinEditRang.Location = new System.Drawing.Point(39, 38);
     this.spinEditRang.Name     = "spinEditRang";
     this.spinEditRang.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.spinEditRang.Properties.IsFloatValue  = false;
     this.spinEditRang.Properties.Mask.EditMask = "N00";
     this.spinEditRang.Properties.MaxValue      = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.spinEditRang.Size            = new System.Drawing.Size(235, 22);
     this.spinEditRang.StyleController = this.layoutControl1;
     this.spinEditRang.TabIndex        = 1;
     //
     // cmbField
     //
     this.cmbField.Location = new System.Drawing.Point(39, 12);
     this.cmbField.Name     = "cmbField";
     this.cmbField.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cmbField.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cmbField.Size            = new System.Drawing.Size(235, 22);
     this.cmbField.StyleController = this.layoutControl1;
     this.cmbField.TabIndex        = 0;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText       = "layoutControlGroup1";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem1,
         this.layoutControlItem2,
         this.layoutControlItem3,
         this.layoutControlItem4,
         this.layoutControlItem5
     });
     this.layoutControlGroup1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name        = "layoutControlGroup1";
     this.layoutControlGroup1.Size        = new System.Drawing.Size(286, 418);
     this.layoutControlGroup1.Text        = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.cmbField;
     this.layoutControlItem1.CustomizationFormText = "字段";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(266, 26);
     this.layoutControlItem1.Text     = "字段";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(24, 14);
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.spinEditRang;
     this.layoutControlItem2.CustomizationFormText = "段数";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 26);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.Size     = new System.Drawing.Size(266, 26);
     this.layoutControlItem2.Text     = "段数";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(24, 14);
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.colorEditDefault;
     this.layoutControlItem3.CustomizationFormText = "layoutControlItem3";
     this.layoutControlItem3.Location = new System.Drawing.Point(73, 52);
     this.layoutControlItem3.Name     = "layoutControlItem3";
     this.layoutControlItem3.Size     = new System.Drawing.Size(193, 26);
     this.layoutControlItem3.Text     = "layoutControlItem3";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextToControlDistance = 0;
     this.layoutControlItem3.TextVisible           = false;
     //
     // UCRangeLabel
     //
     this.Controls.Add(this.layoutControl1);
     this.Name = "UCRangeLabel";
     this.Size = new System.Drawing.Size(286, 418);
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.spinEditRang.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
 private void SetTabPageProperties(int pageIndex)
 {
     XtraTabPage tabPage = this.tabControl.TabPages[pageIndex];
     ColorListBox colorBox = null;
     BaseControl control = null;
     switch(pageIndex) {
         case 0:
             tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabCustom);
             control = new ColorCellsControl(null);
             DevExpress.XtraEditors.Repository.RepositoryItemColorEdit rItem = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
             rItem.ShowColorDialog = false;
             (control as ColorCellsControl).Properties = rItem;
             (control as ColorCellsControl).EnterColor += new EnterColorEventHandler(OnEnterColor);
             control.Size = ColorCellsControlViewInfo.BestSize;
             break;
         case 1:
             tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabWeb);
             colorBox = CreateColorListBox();
             colorBox.Items.AddRange(ColorListBoxViewInfo.WebColors);
             colorBox.EnterColor += new EnterColorEventHandler(OnEnterColor);
             control = colorBox;
             break;
         case 2:
             tabPage.Text = Localizer.Active.GetLocalizedString(StringId.ColorTabSystem);
             colorBox = CreateColorListBox();
             colorBox.Items.AddRange(ColorListBoxViewInfo.SystemColors);
             colorBox.EnterColor += new EnterColorEventHandler(OnEnterColor);
             control = colorBox;
             break;
     }
     control.Dock = DockStyle.Fill;
     control.BorderStyle = BorderStyles.NoBorder;
     control.LookAndFeel.ParentLookAndFeel = itemFontColor.Manager.GetController().LookAndFeel;
     tabPage.Controls.Add(control);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraEditors.Repository.RepositoryItemColorEdit repositoryItemColorEdit1;
     System.ComponentModel.ComponentResourceManager            resources = new System.ComponentModel.ComponentResourceManager(typeof(AbnormalRules));
     this.gridView2                       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.OVERRULEPOINTS                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.WATCHPOINTS                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.COMPARESIGN                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBox1         = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.RULEVALUE                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.COMPARERULE                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBox2         = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gcMainAbnormal                  = new DevExpress.XtraGrid.GridControl();
     this.gridView1                       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.ARULECODE                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ABNORMALDESC                    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ABNORMALCOLOR                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.layoutView1                     = new DevExpress.XtraGrid.Views.Layout.LayoutView();
     this.colARULECODE                    = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_colARULECODE    = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.colABNORMALDESC                 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_colABNORMALDESC = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.ABNORMALID                      = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_ABNORMALID      = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.FLAGMAIN = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_FLAGMAIN = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.layoutViewCard1          = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard();
     this.miniToolStrip            = new System.Windows.Forms.ToolStrip();
     this.btSave              = new System.Windows.Forms.ToolStripButton();
     this.btnAdd              = new System.Windows.Forms.ToolStripButton();
     this.btnEdit             = new System.Windows.Forms.ToolStripButton();
     this.btnDelete           = new System.Windows.Forms.ToolStripButton();
     this.btnCancel           = new System.Windows.Forms.ToolStripButton();
     this.SpcTools            = new System.Windows.Forms.ToolStrip();
     this.layoutControl1      = new DevExpress.XtraLayout.LayoutControl();
     this.simpleButton1       = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton2       = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton3       = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton4       = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton5       = new DevExpress.XtraEditors.SimpleButton();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6  = new DevExpress.XtraLayout.LayoutControlItem();
     repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     ((System.ComponentModel.ISupportInitialize)(this.topPanel)).BeginInit();
     this.topPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMainAbnormal)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(repositoryItemColorEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colARULECODE)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colABNORMALDESC)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_ABNORMALID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_FLAGMAIN)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).BeginInit();
     this.SpcTools.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     this.SuspendLayout();
     //
     // topPanel
     //
     this.topPanel.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(227)))), ((int)(((byte)(255)))));
     this.topPanel.Appearance.Options.UseBackColor = true;
     this.topPanel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.topPanel.Size   = new System.Drawing.Size(991, 69);
     //
     // lblInfos
     //
     this.lblInfos.Location = new System.Drawing.Point(771, 0);
     this.lblInfos.Size     = new System.Drawing.Size(220, 54);
     this.lblInfos.Text     = "\t姓名:\n\t工号:\n\t操作时间:2019-03-10 18:35:59";
     //
     // lblMenu
     //
     this.lblMenu.Appearance.Font            = new System.Drawing.Font("Tahoma", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMenu.Appearance.Options.UseFont = true;
     this.lblMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.lblMenu.Size   = new System.Drawing.Size(354, 29);
     this.lblMenu.Text   = "质量管理>SPC>SPC异常规则设定";
     //
     // gridView2
     //
     this.gridView2.ColumnPanelRowHeight = 39;
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.OVERRULEPOINTS,
         this.WATCHPOINTS,
         this.COMPARESIGN,
         this.RULEVALUE,
         this.COMPARERULE
     });
     this.gridView2.DetailHeight   = 450;
     this.gridView2.FixedLineWidth = 3;
     this.gridView2.GridControl    = this.gcMainAbnormal;
     this.gridView2.Name           = "gridView2";
     this.gridView2.OptionsBehavior.AllowAddRows          = DevExpress.Utils.DefaultBoolean.True;
     this.gridView2.OptionsBehavior.AllowDeleteRows       = DevExpress.Utils.DefaultBoolean.True;
     this.gridView2.OptionsBehavior.AutoSelectAllInEditor = false;
     this.gridView2.OptionsBehavior.EditorShowMode        = DevExpress.Utils.EditorShowMode.Click;
     this.gridView2.OptionsView.EnableAppearanceEvenRow   = true;
     this.gridView2.OptionsView.ShowGroupPanel            = false;
     //
     // OVERRULEPOINTS
     //
     this.OVERRULEPOINTS.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.OVERRULEPOINTS.AppearanceHeader.Options.UseFont = true;
     this.OVERRULEPOINTS.Caption      = "超规点数";
     this.OVERRULEPOINTS.FieldName    = "OVERRULEPOINTS";
     this.OVERRULEPOINTS.MinWidth     = 23;
     this.OVERRULEPOINTS.Name         = "OVERRULEPOINTS";
     this.OVERRULEPOINTS.Visible      = true;
     this.OVERRULEPOINTS.VisibleIndex = 0;
     this.OVERRULEPOINTS.Width        = 86;
     //
     // WATCHPOINTS
     //
     this.WATCHPOINTS.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.WATCHPOINTS.AppearanceHeader.Options.UseFont = true;
     this.WATCHPOINTS.Caption      = "监控点数";
     this.WATCHPOINTS.FieldName    = "WATCHPOINTS";
     this.WATCHPOINTS.MinWidth     = 23;
     this.WATCHPOINTS.Name         = "WATCHPOINTS";
     this.WATCHPOINTS.Visible      = true;
     this.WATCHPOINTS.VisibleIndex = 1;
     this.WATCHPOINTS.Width        = 86;
     //
     // COMPARESIGN
     //
     this.COMPARESIGN.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.COMPARESIGN.AppearanceHeader.Options.UseFont = true;
     this.COMPARESIGN.Caption      = "比较符";
     this.COMPARESIGN.ColumnEdit   = this.repositoryItemComboBox1;
     this.COMPARESIGN.FieldName    = "COMPARESIGN";
     this.COMPARESIGN.MinWidth     = 23;
     this.COMPARESIGN.Name         = "COMPARESIGN";
     this.COMPARESIGN.Visible      = true;
     this.COMPARESIGN.VisibleIndex = 2;
     this.COMPARESIGN.Width        = 86;
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox1.Items.AddRange(new object[] {
         "Equal",
         "NotEqual",
         "GreateThan",
         "GreateThanOrEqual",
         "LessThan",
         "LessThanOrEqual",
         "Increasing",
         "Decreasing",
         "InSide",
         "OutSide",
         "Alternating",
         "StrictlyIncreasing",
         "StrictlyDecreasing"
     });
     this.repositoryItemComboBox1.Name          = "repositoryItemComboBox1";
     this.repositoryItemComboBox1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // RULEVALUE
     //
     this.RULEVALUE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.RULEVALUE.AppearanceHeader.Options.UseFont = true;
     this.RULEVALUE.Caption      = "规格值";
     this.RULEVALUE.FieldName    = "RULEVALUE";
     this.RULEVALUE.MinWidth     = 23;
     this.RULEVALUE.Name         = "RULEVALUE";
     this.RULEVALUE.Visible      = true;
     this.RULEVALUE.VisibleIndex = 3;
     this.RULEVALUE.Width        = 86;
     //
     // COMPARERULE
     //
     this.COMPARERULE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.COMPARERULE.AppearanceHeader.Options.UseFont = true;
     this.COMPARERULE.Caption      = "比较规格";
     this.COMPARERULE.ColumnEdit   = this.repositoryItemComboBox2;
     this.COMPARERULE.FieldName    = "COMPARERULE";
     this.COMPARERULE.MinWidth     = 23;
     this.COMPARERULE.Name         = "COMPARERULE";
     this.COMPARERULE.Visible      = true;
     this.COMPARERULE.VisibleIndex = 4;
     this.COMPARERULE.Width        = 86;
     //
     // repositoryItemComboBox2
     //
     this.repositoryItemComboBox2.AutoHeight = false;
     this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox2.Items.AddRange(new object[] {
         "",
         "USL",
         "CSL",
         "UCL",
         "CL",
         "LCL",
         "Sigma",
         "ZoneA",
         "ZoneB",
         "ZoneC"
     });
     this.repositoryItemComboBox2.Name          = "repositoryItemComboBox2";
     this.repositoryItemComboBox2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // gcMainAbnormal
     //
     this.gcMainAbnormal.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gcMainAbnormal.Font     = new System.Drawing.Font("Tahoma", 12F);
     gridLevelNode1.LevelTemplate = this.gridView2;
     gridLevelNode1.RelationName  = "子规则明细";
     this.gcMainAbnormal.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode1
     });
     this.gcMainAbnormal.Location             = new System.Drawing.Point(24, 50);
     this.gcMainAbnormal.LookAndFeel.SkinName = "Blue";
     this.gcMainAbnormal.MainView             = this.gridView1;
     this.gcMainAbnormal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gcMainAbnormal.Name   = "gcMainAbnormal";
     this.gcMainAbnormal.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemComboBox1,
         this.repositoryItemComboBox2,
         repositoryItemColorEdit1
     });
     this.gcMainAbnormal.ShowOnlyPredefinedDetails = true;
     this.gcMainAbnormal.Size     = new System.Drawing.Size(943, 567);
     this.gcMainAbnormal.TabIndex = 4;
     this.gcMainAbnormal.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1,
         this.layoutView1,
         this.gridView2
     });
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.ARULECODE,
         this.ABNORMALDESC,
         this.ABNORMALCOLOR
     });
     this.gridView1.DetailHeight   = 450;
     this.gridView1.FixedLineWidth = 3;
     this.gridView1.GridControl    = this.gcMainAbnormal;
     this.gridView1.Name           = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.ViewCaption = "qq";
     //
     // ARULECODE
     //
     this.ARULECODE.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ARULECODE.AppearanceCell.Options.UseFont   = true;
     this.ARULECODE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ARULECODE.AppearanceHeader.Options.UseFont = true;
     this.ARULECODE.Caption      = "规则代码";
     this.ARULECODE.FieldName    = "ARULECODE";
     this.ARULECODE.MinWidth     = 23;
     this.ARULECODE.Name         = "ARULECODE";
     this.ARULECODE.Visible      = true;
     this.ARULECODE.VisibleIndex = 0;
     this.ARULECODE.Width        = 86;
     //
     // ABNORMALDESC
     //
     this.ABNORMALDESC.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ABNORMALDESC.AppearanceCell.Options.UseFont   = true;
     this.ABNORMALDESC.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ABNORMALDESC.AppearanceHeader.Options.UseFont = true;
     this.ABNORMALDESC.Caption      = "规则描述";
     this.ABNORMALDESC.FieldName    = "ABNORMALDESC";
     this.ABNORMALDESC.MinWidth     = 23;
     this.ABNORMALDESC.Name         = "ABNORMALDESC";
     this.ABNORMALDESC.Visible      = true;
     this.ABNORMALDESC.VisibleIndex = 1;
     this.ABNORMALDESC.Width        = 86;
     //
     // ABNORMALCOLOR
     //
     this.ABNORMALCOLOR.Caption      = "颜色标识";
     this.ABNORMALCOLOR.FieldName    = "ABNORMALCOLOR";
     this.ABNORMALCOLOR.MinWidth     = 23;
     this.ABNORMALCOLOR.Name         = "ABNORMALCOLOR";
     this.ABNORMALCOLOR.Visible      = true;
     this.ABNORMALCOLOR.VisibleIndex = 2;
     this.ABNORMALCOLOR.Width        = 86;
     //
     // repositoryItemColorEdit1
     //
     repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     repositoryItemColorEdit1.Name = "repositoryItemColorEdit1";
     //
     // layoutView1
     //
     this.layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] {
         this.colARULECODE,
         this.colABNORMALDESC,
         this.ABNORMALID,
         this.FLAGMAIN
     });
     this.layoutView1.DetailHeight = 450;
     this.layoutView1.GridControl  = this.gcMainAbnormal;
     this.layoutView1.Name         = "layoutView1";
     this.layoutView1.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.False;
     this.layoutView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.layoutView1.OptionsView.ShowButtonMode      = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
     this.layoutView1.TemplateCard = this.layoutViewCard1;
     this.layoutView1.ViewCaption  = "qq";
     //
     // colARULECODE
     //
     this.colARULECODE.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.colARULECODE.AppearanceCell.Options.UseFont   = true;
     this.colARULECODE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.colARULECODE.AppearanceHeader.Options.UseFont = true;
     this.colARULECODE.Caption         = "规则代码";
     this.colARULECODE.FieldName       = "ARULECODE";
     this.colARULECODE.LayoutViewField = this.layoutViewField_colARULECODE;
     this.colARULECODE.MinWidth        = 23;
     this.colARULECODE.Name            = "colARULECODE";
     this.colARULECODE.Width           = 86;
     //
     // layoutViewField_colARULECODE
     //
     this.layoutViewField_colARULECODE.EditorPreferredWidth = 136;
     this.layoutViewField_colARULECODE.Location             = new System.Drawing.Point(0, 0);
     this.layoutViewField_colARULECODE.Name     = "layoutViewField_colARULECODE";
     this.layoutViewField_colARULECODE.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_colARULECODE.TextSize = new System.Drawing.Size(95, 18);
     //
     // colABNORMALDESC
     //
     this.colABNORMALDESC.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.colABNORMALDESC.AppearanceCell.Options.UseFont   = true;
     this.colABNORMALDESC.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.colABNORMALDESC.AppearanceHeader.Options.UseFont = true;
     this.colABNORMALDESC.Caption         = "规则描述";
     this.colABNORMALDESC.FieldName       = "ABNORMALDESC";
     this.colABNORMALDESC.LayoutViewField = this.layoutViewField_colABNORMALDESC;
     this.colABNORMALDESC.MinWidth        = 23;
     this.colABNORMALDESC.Name            = "colABNORMALDESC";
     this.colABNORMALDESC.Width           = 86;
     //
     // layoutViewField_colABNORMALDESC
     //
     this.layoutViewField_colABNORMALDESC.EditorPreferredWidth = 136;
     this.layoutViewField_colABNORMALDESC.Location             = new System.Drawing.Point(0, 20);
     this.layoutViewField_colABNORMALDESC.Name     = "layoutViewField_colABNORMALDESC";
     this.layoutViewField_colABNORMALDESC.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_colABNORMALDESC.TextSize = new System.Drawing.Size(95, 18);
     //
     // ABNORMALID
     //
     this.ABNORMALID.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ABNORMALID.AppearanceCell.Options.UseFont   = true;
     this.ABNORMALID.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ABNORMALID.AppearanceHeader.Options.UseFont = true;
     this.ABNORMALID.Caption         = "异常规则主键";
     this.ABNORMALID.FieldName       = "ABNORMALID";
     this.ABNORMALID.LayoutViewField = this.layoutViewField_ABNORMALID;
     this.ABNORMALID.MinWidth        = 23;
     this.ABNORMALID.Name            = "ABNORMALID";
     this.ABNORMALID.Width           = 86;
     //
     // layoutViewField_ABNORMALID
     //
     this.layoutViewField_ABNORMALID.EditorPreferredWidth = 136;
     this.layoutViewField_ABNORMALID.Location             = new System.Drawing.Point(0, 40);
     this.layoutViewField_ABNORMALID.Name     = "layoutViewField_ABNORMALID";
     this.layoutViewField_ABNORMALID.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_ABNORMALID.TextSize = new System.Drawing.Size(95, 18);
     //
     // FLAGMAIN
     //
     this.FLAGMAIN.Caption         = "FLAGMAIN";
     this.FLAGMAIN.FieldName       = "FLAGMAIN";
     this.FLAGMAIN.LayoutViewField = this.layoutViewField_FLAGMAIN;
     this.FLAGMAIN.MinWidth        = 23;
     this.FLAGMAIN.Name            = "FLAGMAIN";
     this.FLAGMAIN.Width           = 86;
     //
     // layoutViewField_FLAGMAIN
     //
     this.layoutViewField_FLAGMAIN.EditorPreferredWidth = 136;
     this.layoutViewField_FLAGMAIN.Location             = new System.Drawing.Point(0, 60);
     this.layoutViewField_FLAGMAIN.Name     = "layoutViewField_FLAGMAIN";
     this.layoutViewField_FLAGMAIN.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_FLAGMAIN.TextSize = new System.Drawing.Size(95, 18);
     //
     // layoutViewCard1
     //
     this.layoutViewCard1.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText;
     this.layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutViewField_colARULECODE,
         this.layoutViewField_colABNORMALDESC,
         this.layoutViewField_ABNORMALID,
         this.layoutViewField_FLAGMAIN
     });
     this.layoutViewCard1.Name = "layoutViewTemplateCard";
     //
     // miniToolStrip
     //
     this.miniToolStrip.AccessibleName   = "新项选择";
     this.miniToolStrip.AccessibleRole   = System.Windows.Forms.AccessibleRole.ButtonDropDown;
     this.miniToolStrip.AutoSize         = false;
     this.miniToolStrip.BackgroundImage  = ((System.Drawing.Image)(resources.GetObject("miniToolStrip.BackgroundImage")));
     this.miniToolStrip.CanOverflow      = false;
     this.miniToolStrip.Dock             = System.Windows.Forms.DockStyle.None;
     this.miniToolStrip.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.miniToolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.miniToolStrip.Location         = new System.Drawing.Point(0, 0);
     this.miniToolStrip.Name             = "miniToolStrip";
     this.miniToolStrip.Size             = new System.Drawing.Size(991, 27);
     this.miniToolStrip.TabIndex         = 0;
     //
     // btSave
     //
     this.btSave.Image = global::FanHai.Hemera.Addins.SPC.Properties.Resources.save_accept;
     this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btSave.Name   = "btSave";
     this.btSave.Size   = new System.Drawing.Size(63, 24);
     this.btSave.Text   = "保存";
     this.btSave.Click += new System.EventHandler(this.btSave_Click);
     //
     // btnAdd
     //
     this.btnAdd.Image = global::FanHai.Hemera.Addins.SPC.Properties.Resources.document_add;
     this.btnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnAdd.Name   = "btnAdd";
     this.btnAdd.Size   = new System.Drawing.Size(63, 24);
     this.btnAdd.Text   = "新增";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnEdit
     //
     this.btnEdit.Image = global::FanHai.Hemera.Addins.SPC.Properties.Resources.document_add;
     this.btnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnEdit.Name   = "btnEdit";
     this.btnEdit.Size   = new System.Drawing.Size(63, 24);
     this.btnEdit.Text   = "编辑";
     this.btnEdit.Click += new System.EventHandler(this.tbnEdit_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image = global::FanHai.Hemera.Addins.SPC.Properties.Resources.document_delete;
     this.btnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnDelete.Name   = "btnDelete";
     this.btnDelete.Size   = new System.Drawing.Size(63, 24);
     this.btnDelete.Text   = "删除";
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnCancel
     //
     this.btnCancel.Image = global::FanHai.Hemera.Addins.SPC.Properties.Resources.cancel;
     this.btnCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnCancel.Name   = "btnCancel";
     this.btnCancel.Size   = new System.Drawing.Size(63, 24);
     this.btnCancel.Text   = "取消";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // SpcTools
     //
     this.SpcTools.BackgroundImage  = ((System.Drawing.Image)(resources.GetObject("SpcTools.BackgroundImage")));
     this.SpcTools.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.SpcTools.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.SpcTools.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.SpcTools.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.btSave,
         this.btnAdd,
         this.btnEdit,
         this.btnDelete,
         this.btnCancel
     });
     this.SpcTools.Location = new System.Drawing.Point(0, 0);
     this.SpcTools.Name     = "SpcTools";
     this.SpcTools.Size     = new System.Drawing.Size(991, 27);
     this.SpcTools.TabIndex = 0;
     this.SpcTools.Text     = "toolStrip1";
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.gcMainAbnormal);
     this.layoutControl1.Controls.Add(this.simpleButton1);
     this.layoutControl1.Controls.Add(this.simpleButton2);
     this.layoutControl1.Controls.Add(this.simpleButton3);
     this.layoutControl1.Controls.Add(this.simpleButton4);
     this.layoutControl1.Controls.Add(this.simpleButton5);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(1, 69);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(949, 28, 812, 500);
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(991, 672);
     this.layoutControl1.TabIndex = 3;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // simpleButton1
     //
     this.simpleButton1.Location        = new System.Drawing.Point(24, 621);
     this.simpleButton1.Name            = "simpleButton1";
     this.simpleButton1.Size            = new System.Drawing.Size(185, 27);
     this.simpleButton1.StyleController = this.layoutControl1;
     this.simpleButton1.TabIndex        = 5;
     this.simpleButton1.Text            = "新增";
     this.simpleButton1.Click          += new System.EventHandler(this.btnAdd_Click);
     //
     // simpleButton2
     //
     this.simpleButton2.Location        = new System.Drawing.Point(213, 621);
     this.simpleButton2.Name            = "simpleButton2";
     this.simpleButton2.Size            = new System.Drawing.Size(185, 27);
     this.simpleButton2.StyleController = this.layoutControl1;
     this.simpleButton2.TabIndex        = 6;
     this.simpleButton2.Text            = "修改";
     this.simpleButton2.Click          += new System.EventHandler(this.tbnEdit_Click);
     //
     // simpleButton3
     //
     this.simpleButton3.Location        = new System.Drawing.Point(781, 621);
     this.simpleButton3.Name            = "simpleButton3";
     this.simpleButton3.Size            = new System.Drawing.Size(186, 27);
     this.simpleButton3.StyleController = this.layoutControl1;
     this.simpleButton3.TabIndex        = 7;
     this.simpleButton3.Text            = "取消";
     this.simpleButton3.Click          += new System.EventHandler(this.btnCancel_Click);
     //
     // simpleButton4
     //
     this.simpleButton4.Location        = new System.Drawing.Point(402, 621);
     this.simpleButton4.Name            = "simpleButton4";
     this.simpleButton4.Size            = new System.Drawing.Size(186, 27);
     this.simpleButton4.StyleController = this.layoutControl1;
     this.simpleButton4.TabIndex        = 8;
     this.simpleButton4.Text            = "保存";
     this.simpleButton4.Click          += new System.EventHandler(this.btSave_Click);
     //
     // simpleButton5
     //
     this.simpleButton5.Location        = new System.Drawing.Point(592, 621);
     this.simpleButton5.Name            = "simpleButton5";
     this.simpleButton5.Size            = new System.Drawing.Size(185, 27);
     this.simpleButton5.StyleController = this.layoutControl1;
     this.simpleButton5.TabIndex        = 9;
     this.simpleButton5.Text            = "删除";
     this.simpleButton5.Click          += new System.EventHandler(this.btnDelete_Click);
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlGroup2
     });
     this.layoutControlGroup1.Name        = "Root";
     this.layoutControlGroup1.Size        = new System.Drawing.Size(991, 672);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlGroup2
     //
     this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem1,
         this.layoutControlItem4,
         this.layoutControlItem2,
         this.layoutControlItem3,
         this.layoutControlItem5,
         this.layoutControlItem6
     });
     this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup2.Name     = "layoutControlGroup2";
     this.layoutControlGroup2.Size     = new System.Drawing.Size(971, 652);
     this.layoutControlGroup2.Text     = "子规则列表";
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control     = this.gcMainAbnormal;
     this.layoutControlItem1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name        = "layoutControlItem1";
     this.layoutControlItem1.Size        = new System.Drawing.Size(947, 571);
     this.layoutControlItem1.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control     = this.simpleButton3;
     this.layoutControlItem4.Location    = new System.Drawing.Point(757, 571);
     this.layoutControlItem4.Name        = "layoutControlItem4";
     this.layoutControlItem4.Size        = new System.Drawing.Size(190, 31);
     this.layoutControlItem4.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control     = this.simpleButton1;
     this.layoutControlItem2.Location    = new System.Drawing.Point(0, 571);
     this.layoutControlItem2.Name        = "layoutControlItem2";
     this.layoutControlItem2.Size        = new System.Drawing.Size(189, 31);
     this.layoutControlItem2.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control     = this.simpleButton2;
     this.layoutControlItem3.Location    = new System.Drawing.Point(189, 571);
     this.layoutControlItem3.Name        = "layoutControlItem3";
     this.layoutControlItem3.Size        = new System.Drawing.Size(189, 31);
     this.layoutControlItem3.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control     = this.simpleButton4;
     this.layoutControlItem5.Location    = new System.Drawing.Point(378, 571);
     this.layoutControlItem5.Name        = "layoutControlItem5";
     this.layoutControlItem5.Size        = new System.Drawing.Size(190, 31);
     this.layoutControlItem5.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control     = this.simpleButton5;
     this.layoutControlItem6.Location    = new System.Drawing.Point(568, 571);
     this.layoutControlItem6.Name        = "layoutControlItem6";
     this.layoutControlItem6.Size        = new System.Drawing.Size(189, 31);
     this.layoutControlItem6.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem6.TextVisible = false;
     //
     // AbnormalRules
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(229)))), ((int)(((byte)(248)))));
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(8F, 18F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.LookAndFeel.SkinName = "Coffee";
     this.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name   = "AbnormalRules";
     this.Size   = new System.Drawing.Size(993, 741);
     this.Load  += new System.EventHandler(this.AbnormalRules_Load);
     this.Controls.SetChildIndex(this.topPanel, 0);
     this.Controls.SetChildIndex(this.layoutControl1, 0);
     ((System.ComponentModel.ISupportInitialize)(this.topPanel)).EndInit();
     this.topPanel.ResumeLayout(false);
     this.topPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMainAbnormal)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(repositoryItemColorEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colARULECODE)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colABNORMALDESC)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_ABNORMALID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_FLAGMAIN)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).EndInit();
     this.SpcTools.ResumeLayout(false);
     this.SpcTools.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraEditors.Repository.RepositoryItemColorEdit repositoryItemColorEdit1;
     this.gridView2                       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.OVERRULEPOINTS                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.WATCHPOINTS                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.COMPARESIGN                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBox1         = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.COMPARERULE                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBox2         = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.RULEVALUE                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcMainAbnormal                  = new DevExpress.XtraGrid.GridControl();
     this.gridView1                       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.isSelected                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryisSelected            = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.ARULECODE                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ABNORMALDESC                    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ABNORMALCOLOR                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.layoutView1                     = new DevExpress.XtraGrid.Views.Layout.LayoutView();
     this.colARULECODE                    = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_colARULECODE    = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.colABNORMALDESC                 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_colABNORMALDESC = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.ABNORMALID                      = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_ABNORMALID      = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.FLAGMAIN = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_FLAGMAIN = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.layoutViewCard1          = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard();
     this.tableLayoutPanel1        = new System.Windows.Forms.TableLayoutPanel();
     this.layoutControl1           = new DevExpress.XtraLayout.LayoutControl();
     this.btnCancel           = new DevExpress.XtraEditors.SimpleButton();
     this.btnOK               = new DevExpress.XtraEditors.SimpleButton();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem2  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem1  = new DevExpress.XtraLayout.LayoutControlItem();
     repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMainAbnormal)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryisSelected)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(repositoryItemColorEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colARULECODE)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colABNORMALDESC)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_ABNORMALID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_FLAGMAIN)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     this.SuspendLayout();
     //
     // gridView2
     //
     this.gridView2.ColumnPanelRowHeight = 30;
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.OVERRULEPOINTS,
         this.WATCHPOINTS,
         this.COMPARESIGN,
         this.COMPARERULE,
         this.RULEVALUE
     });
     this.gridView2.GridControl = this.gcMainAbnormal;
     this.gridView2.Name        = "gridView2";
     this.gridView2.OptionsBehavior.AllowAddRows        = DevExpress.Utils.DefaultBoolean.True;
     this.gridView2.OptionsBehavior.AllowDeleteRows     = DevExpress.Utils.DefaultBoolean.True;
     this.gridView2.OptionsBehavior.Editable            = false;
     this.gridView2.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView2.OptionsView.ShowGroupPanel          = false;
     //
     // OVERRULEPOINTS
     //
     this.OVERRULEPOINTS.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.OVERRULEPOINTS.AppearanceHeader.Options.UseFont = true;
     this.OVERRULEPOINTS.Caption      = "超规点数";
     this.OVERRULEPOINTS.FieldName    = "OVERRULEPOINTS";
     this.OVERRULEPOINTS.Name         = "OVERRULEPOINTS";
     this.OVERRULEPOINTS.Visible      = true;
     this.OVERRULEPOINTS.VisibleIndex = 0;
     //
     // WATCHPOINTS
     //
     this.WATCHPOINTS.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.WATCHPOINTS.AppearanceHeader.Options.UseFont = true;
     this.WATCHPOINTS.Caption      = "监控点数";
     this.WATCHPOINTS.FieldName    = "WATCHPOINTS";
     this.WATCHPOINTS.Name         = "WATCHPOINTS";
     this.WATCHPOINTS.Visible      = true;
     this.WATCHPOINTS.VisibleIndex = 1;
     //
     // COMPARESIGN
     //
     this.COMPARESIGN.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.COMPARESIGN.AppearanceHeader.Options.UseFont = true;
     this.COMPARESIGN.Caption      = "比较符";
     this.COMPARESIGN.ColumnEdit   = this.repositoryItemComboBox1;
     this.COMPARESIGN.FieldName    = "COMPARESIGN";
     this.COMPARESIGN.Name         = "COMPARESIGN";
     this.COMPARESIGN.Visible      = true;
     this.COMPARESIGN.VisibleIndex = 2;
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox1.Items.AddRange(new object[] {
         "Equal",
         "NotEqual",
         "GreateThan",
         "GreateThanOrEqual",
         "LessThan",
         "LessThanOrEqual",
         "InSide",
         "OutSide",
         "Increasing",
         "Decreasing"
     });
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     //
     // COMPARERULE
     //
     this.COMPARERULE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.COMPARERULE.AppearanceHeader.Options.UseFont = true;
     this.COMPARERULE.Caption      = "比较规格";
     this.COMPARERULE.ColumnEdit   = this.repositoryItemComboBox2;
     this.COMPARERULE.FieldName    = "COMPARERULE";
     this.COMPARERULE.Name         = "COMPARERULE";
     this.COMPARERULE.Visible      = true;
     this.COMPARERULE.VisibleIndex = 3;
     //
     // repositoryItemComboBox2
     //
     this.repositoryItemComboBox2.AutoHeight = false;
     this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox2.Items.AddRange(new object[] {
         "USL",
         "CSL",
         "UCL",
         "CL",
         "LCL",
         "Sigma",
         "ZoneA",
         "ZoneB",
         "ZoneC"
     });
     this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
     //
     // RULEVALUE
     //
     this.RULEVALUE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.RULEVALUE.AppearanceHeader.Options.UseFont = true;
     this.RULEVALUE.Caption      = "规格值";
     this.RULEVALUE.FieldName    = "RULEVALUE";
     this.RULEVALUE.Name         = "RULEVALUE";
     this.RULEVALUE.Visible      = true;
     this.RULEVALUE.VisibleIndex = 4;
     //
     // gcMainAbnormal
     //
     this.gcMainAbnormal.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gcMainAbnormal.Font     = new System.Drawing.Font("Tahoma", 12F);
     gridLevelNode1.LevelTemplate = this.gridView2;
     gridLevelNode1.RelationName  = "子规则明细";
     this.gcMainAbnormal.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode1
     });
     this.gcMainAbnormal.Location             = new System.Drawing.Point(3, 3);
     this.gcMainAbnormal.LookAndFeel.SkinName = "Coffee";
     this.gcMainAbnormal.MainView             = this.gridView1;
     this.gcMainAbnormal.Name = "gcMainAbnormal";
     this.gcMainAbnormal.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemComboBox1,
         this.repositoryItemComboBox2,
         repositoryItemColorEdit1,
         this.repositoryisSelected
     });
     this.gcMainAbnormal.ShowOnlyPredefinedDetails = true;
     this.gcMainAbnormal.Size     = new System.Drawing.Size(742, 298);
     this.gcMainAbnormal.TabIndex = 5;
     this.gcMainAbnormal.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1,
         this.layoutView1,
         this.gridView2
     });
     //
     // gridView1
     //
     this.gridView1.ColumnPanelRowHeight = 30;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.isSelected,
         this.ARULECODE,
         this.ABNORMALDESC,
         this.ABNORMALCOLOR
     });
     this.gridView1.GridControl = this.gcMainAbnormal;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsSelection.MultiSelect    = true;
     this.gridView1.ShowButtonMode           = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
     this.gridView1.ViewCaption              = "qq";
     this.gridView1.CustomUnboundColumnData += new DevExpress.XtraGrid.Views.Base.CustomColumnDataEventHandler(this.gridView1_CustomUnboundColumnData);
     //
     // isSelected
     //
     this.isSelected.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 12F);
     this.isSelected.AppearanceCell.Options.UseFont   = true;
     this.isSelected.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.isSelected.AppearanceHeader.Options.UseFont = true;
     this.isSelected.Caption      = "选择";
     this.isSelected.ColumnEdit   = this.repositoryisSelected;
     this.isSelected.FieldName    = "isSelected";
     this.isSelected.Name         = "isSelected";
     this.isSelected.Visible      = true;
     this.isSelected.VisibleIndex = 0;
     //
     // repositoryisSelected
     //
     this.repositoryisSelected.AutoHeight = false;
     this.repositoryisSelected.Name       = "repositoryisSelected";
     this.repositoryisSelected.NullStyle  = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // ARULECODE
     //
     this.ARULECODE.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ARULECODE.AppearanceCell.Options.UseFont   = true;
     this.ARULECODE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ARULECODE.AppearanceHeader.Options.UseFont = true;
     this.ARULECODE.Caption      = "规则代码";
     this.ARULECODE.FieldName    = "ARULECODE";
     this.ARULECODE.Name         = "ARULECODE";
     this.ARULECODE.Visible      = true;
     this.ARULECODE.VisibleIndex = 1;
     //
     // ABNORMALDESC
     //
     this.ABNORMALDESC.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ABNORMALDESC.AppearanceCell.Options.UseFont   = true;
     this.ABNORMALDESC.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ABNORMALDESC.AppearanceHeader.Options.UseFont = true;
     this.ABNORMALDESC.Caption      = "规则描述";
     this.ABNORMALDESC.FieldName    = "ABNORMALDESC";
     this.ABNORMALDESC.Name         = "ABNORMALDESC";
     this.ABNORMALDESC.Visible      = true;
     this.ABNORMALDESC.VisibleIndex = 2;
     //
     // ABNORMALCOLOR
     //
     this.ABNORMALCOLOR.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ABNORMALCOLOR.AppearanceHeader.Options.UseFont = true;
     this.ABNORMALCOLOR.Caption      = "颜色";
     this.ABNORMALCOLOR.FieldName    = "ABNORMALCOLOR";
     this.ABNORMALCOLOR.Name         = "ABNORMALCOLOR";
     this.ABNORMALCOLOR.Visible      = true;
     this.ABNORMALCOLOR.VisibleIndex = 3;
     //
     // repositoryItemColorEdit1
     //
     repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     repositoryItemColorEdit1.Name = "repositoryItemColorEdit1";
     //
     // layoutView1
     //
     this.layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] {
         this.colARULECODE,
         this.colABNORMALDESC,
         this.ABNORMALID,
         this.FLAGMAIN
     });
     this.layoutView1.GridControl = this.gcMainAbnormal;
     this.layoutView1.Name        = "layoutView1";
     this.layoutView1.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.False;
     this.layoutView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.layoutView1.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
     this.layoutView1.TemplateCard   = this.layoutViewCard1;
     this.layoutView1.ViewCaption    = "qq";
     //
     // colARULECODE
     //
     this.colARULECODE.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.colARULECODE.AppearanceCell.Options.UseFont   = true;
     this.colARULECODE.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.colARULECODE.AppearanceHeader.Options.UseFont = true;
     this.colARULECODE.Caption         = "规则代码";
     this.colARULECODE.FieldName       = "ARULECODE";
     this.colARULECODE.LayoutViewField = this.layoutViewField_colARULECODE;
     this.colARULECODE.Name            = "colARULECODE";
     //
     // layoutViewField_colARULECODE
     //
     this.layoutViewField_colARULECODE.EditorPreferredWidth = 119;
     this.layoutViewField_colARULECODE.Location             = new System.Drawing.Point(0, 0);
     this.layoutViewField_colARULECODE.Name     = "layoutViewField_colARULECODE";
     this.layoutViewField_colARULECODE.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_colARULECODE.TextSize = new System.Drawing.Size(76, 14);
     //
     // colABNORMALDESC
     //
     this.colABNORMALDESC.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.colABNORMALDESC.AppearanceCell.Options.UseFont   = true;
     this.colABNORMALDESC.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.colABNORMALDESC.AppearanceHeader.Options.UseFont = true;
     this.colABNORMALDESC.Caption         = "规则描述";
     this.colABNORMALDESC.FieldName       = "ABNORMALDESC";
     this.colABNORMALDESC.LayoutViewField = this.layoutViewField_colABNORMALDESC;
     this.colABNORMALDESC.Name            = "colABNORMALDESC";
     //
     // layoutViewField_colABNORMALDESC
     //
     this.layoutViewField_colABNORMALDESC.EditorPreferredWidth = 119;
     this.layoutViewField_colABNORMALDESC.Location             = new System.Drawing.Point(0, 20);
     this.layoutViewField_colABNORMALDESC.Name     = "layoutViewField_colABNORMALDESC";
     this.layoutViewField_colABNORMALDESC.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_colABNORMALDESC.TextSize = new System.Drawing.Size(76, 14);
     //
     // ABNORMALID
     //
     this.ABNORMALID.AppearanceCell.Font              = new System.Drawing.Font("Tahoma", 11F);
     this.ABNORMALID.AppearanceCell.Options.UseFont   = true;
     this.ABNORMALID.AppearanceHeader.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.ABNORMALID.AppearanceHeader.Options.UseFont = true;
     this.ABNORMALID.Caption         = "异常规则主键";
     this.ABNORMALID.FieldName       = "ABNORMALID";
     this.ABNORMALID.LayoutViewField = this.layoutViewField_ABNORMALID;
     this.ABNORMALID.Name            = "ABNORMALID";
     //
     // layoutViewField_ABNORMALID
     //
     this.layoutViewField_ABNORMALID.EditorPreferredWidth = 119;
     this.layoutViewField_ABNORMALID.Location             = new System.Drawing.Point(0, 40);
     this.layoutViewField_ABNORMALID.Name     = "layoutViewField_ABNORMALID";
     this.layoutViewField_ABNORMALID.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_ABNORMALID.TextSize = new System.Drawing.Size(76, 14);
     //
     // FLAGMAIN
     //
     this.FLAGMAIN.Caption         = "FLAGMAIN";
     this.FLAGMAIN.FieldName       = "FLAGMAIN";
     this.FLAGMAIN.LayoutViewField = this.layoutViewField_FLAGMAIN;
     this.FLAGMAIN.Name            = "FLAGMAIN";
     //
     // layoutViewField_FLAGMAIN
     //
     this.layoutViewField_FLAGMAIN.EditorPreferredWidth = 119;
     this.layoutViewField_FLAGMAIN.Location             = new System.Drawing.Point(0, 60);
     this.layoutViewField_FLAGMAIN.Name     = "layoutViewField_FLAGMAIN";
     this.layoutViewField_FLAGMAIN.Size     = new System.Drawing.Size(203, 20);
     this.layoutViewField_FLAGMAIN.TextSize = new System.Drawing.Size(76, 14);
     //
     // layoutViewCard1
     //
     this.layoutViewCard1.ExpandButtonLocation = DevExpress.Utils.GroupElementLocation.AfterText;
     this.layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutViewField_colARULECODE,
         this.layoutViewField_colABNORMALDESC,
         this.layoutViewField_ABNORMALID,
         this.layoutViewField_FLAGMAIN
     });
     this.layoutViewCard1.Name = "layoutViewTemplateCard";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.gcMainAbnormal, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.layoutControl1, 0, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 88.62974F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.37026F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(748, 343);
     this.tableLayoutPanel1.TabIndex = 6;
     //
     // layoutControl1
     //
     this.layoutControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.layoutControl1.Controls.Add(this.btnCancel);
     this.layoutControl1.Controls.Add(this.btnOK);
     this.layoutControl1.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.layoutControl1.Location = new System.Drawing.Point(565, 307);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(180, 33);
     this.layoutControl1.TabIndex = 6;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // btnCancel
     //
     this.btnCancel.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.btnCancel.Appearance.Options.UseFont = true;
     this.btnCancel.Location        = new System.Drawing.Point(97, 2);
     this.btnCancel.MaximumSize     = new System.Drawing.Size(100, 30);
     this.btnCancel.Name            = "btnCancel";
     this.btnCancel.Size            = new System.Drawing.Size(81, 29);
     this.btnCancel.StyleController = this.layoutControl1;
     this.btnCancel.TabIndex        = 6;
     this.btnCancel.Text            = "取消";
     this.btnCancel.Click          += new System.EventHandler(this.btnCancel_Click);
     //
     // btnOK
     //
     this.btnOK.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.btnOK.Appearance.Options.UseFont = true;
     this.btnOK.Location                   = new System.Drawing.Point(2, 2);
     this.btnOK.MaximumSize                = new System.Drawing.Size(100, 30);
     this.btnOK.Name            = "btnOK";
     this.btnOK.Size            = new System.Drawing.Size(91, 29);
     this.btnOK.StyleController = this.layoutControl1;
     this.btnOK.TabIndex        = 5;
     this.btnOK.Text            = "确定";
     this.btnOK.Click          += new System.EventHandler(this.btnOk_Click);
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText       = "layoutControlGroup1";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem2,
         this.layoutControlItem1
     });
     this.layoutControlGroup1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name        = "layoutControlGroup1";
     this.layoutControlGroup1.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size        = new System.Drawing.Size(180, 33);
     this.layoutControlGroup1.Spacing     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Text        = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.btnOK;
     this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.Size     = new System.Drawing.Size(95, 33);
     this.layoutControlItem2.Text     = "layoutControlItem2";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextToControlDistance = 0;
     this.layoutControlItem2.TextVisible           = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.btnCancel;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(95, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(85, 33);
     this.layoutControlItem1.Text     = "layoutControlItem1";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextToControlDistance = 0;
     this.layoutControlItem1.TextVisible           = false;
     //
     // AbnormalControlPlan
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(748, 343);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name  = "AbnormalControlPlan";
     this.Text  = "AbnormalControlPlan";
     this.Load += new System.EventHandler(this.AbnormalControlPlan_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMainAbnormal)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryisSelected)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(repositoryItemColorEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colARULECODE)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_colABNORMALDESC)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_ABNORMALID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_FLAGMAIN)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 9
0
 /// <summary> 
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.gridControl = new DevExpress.XtraGrid.GridControl();
     this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colUID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridcol1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl
     //
     this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridControl.EmbeddedNavigator.Name = "";
     this.gridControl.Location = new System.Drawing.Point(0, 0);
     this.gridControl.MainView = this.gridView;
     this.gridControl.Name = "gridControl";
     this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemColorEdit1});
     this.gridControl.Size = new System.Drawing.Size(534, 319);
     this.gridControl.TabIndex = 0;
     this.gridControl.UseEmbeddedNavigator = true;
     this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView});
     //
     // gridView
     //
     this.gridView.AppearancePrint.HeaderPanel.Options.UseTextOptions = true;
     this.gridView.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colUID,
     this.colName,
     this.gridcol1});
     this.gridView.GridControl = this.gridControl;
     this.gridView.Name = "gridView";
     this.gridView.OptionsBehavior.Editable = false;
     this.gridView.OptionsPrint.UsePrintStyles = true;
     this.gridView.DoubleClick += new System.EventHandler(this.gridView_DoubleClick);
     //
     // colUID
     //
     this.colUID.AppearanceHeader.Options.UseTextOptions = true;
     this.colUID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colUID.Caption = "id";
     this.colUID.FieldName = "id";
     this.colUID.Name = "colUID";
     this.colUID.OptionsColumn.ShowInCustomizationForm = false;
     //
     // colName
     //
     this.colName.AppearanceHeader.Options.UseTextOptions = true;
     this.colName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colName.Caption = "����";
     this.colName.FieldName = "Name";
     this.colName.Name = "colName";
     this.colName.Visible = true;
     this.colName.VisibleIndex = 0;
     this.colName.Width = 201;
     //
     // gridcol1
     //
     this.gridcol1.AppearanceCell.Options.UseTextOptions = true;
     this.gridcol1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridcol1.AppearanceHeader.Options.UseTextOptions = true;
     this.gridcol1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridcol1.Caption = "��ע";
     this.gridcol1.FieldName = "col3";
     this.gridcol1.Name = "gridcol1";
     this.gridcol1.Width = 130;
     //
     // repositoryItemColorEdit1
     //
     this.repositoryItemColorEdit1.AutoHeight = false;
     this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemColorEdit1.Name = "repositoryItemColorEdit1";
     //
     // CtrlbdzType
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gridControl);
     this.Name = "CtrlbdzType";
     this.Size = new System.Drawing.Size(534, 319);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 10
0
 /// <summary> 
 /// �����֧������ķ��� - ��Ҫ
 /// ʹ�ô���༭���޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.gridControl = new DevExpress.XtraGrid.GridControl();
     this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colUID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridcol1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl
     //
     this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridControl.EmbeddedNavigator.Name = "";
     this.gridControl.Location = new System.Drawing.Point(0, 0);
     this.gridControl.MainView = this.gridView;
     this.gridControl.Name = "gridControl";
     this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemColorEdit1});
     this.gridControl.Size = new System.Drawing.Size(767, 319);
     this.gridControl.TabIndex = 0;
     this.gridControl.UseEmbeddedNavigator = true;
     this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView});
     //
     // gridView
     //
     this.gridView.AppearancePrint.HeaderPanel.Options.UseTextOptions = true;
     this.gridView.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colUID,
     this.colName,
     this.gridcol1,
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4,
     this.gridColumn6,
     this.gridColumn5});
     this.gridView.GridControl = this.gridControl;
     this.gridView.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "LoadValue", null, "######.##"),
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Number", null, "######.##"),
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "col1", null, "######.##")});
     this.gridView.Name = "gridView";
     this.gridView.OptionsBehavior.Editable = false;
     this.gridView.OptionsPrint.UsePrintStyles = true;
     this.gridView.OptionsSelection.MultiSelect = true;
     this.gridView.OptionsView.ShowFooter = true;
     this.gridView.DoubleClick += new System.EventHandler(this.gridView_DoubleClick);
     //
     // colUID
     //
     this.colUID.AppearanceHeader.Options.UseTextOptions = true;
     this.colUID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colUID.Caption = "id";
     this.colUID.FieldName = "id";
     this.colUID.Name = "colUID";
     this.colUID.OptionsColumn.ShowInCustomizationForm = false;
     //
     // colName
     //
     this.colName.AppearanceCell.Options.UseTextOptions = true;
     this.colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.colName.AppearanceHeader.Options.UseTextOptions = true;
     this.colName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colName.Caption = "�·�";
     this.colName.FieldName = "UMonth";
     this.colName.Name = "colName";
     this.colName.Visible = true;
     this.colName.VisibleIndex = 0;
     this.colName.Width = 71;
     //
     // gridcol1
     //
     this.gridcol1.AppearanceCell.Options.UseTextOptions = true;
     this.gridcol1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.gridcol1.AppearanceHeader.Options.UseTextOptions = true;
     this.gridcol1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridcol1.Caption = "���վ����";
     this.gridcol1.FieldName = "Substation_Name";
     this.gridcol1.Name = "gridcol1";
     this.gridcol1.Visible = true;
     this.gridcol1.VisibleIndex = 1;
     this.gridcol1.Width = 108;
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn1.Caption = "���ر��";
     this.gridColumn1.FieldName = "Switch_Id";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 2;
     this.gridColumn1.Width = 83;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.Caption = "��������";
     this.gridColumn2.FieldName = "Switch_Name";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 3;
     this.gridColumn2.Width = 83;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.Caption = "����ֵ";
     this.gridColumn3.DisplayFormat.FormatString = "######.##";
     this.gridColumn3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.gridColumn3.FieldName = "LoadValue";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 4;
     this.gridColumn3.Width = 83;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.Caption = "���й�����ֵ(��ǧ��ʱ)";
     this.gridColumn4.DisplayFormat.FormatString = "#######.##";
     this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.gridColumn4.FieldName = "Number";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 5;
     this.gridColumn4.Width = 140;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn6.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn6.Caption = "���й�����ֵ(��ǧ��ʱ)";
     this.gridColumn6.DisplayFormat.FormatString = "#######.##";
     this.gridColumn6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.gridColumn6.FieldName = "col1";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 6;
     this.gridColumn6.Width = 123;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.Caption = "���";
     this.gridColumn5.FieldName = "UYear";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 7;
     this.gridColumn5.Width = 40;
     //
     // repositoryItemColorEdit1
     //
     this.repositoryItemColorEdit1.AutoHeight = false;
     this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemColorEdit1.Name = "repositoryItemColorEdit1";
     //
     // CtrlInterface
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gridControl);
     this.Name = "CtrlInterface";
     this.Size = new System.Drawing.Size(767, 319);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 11
0
 private void InitializeComponent()
 {
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
     this.layoutControl1           = new DevExpress.XtraLayout.LayoutControl();
     this.cmbField                 = new DevExpress.XtraEditors.ComboBoxEdit();
     this.colorEditDefault         = new DevExpress.XtraEditors.ColorEdit();
     this.gridControl1             = new DevExpress.XtraGrid.GridControl();
     this.gridView1                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.symbleCol                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
     this.fieldValueCol            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnAddAll                = new DevExpress.XtraEditors.SimpleButton();
     this.btnDelAll                = new DevExpress.XtraEditors.SimpleButton();
     this.btnAddValue              = new DevExpress.XtraEditors.SimpleButton();
     this.checkEditDefault         = new DevExpress.XtraEditors.CheckEdit();
     this.layoutControlGroup1      = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem3       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem7       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem8       = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem1       = new DevExpress.XtraLayout.LayoutControlItem();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     this.SuspendLayout();
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.cmbField);
     this.layoutControl1.Controls.Add(this.colorEditDefault);
     this.layoutControl1.Controls.Add(this.gridControl1);
     this.layoutControl1.Controls.Add(this.btnAddAll);
     this.layoutControl1.Controls.Add(this.btnDelAll);
     this.layoutControl1.Controls.Add(this.btnAddValue);
     this.layoutControl1.Controls.Add(this.checkEditDefault);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(286, 463);
     this.layoutControl1.TabIndex = 0;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // cmbField
     //
     this.cmbField.Location = new System.Drawing.Point(39, 12);
     this.cmbField.Name     = "cmbField";
     this.cmbField.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cmbField.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cmbField.Size            = new System.Drawing.Size(235, 22);
     this.cmbField.StyleController = this.layoutControl1;
     this.cmbField.TabIndex        = 0;
     //
     // colorEditDefault
     //
     this.colorEditDefault.EditValue = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     this.colorEditDefault.Location  = new System.Drawing.Point(62, 38);
     this.colorEditDefault.Name      = "colorEditDefault";
     this.colorEditDefault.Properties.AllowDropDownWhenReadOnly = DevExpress.Utils.DefaultBoolean.False;
     this.colorEditDefault.Properties.AllowMouseWheel           = false;
     this.colorEditDefault.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)
     });
     this.colorEditDefault.Properties.ColorAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colorEditDefault.Properties.ShowDropDown   = DevExpress.XtraEditors.Controls.ShowDropDown.Never;
     this.colorEditDefault.Size            = new System.Drawing.Size(212, 22);
     this.colorEditDefault.StyleController = this.layoutControl1;
     this.colorEditDefault.TabIndex        = 2;
     this.colorEditDefault.Click          += new System.EventHandler(this.colorEditDefault_Click);
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(12, 90);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemColorEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(262, 361);
     this.gridControl1.TabIndex = 6;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Appearance.FocusedCell.BackColor            = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gridView1.Appearance.FocusedRow.BackColor             = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor  = true;
     this.gridView1.Appearance.SelectedRow.BackColor            = System.Drawing.Color.CornflowerBlue;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.symbleCol,
         this.fieldValueCol
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsCustomization.AllowColumnMoving     = false;
     this.gridView1.OptionsCustomization.AllowFilter           = false;
     this.gridView1.OptionsCustomization.AllowGroup            = false;
     this.gridView1.OptionsCustomization.AllowQuickHideColumns = false;
     this.gridView1.OptionsFilter.AllowColumnMRUFilterList     = false;
     this.gridView1.OptionsFilter.AllowFilterEditor            = false;
     this.gridView1.OptionsFilter.AllowMRUFilterList           = false;
     this.gridView1.OptionsMenu.EnableColumnMenu                   = false;
     this.gridView1.OptionsMenu.EnableFooterMenu                   = false;
     this.gridView1.OptionsMenu.EnableGroupPanelMenu               = false;
     this.gridView1.OptionsMenu.ShowAutoFilterRowItem              = false;
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell   = false;
     this.gridView1.OptionsSelection.EnableAppearanceHideSelection = false;
     this.gridView1.OptionsSelection.MultiSelect                   = true;
     this.gridView1.OptionsView.ShowFilterPanelMode                = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // symbleCol
     //
     this.symbleCol.Caption    = "符号";
     this.symbleCol.ColumnEdit = this.repositoryItemColorEdit1;
     this.symbleCol.FieldName  = "ColorCol";
     this.symbleCol.Name       = "symbleCol";
     this.symbleCol.OptionsColumn.AllowEdit              = false;
     this.symbleCol.OptionsColumn.AllowGroup             = DevExpress.Utils.DefaultBoolean.False;
     this.symbleCol.OptionsColumn.AllowIncrementalSearch = false;
     this.symbleCol.OptionsColumn.AllowMove              = false;
     this.symbleCol.OptionsColumn.AllowShowHide          = false;
     this.symbleCol.OptionsColumn.AllowSort              = DevExpress.Utils.DefaultBoolean.False;
     this.symbleCol.OptionsColumn.ReadOnly = true;
     this.symbleCol.OptionsColumn.ShowInCustomizationForm = false;
     this.symbleCol.OptionsColumn.ShowInExpressionEditor  = false;
     this.symbleCol.OptionsFilter.AllowAutoFilter         = false;
     this.symbleCol.OptionsFilter.AllowFilter             = false;
     this.symbleCol.Visible      = true;
     this.symbleCol.VisibleIndex = 0;
     //
     // repositoryItemColorEdit1
     //
     this.repositoryItemColorEdit1.AutoHeight = false;
     this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)
     });
     this.repositoryItemColorEdit1.ColorAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.repositoryItemColorEdit1.Name           = "repositoryItemColorEdit1";
     this.repositoryItemColorEdit1.ReadOnly       = true;
     //
     // fieldValueCol
     //
     this.fieldValueCol.Caption   = "字段值";
     this.fieldValueCol.FieldName = "ValueCol";
     this.fieldValueCol.Name      = "fieldValueCol";
     this.fieldValueCol.OptionsColumn.AllowEdit              = false;
     this.fieldValueCol.OptionsColumn.AllowGroup             = DevExpress.Utils.DefaultBoolean.False;
     this.fieldValueCol.OptionsColumn.AllowIncrementalSearch = false;
     this.fieldValueCol.OptionsColumn.AllowMove              = false;
     this.fieldValueCol.OptionsColumn.AllowShowHide          = false;
     this.fieldValueCol.OptionsColumn.AllowSort              = DevExpress.Utils.DefaultBoolean.False;
     this.fieldValueCol.OptionsColumn.ReadOnly = true;
     this.fieldValueCol.OptionsColumn.ShowInCustomizationForm = false;
     this.fieldValueCol.OptionsFilter.AllowAutoFilter         = false;
     this.fieldValueCol.OptionsFilter.AllowFilter             = false;
     this.fieldValueCol.Visible      = true;
     this.fieldValueCol.VisibleIndex = 1;
     //
     // btnAddAll
     //
     this.btnAddAll.Location        = new System.Drawing.Point(12, 64);
     this.btnAddAll.Name            = "btnAddAll";
     this.btnAddAll.Size            = new System.Drawing.Size(83, 22);
     this.btnAddAll.StyleController = this.layoutControl1;
     this.btnAddAll.TabIndex        = 3;
     this.btnAddAll.Text            = "添加所有";
     this.btnAddAll.Click          += new System.EventHandler(this.btnAddAll_Click);
     //
     // btnDelAll
     //
     this.btnDelAll.Location        = new System.Drawing.Point(184, 64);
     this.btnDelAll.Name            = "btnDelAll";
     this.btnDelAll.Size            = new System.Drawing.Size(90, 22);
     this.btnDelAll.StyleController = this.layoutControl1;
     this.btnDelAll.TabIndex        = 5;
     this.btnDelAll.Text            = "删除所有";
     this.btnDelAll.Click          += new System.EventHandler(this.btnDelAll_Click);
     //
     // btnAddValue
     //
     this.btnAddValue.Location        = new System.Drawing.Point(99, 64);
     this.btnAddValue.Name            = "btnAddValue";
     this.btnAddValue.Size            = new System.Drawing.Size(81, 22);
     this.btnAddValue.StyleController = this.layoutControl1;
     this.btnAddValue.TabIndex        = 4;
     this.btnAddValue.Text            = "添加值";
     this.btnAddValue.Click          += new System.EventHandler(this.btnAddValue_Click);
     //
     // checkEditDefault
     //
     this.checkEditDefault.EditValue                 = true;
     this.checkEditDefault.Location                  = new System.Drawing.Point(12, 38);
     this.checkEditDefault.Name                      = "checkEditDefault";
     this.checkEditDefault.Properties.Caption        = "默认";
     this.checkEditDefault.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
     this.checkEditDefault.Size                      = new System.Drawing.Size(46, 19);
     this.checkEditDefault.StyleController           = this.layoutControl1;
     this.checkEditDefault.TabIndex                  = 1;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText       = "layoutControlGroup1";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem3,
         this.layoutControlItem4,
         this.layoutControlItem2,
         this.layoutControlItem7,
         this.layoutControlItem5,
         this.layoutControlItem6,
         this.layoutControlItem8
     });
     this.layoutControlGroup1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name        = "layoutControlGroup1";
     this.layoutControlGroup1.Size        = new System.Drawing.Size(286, 463);
     this.layoutControlGroup1.Text        = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.checkEditDefault;
     this.layoutControlItem3.CustomizationFormText = "layoutControlItem3";
     this.layoutControlItem3.Location = new System.Drawing.Point(0, 26);
     this.layoutControlItem3.Name     = "layoutControlItem3";
     this.layoutControlItem3.Size     = new System.Drawing.Size(50, 26);
     this.layoutControlItem3.Text     = "layoutControlItem3";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextToControlDistance = 0;
     this.layoutControlItem3.TextVisible           = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.btnAddAll;
     this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
     this.layoutControlItem4.Location = new System.Drawing.Point(0, 52);
     this.layoutControlItem4.Name     = "layoutControlItem4";
     this.layoutControlItem4.Size     = new System.Drawing.Size(87, 26);
     this.layoutControlItem4.Text     = "layoutControlItem4";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextToControlDistance = 0;
     this.layoutControlItem4.TextVisible           = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.gridControl1;
     this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 78);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.Size     = new System.Drawing.Size(266, 365);
     this.layoutControlItem2.Text     = "layoutControlItem2";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextToControlDistance = 0;
     this.layoutControlItem2.TextVisible           = false;
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.Control = this.colorEditDefault;
     this.layoutControlItem7.CustomizationFormText = "layoutControlItem7";
     this.layoutControlItem7.Location = new System.Drawing.Point(50, 26);
     this.layoutControlItem7.Name     = "layoutControlItem7";
     this.layoutControlItem7.Size     = new System.Drawing.Size(216, 26);
     this.layoutControlItem7.Text     = "layoutControlItem7";
     this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem7.TextToControlDistance = 0;
     this.layoutControlItem7.TextVisible           = false;
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.btnAddValue;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(87, 52);
     this.layoutControlItem5.Name     = "layoutControlItem5";
     this.layoutControlItem5.Size     = new System.Drawing.Size(85, 26);
     this.layoutControlItem5.Text     = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible           = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control = this.btnDelAll;
     this.layoutControlItem6.CustomizationFormText = "layoutControlItem6";
     this.layoutControlItem6.Location = new System.Drawing.Point(172, 52);
     this.layoutControlItem6.Name     = "layoutControlItem6";
     this.layoutControlItem6.Size     = new System.Drawing.Size(94, 26);
     this.layoutControlItem6.Text     = "layoutControlItem6";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem6.TextToControlDistance = 0;
     this.layoutControlItem6.TextVisible           = false;
     //
     // layoutControlItem8
     //
     this.layoutControlItem8.Control = this.cmbField;
     this.layoutControlItem8.CustomizationFormText = "字段";
     this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem8.Name     = "layoutControlItem8";
     this.layoutControlItem8.Size     = new System.Drawing.Size(266, 26);
     this.layoutControlItem8.Text     = "字段";
     this.layoutControlItem8.TextSize = new System.Drawing.Size(24, 14);
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.CustomizationFormText = "${res:View_Filed}";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(391, 26);
     this.layoutControlItem1.Text     = "${res:View_Filed}";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(97, 14);
     this.layoutControlItem1.TextToControlDistance = 5;
     //
     // UCEnumSymbol
     //
     this.Controls.Add(this.layoutControl1);
     this.Name = "UCEnumSymbol";
     this.Size = new System.Drawing.Size(286, 463);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 12
0
			}
			base.Dispose(disposing);
        }

        /// <summary> 
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.gridControl = new DevExpress.XtraGrid.GridControl();
            this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colUID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTypeID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTypeName = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTypeStyle = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colColor = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit();
            this.SuspendLayout();
            //
            // gridControl
            //
            this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gridControl.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gridControl.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gridControl.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gridControl.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gridControl.Location = new System.Drawing.Point(0, 0);
            this.gridControl.MainView = this.gridView;
            this.gridControl.Name = "gridControl";
            this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemColorEdit1});
            this.gridControl.Size = new System.Drawing.Size(870, 319);
            this.gridControl.TabIndex = 0;
            this.gridControl.UseEmbeddedNavigator = true;
            this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView});
            //
            // gridView
            //
            this.gridView.AppearancePrint.HeaderPanel.Options.UseTextOptions = true;
            this.gridView.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colUID,
            this.colTypeID,
            this.colTypeName,
            this.colTypeStyle,
            this.gridColumn3,
            this.gridColumn4,
            this.colColor,
            this.gridColumn1,
            this.gridColumn2});
            this.gridView.GridControl = this.gridControl;
            this.gridView.Name = "gridView";
            this.gridView.OptionsBehavior.Editable = false;
            this.gridView.OptionsPrint.UsePrintStyles = true;
            this.gridView.DoubleClick += new System.EventHandler(this.gridView_DoubleClick);
            //
            // colUID
            //
            this.colUID.AppearanceHeader.Options.UseTextOptions = true;
            this.colUID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colUID.FieldName = "UID";
            this.colUID.Name = "colUID";
            this.colUID.OptionsColumn.ShowInCustomizationForm = false;
            //
            // colTypeID
            //
            this.colTypeID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTypeID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTypeID.Caption = "地块编号";
            this.colTypeID.FieldName = "TypeID";
            this.colTypeID.Name = "colTypeID";
            this.colTypeID.Visible = true;
            this.colTypeID.VisibleIndex = 0;
            this.colTypeID.Width = 87;
            //
            // colTypeName
            //
            this.colTypeName.AppearanceHeader.Options.UseTextOptions = true;
            this.colTypeName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTypeName.Caption = "地块名称";
            this.colTypeName.FieldName = "TypeName";
            this.colTypeName.Name = "colTypeName";
            this.colTypeName.Visible = true;
            this.colTypeName.VisibleIndex = 1;
            this.colTypeName.Width = 86;
            //
            // colTypeStyle
            //
            this.colTypeStyle.AppearanceCell.Options.UseTextOptions = true;
            this.colTypeStyle.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colTypeStyle.AppearanceHeader.Options.UseTextOptions = true;
            this.colTypeStyle.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTypeStyle.Caption = "负荷密度推荐指标(MW/KM²)";
            this.colTypeStyle.DisplayFormat.FormatString = "####0.####";
            this.colTypeStyle.FieldName = "TypeStyle";
            this.colTypeStyle.Name = "colTypeStyle";
            this.colTypeStyle.Visible = true;
            this.colTypeStyle.VisibleIndex = 2;
            this.colTypeStyle.Width = 166;
            //
            // gridColumn3
            //
            this.gridColumn3.Caption = "负荷密度指标范围(MW/KM²)";
            this.gridColumn3.FieldName = "ObligateField5";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 3;
            this.gridColumn3.Width = 187;
            //
            // gridColumn4
            //
            this.gridColumn4.Caption = "地下负荷指标(MW/KM²)";
            this.gridColumn4.DisplayFormat.FormatString = "##0.##";
            this.gridColumn4.FieldName = "ObligateField6";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 4;
            this.gridColumn4.Width = 97;
            //
            // colColor
            //
            this.colColor.AppearanceHeader.Options.UseTextOptions = true;
            this.colColor.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colColor.Caption = "颜色";
            this.colColor.ColumnEdit = this.repositoryItemColorEdit1;
            this.colColor.FieldName = "ObjColor";
            this.colColor.Name = "colColor";
            this.colColor.Visible = true;
            this.colColor.VisibleIndex = 5;
            this.colColor.Width = 66;
            //
            // repositoryItemColorEdit1
            //
            this.repositoryItemColorEdit1.AutoHeight = false;
            this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemColorEdit1.Name = "repositoryItemColorEdit1";
            //
            // gridColumn1
            //
            this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn1.Caption = "需用系数";
            this.gridColumn1.DisplayFormat.FormatString = "##0.##";
            this.gridColumn1.FieldName = "ObligateField2";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 6;
            this.gridColumn1.Width = 66;
            //
            // gridColumn2
            //
            this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn2.Caption = "容积率";
            this.gridColumn2.FieldName = "ObligateField3";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 7;
            this.gridColumn2.Width = 94;
            //
            // CtrlglebeType
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.gridControl);
            this.Name = "CtrlglebeType";
            this.Size = new System.Drawing.Size(870, 319);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();