/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.vGridControl1 = new DevExpress.XtraVerticalGrid.VGridControl(); this.editorRow1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.editorRow2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.categoryRow1 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow(); this.editorRow3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).BeginInit(); this.SuspendLayout(); // // vGridControl1 // this.vGridControl1.Location = new System.Drawing.Point(32, 24); this.vGridControl1.Name = "vGridControl1"; this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.editorRow1, this.editorRow2, this.categoryRow1 }); this.vGridControl1.Size = new System.Drawing.Size(280, 352); this.vGridControl1.TabIndex = 0; this.vGridControl1.CustomDrawRowHeaderCell += new DevExpress.XtraVerticalGrid.Events.CustomDrawRowHeaderCellEventHandler(this.vGridControl1_CustomDrawRowHeaderCell); // // editorRow1 // this.editorRow1.Name = "editorRow1"; this.editorRow1.Properties.Caption = "&TextEdit"; // // editorRow2 // this.editorRow2.Height = 16; this.editorRow2.Name = "editorRow2"; // // categoryRow1 // this.categoryRow1.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.editorRow3 }); this.categoryRow1.Name = "categoryRow1"; // // editorRow3 // this.editorRow3.Name = "editorRow3"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(728, 422); this.Controls.Add(this.vGridControl1); this.KeyPreview = true; this.Name = "Form1"; this.Text = "Form1"; this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp); ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).EndInit(); this.ResumeLayout(false); }
void ABCRepositoryGridLookupEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Tag != null && e.Button.Tag.Equals("Link") && sender is ABCGridLookUpEdit) { if ((sender as ABCGridLookUpEdit).Parent is DevExpress.XtraGrid.GridControl) { DevExpress.XtraGrid.GridControl gridCtrl = (sender as ABCGridLookUpEdit).Parent as DevExpress.XtraGrid.GridControl; if (gridCtrl != null && gridCtrl.DefaultView != null) { if (gridCtrl.DefaultView is ABCGridView) { ABCGridView view = gridCtrl.DefaultView as ABCGridView; if (view != null) { view.RunFocusedLink(); } } if (gridCtrl.DefaultView is ABCGridBandedView) { ABCGridBandedView view = gridCtrl.DefaultView as ABCGridBandedView; if (view != null) { view.RunFocusedLink(); } } } } else if ((sender as ABCGridLookUpEdit).Parent is DevExpress.XtraVerticalGrid.VGridControl) { DevExpress.XtraVerticalGrid.VGridControl gridCtrl = (sender as ABCGridLookUpEdit).Parent as DevExpress.XtraVerticalGrid.VGridControl; if (gridCtrl != null && gridCtrl.Parent is ABCGridRowDetail) { ABCGridRowDetail rowDetail = (ABCGridRowDetail)gridCtrl.Parent; rowDetail.RunFocusedLink(); } } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.customizeField_vgc = new DevExpress.XtraVerticalGrid.VGridControl(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.customizeField_vgc)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // customizeField_vgc // this.customizeField_vgc.Dock = System.Windows.Forms.DockStyle.Fill; this.customizeField_vgc.LayoutStyle = DevExpress.XtraVerticalGrid.LayoutViewStyle.SingleRecordView; this.customizeField_vgc.Location = new System.Drawing.Point(0, 0); this.customizeField_vgc.Name = "customizeField_vgc"; this.customizeField_vgc.Size = new System.Drawing.Size(312, 385); this.customizeField_vgc.TabIndex = 2; this.customizeField_vgc.Leave += new System.EventHandler(this.customizeField_vgc_Leave); // // panel1 // this.panel1.Controls.Add(this.customizeField_vgc); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(312, 385); this.panel1.TabIndex = 4; // // PLDynamicField // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel1); this.Name = "PLDynamicField"; this.Size = new System.Drawing.Size(312, 385); ((System.ComponentModel.ISupportInitialize)(this.customizeField_vgc)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditLineName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditRemark = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowLineName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowRemark = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowcol2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowcol3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditLineName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Controls.Add(this.btnOK); this.panelControl.Controls.Add(this.btnCancel); this.panelControl.Location = new System.Drawing.Point(3, 3); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(395, 195); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(382, 153); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(378, 138); // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(3, 3); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 234; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditUID, this.ItemTextEditLineName, this.ItemTextEditRemark, this.ItemTextEditcol1, this.ItemTextEditcol2, this.ItemTextEditcol3, this.repositoryItemMemoEdit1}); this.vGridControl.RowHeaderWidth = 129; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowUID, this.rowLineName, this.rowRemark, this.rowcol1, this.rowcol2, this.rowcol3}); this.vGridControl.Size = new System.Drawing.Size(371, 131); this.vGridControl.TabIndex = 0; // // ItemTextEditUID // this.ItemTextEditUID.AutoHeight = false; this.ItemTextEditUID.MaxLength = 50; this.ItemTextEditUID.Name = "ItemTextEditUID"; // // ItemTextEditLineName // this.ItemTextEditLineName.AutoHeight = false; this.ItemTextEditLineName.MaxLength = 50; this.ItemTextEditLineName.Name = "ItemTextEditLineName"; // // ItemTextEditRemark // this.ItemTextEditRemark.AutoHeight = false; this.ItemTextEditRemark.MaxLength = 500; this.ItemTextEditRemark.Name = "ItemTextEditRemark"; // // ItemTextEditcol1 // this.ItemTextEditcol1.AutoHeight = false; this.ItemTextEditcol1.MaxLength = 50; this.ItemTextEditcol1.Name = "ItemTextEditcol1"; // // ItemTextEditcol2 // this.ItemTextEditcol2.AutoHeight = false; this.ItemTextEditcol2.MaxLength = 50; this.ItemTextEditcol2.Name = "ItemTextEditcol2"; // // ItemTextEditcol3 // this.ItemTextEditcol3.AutoHeight = false; this.ItemTextEditcol3.MaxLength = 50; this.ItemTextEditcol3.Name = "ItemTextEditcol3"; // // repositoryItemMemoEdit1 // this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1"; // // rowUID // this.rowUID.Height = 25; this.rowUID.Name = "rowUID"; this.rowUID.Properties.FieldName = "UID"; this.rowUID.Properties.ImageIndex = 25; this.rowUID.Properties.RowEdit = this.ItemTextEditUID; this.rowUID.Visible = false; // // rowLineName // this.rowLineName.Height = 25; this.rowLineName.Name = "rowLineName"; this.rowLineName.Properties.Caption = "��·����"; this.rowLineName.Properties.FieldName = "LineName"; this.rowLineName.Properties.ImageIndex = 25; this.rowLineName.Properties.RowEdit = this.ItemTextEditLineName; // // rowRemark // this.rowRemark.Height = 95; this.rowRemark.Name = "rowRemark"; this.rowRemark.Properties.Caption = "����"; this.rowRemark.Properties.FieldName = "Remark"; this.rowRemark.Properties.ImageIndex = 25; this.rowRemark.Properties.RowEdit = this.repositoryItemMemoEdit1; // // rowcol1 // this.rowcol1.Height = 25; this.rowcol1.Name = "rowcol1"; this.rowcol1.Properties.FieldName = "col1"; this.rowcol1.Properties.ImageIndex = 25; this.rowcol1.Properties.RowEdit = this.ItemTextEditcol1; this.rowcol1.Visible = false; // // rowcol2 // this.rowcol2.Height = 25; this.rowcol2.Name = "rowcol2"; this.rowcol2.Properties.FieldName = "col2"; this.rowcol2.Properties.ImageIndex = 25; this.rowcol2.Properties.RowEdit = this.ItemTextEditcol2; this.rowcol2.Visible = false; // // rowcol3 // this.rowcol3.Height = 25; this.rowcol3.Name = "rowcol3"; this.rowcol3.Properties.FieldName = "col3"; this.rowcol3.Properties.ImageIndex = 25; this.rowcol3.Properties.RowEdit = this.ItemTextEditcol3; this.rowcol3.Visible = false; // // btnOK // this.btnOK.Location = new System.Drawing.Point(221, 164); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(302, 164); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // FrmPSP_PlanListDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(395, 198); this.Controls.Add(this.panelControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmPSP_PlanListDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "��·�滮"; this.Load += new System.EventHandler(this.FrmPSP_PlanListDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditLineName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditSName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditSType = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditDQ = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowSName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowSType = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowDQ = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditDQ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Location = new System.Drawing.Point(0, 0); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(395, 175); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(382, 161); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(378, 145); // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(3, 3); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 234; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditUID, this.ItemTextEditSName, this.ItemTextEditSType, this.ItemTextEditDQ, this.ItemTextEditcol1, this.repositoryItemComboBox1, this.repositoryItemComboBox2, this.repositoryItemComboBox3}); this.vGridControl.RowHeaderWidth = 129; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowUID, this.rowSName, this.rowSType, this.rowDQ, this.rowcol1}); this.vGridControl.Size = new System.Drawing.Size(369, 138); this.vGridControl.TabIndex = 0; // // ItemTextEditUID // this.ItemTextEditUID.AutoHeight = false; this.ItemTextEditUID.MaxLength = 50; this.ItemTextEditUID.Name = "ItemTextEditUID"; // // ItemTextEditSName // this.ItemTextEditSName.AutoHeight = false; this.ItemTextEditSName.MaxLength = 500; this.ItemTextEditSName.Name = "ItemTextEditSName"; // // ItemTextEditSType // this.ItemTextEditSType.AutoHeight = false; this.ItemTextEditSType.MaxLength = 50; this.ItemTextEditSType.Name = "ItemTextEditSType"; // // ItemTextEditDQ // this.ItemTextEditDQ.AutoHeight = false; this.ItemTextEditDQ.MaxLength = 50; this.ItemTextEditDQ.Name = "ItemTextEditDQ"; // // ItemTextEditcol1 // this.ItemTextEditcol1.AutoHeight = false; this.ItemTextEditcol1.MaxLength = 50; this.ItemTextEditcol1.Name = "ItemTextEditcol1"; // // 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[] { "��Ͻ������", "�ؼ�ֱ��ֱ��", "�ؼ��ع�", "�ؼ��ι�", "�ؼ�����"}); this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; // // 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.Name = "repositoryItemComboBox2"; // // rowUID // this.rowUID.Height = 25; this.rowUID.Name = "rowUID"; this.rowUID.Properties.FieldName = "UID"; this.rowUID.Properties.ImageIndex = 25; this.rowUID.Properties.RowEdit = this.ItemTextEditUID; this.rowUID.Visible = false; // // rowSName // this.rowSName.Height = 25; this.rowSName.Name = "rowSName"; this.rowSName.Properties.Caption = "����"; this.rowSName.Properties.FieldName = "SName"; this.rowSName.Properties.ImageIndex = 25; this.rowSName.Properties.RowEdit = this.ItemTextEditSName; // // rowSType // this.rowSType.Height = 25; this.rowSType.Name = "rowSType"; this.rowSType.Properties.Caption = "����"; this.rowSType.Properties.FieldName = "SType"; this.rowSType.Properties.ImageIndex = 25; this.rowSType.Properties.RowEdit = this.repositoryItemComboBox1; // // rowDQ // this.rowDQ.Height = 25; this.rowDQ.Name = "rowDQ"; this.rowDQ.Properties.Caption = "����"; this.rowDQ.Properties.FieldName = "DQ"; this.rowDQ.Properties.ImageIndex = 25; this.rowDQ.Properties.RowEdit = this.repositoryItemComboBox2; // // rowcol1 // this.rowcol1.Height = 25; this.rowcol1.Name = "rowcol1"; this.rowcol1.Properties.Caption = "Ͷ�����"; this.rowcol1.Properties.FieldName = "col1"; this.rowcol1.Properties.ImageIndex = 25; this.rowcol1.Properties.RowEdit = this.repositoryItemComboBox3; // // btnOK // this.btnOK.Location = new System.Drawing.Point(203, 181); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(307, 181); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // repositoryItemComboBox3 // this.repositoryItemComboBox3.AutoHeight = false; this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox3.Name = "repositoryItemComboBox3"; // // FrmPs_Table_EnterpriseDialog // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(395, 206); this.Controls.Add(this.panelControl); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmPs_Table_EnterpriseDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "��ҵ��ϸ"; this.Load += new System.EventHandler(this.FrmPs_Table_EnterpriseDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditDQ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit(); this.ResumeLayout(false); }
private void cxDBVerGridUserCreation_ValidateRecord(object sender, DevExpress.XtraVerticalGrid.Events.ValidateRecordEventArgs e) { DevExpress.XtraVerticalGrid.VGridControl vGrid = sender as DevExpress.XtraVerticalGrid.VGridControl; string sUsername = Convert.ToString(vGrid.GetCellValue(cxDBVerGridUserCreationUSERNAME, e.RecordIndex)); if (drUserSetup == null) { return; } //if (sUsername.IndexOf(' ') > 0) if (drUserSetup["USERNAME"] != DBNull.Value && Convert.ToString(drUserSetup["USERNAME"]).IndexOf(' ') > 0) { oSecMainFrm.MessageDlg("Blank Spaces are not allowed in User Name.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } //if (sUsername.Trim() == "") if (drUserSetup["USERNAME"] == DBNull.Value || string.IsNullOrWhiteSpace(drUserSetup["USERNAME"].ToString().Trim())) { oSecMainFrm.MessageDlg("User Name cannot be blank.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } else if (Convert.ToString(drUserSetup["USERNAME"]).Length > 27) { oSecMainFrm.MessageDlg("User Name exceeds maximum permissible length of 27.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } else { drUserSetup["USERNAME"] = Convert.ToString(drUserSetup["USERNAME"]).Trim().ToUpper(); } //if(Convert.ToString(vGrid.GetCellValue(cxDBVerGridUserCreationPASSWORD, e.RecordIndex)).Trim() == "") if (drUserSetup["USER_PASSWORD"] == DBNull.Value || string.IsNullOrWhiteSpace(drUserSetup["USER_PASSWORD"].ToString().Trim())) { oSecMainFrm.MessageDlg("Password cannot be blank.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } //if (Convert.ToString(vGrid.GetCellValue(cxDBVerGridUserCreationCONfPASSWORD, e.RecordIndex)).Trim() == "") if (drUserSetup["CON_PASSWORD"] == DBNull.Value || string.IsNullOrWhiteSpace(drUserSetup["CON_PASSWORD"].ToString().Trim())) { oSecMainFrm.MessageDlg("Confirm Password cannot be blank.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } /*if (Convert.ToString(vGrid.GetCellValue(cxDBVerGridUserCreationMaintainBlackoutPeriod, e.RecordIndex)) == "Y" && * Convert.ToString(vGrid.GetCellValue(cxDBVerGridUserCreationCorporateUser, e.RecordIndex)) == "N")*/ if (drUserSetup["PCF_MAINTAIN_BLACKOUT_PERIOD"] != DBNull.Value && Convert.ToString(drUserSetup["PCF_MAINTAIN_BLACKOUT_PERIOD"]) == "Y" && drUserSetup["PCF_CORPORATE_USER"] != DBNull.Value && Convert.ToString(drUserSetup["PCF_CORPORATE_USER"]) == "N") { oSecMainFrm.MessageDlg("Only a corporate user can maintain blackout period.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } if (drUserSetup.RowState == DataRowState.Added) { object oResult = oUserSetup.CheckUserNameExist(drUserSetup["USERNAME"].ToString()); if (oResult != null && Convert.ToInt32(oResult) > 0) { oSecMainFrm.MessageDlg("User Name already exits.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } if (Convert.ToString(drUserSetup["USER_PASSWORD"]) != Convert.ToString(drUserSetup["CON_PASSWORD"])) { oSecMainFrm.MessageDlg("Password confirmation is wrong.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } try { drUserSetup["USER_PASSWORD"] = XpedeonCrypto.XpedeonServerEncrypt(drUserSetup["USER_PASSWORD"].ToString()); } catch (Exception ex) { e.Valid = false; sIsValided = "E"; throw ex; } } else //if (drUserSetup.RowState == DataRowState.Modified) if (sPrevPassword != Convert.ToString(drUserSetup["USER_PASSWORD"])) { if (Convert.ToString(drUserSetup["USER_PASSWORD"]) != Convert.ToString(drUserSetup["CON_PASSWORD"])) { oSecMainFrm.MessageDlg("Password confirmation is wrong.", "mtError", "mbOk", 0); e.Valid = false; sIsValided = "E"; return; } try { drUserSetup["USER_PASSWORD"] = XpedeonCrypto.XpedeonServerEncrypt(drUserSetup["USER_PASSWORD"].ToString()); } catch (Exception ex) { e.Valid = false; sIsValided = "E"; throw ex; } drUserSetup["PASSWORD_UPDATED_ON"] = DateTime.Now; } sIsValided = "Y"; }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditUID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditInfoName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEdittype = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditcol3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.rowUID = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowInfoName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowcol1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditInfoName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEdittype)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Controls.Add(this.btnOK); this.panelControl.Controls.Add(this.btnCancel); this.panelControl.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl.Location = new System.Drawing.Point(0, 0); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(395, 132); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(382, 90); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(376, 74); // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(3, 3); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 234; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditUID, this.ItemTextEditInfoName, this.ItemTextEdittype, this.ItemTextEditcol1, this.ItemTextEditcol2, this.ItemTextEditcol3}); this.vGridControl.RowHeaderWidth = 129; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowUID, this.rowInfoName, this.rowcol1}); this.vGridControl.Size = new System.Drawing.Size(371, 68); this.vGridControl.TabIndex = 0; // // ItemTextEditUID // this.ItemTextEditUID.AutoHeight = false; this.ItemTextEditUID.Name = "ItemTextEditUID"; // // ItemTextEditInfoName // this.ItemTextEditInfoName.AutoHeight = false; this.ItemTextEditInfoName.MaxLength = 50; this.ItemTextEditInfoName.Name = "ItemTextEditInfoName"; // // ItemTextEdittype // this.ItemTextEdittype.AutoHeight = false; this.ItemTextEdittype.Name = "ItemTextEdittype"; // // ItemTextEditcol1 // this.ItemTextEditcol1.AutoHeight = false; this.ItemTextEditcol1.MaxLength = 50; this.ItemTextEditcol1.Name = "ItemTextEditcol1"; // // ItemTextEditcol2 // this.ItemTextEditcol2.AutoHeight = false; this.ItemTextEditcol2.MaxLength = 50; this.ItemTextEditcol2.Name = "ItemTextEditcol2"; // // ItemTextEditcol3 // this.ItemTextEditcol3.AutoHeight = false; this.ItemTextEditcol3.MaxLength = 50; this.ItemTextEditcol3.Name = "ItemTextEditcol3"; // // rowUID // this.rowUID.Height = 25; this.rowUID.Name = "rowUID"; this.rowUID.Properties.FieldName = "UID"; this.rowUID.Properties.ImageIndex = 25; this.rowUID.Properties.RowEdit = this.ItemTextEditUID; this.rowUID.Visible = false; // // rowInfoName // this.rowInfoName.Height = 25; this.rowInfoName.Name = "rowInfoName"; this.rowInfoName.Properties.Caption = "����"; this.rowInfoName.Properties.FieldName = "SName"; this.rowInfoName.Properties.ImageIndex = 25; this.rowInfoName.Properties.RowEdit = this.ItemTextEditInfoName; // // rowcol1 // this.rowcol1.Height = 25; this.rowcol1.Name = "rowcol1"; this.rowcol1.Properties.Caption = "��ע"; this.rowcol1.Properties.FieldName = "col1"; this.rowcol1.Properties.ImageIndex = 25; this.rowcol1.Properties.RowEdit = this.ItemTextEditcol1; // // btnOK // this.btnOK.Location = new System.Drawing.Point(210, 102); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(314, 102); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // FrmPSP_SubstationMngDialog // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(395, 132); this.Controls.Add(this.panelControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmPSP_SubstationMngDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "���վѡַ����"; this.Load += new System.EventHandler(this.FrmPSP_SubstationParDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditUID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditInfoName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEdittype)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditcol3)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.tabNghiepVu = new DevExpress.XtraTab.XtraTabControl(); this.TabPageThietLapSoPhieu = new DevExpress.XtraTab.XtraTabPage(); this.panelControlSoPhieu = new DevExpress.XtraEditors.PanelControl(); this.groupControlExample = new DevExpress.XtraEditors.GroupControl(); this.xtraScrollableControlExample = new DevExpress.XtraEditors.XtraScrollableControl(); this.flowLayoutPanelDemo = new System.Windows.Forms.FlowLayoutPanel(); this.groupControlConfig = new DevExpress.XtraEditors.GroupControl(); this.xtraScrollableControlConfig = new DevExpress.XtraEditors.XtraScrollableControl(); this.flowLayoutPanelLabel = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanelPattern = new System.Windows.Forms.FlowLayoutPanel(); this.tabPageNghiepVu = new DevExpress.XtraTab.XtraTabPage(); this.lblDescripNghiepVu = new DevExpress.XtraEditors.LabelControl(); this.vGridMain = new DevExpress.XtraVerticalGrid.VGridControl(); this.tabPageBaoCao = new DevExpress.XtraTab.XtraTabPage(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.lblDescripBaoCao = new DevExpress.XtraEditors.LabelControl(); this.vGridMainBaoCao = new DevExpress.XtraVerticalGrid.VGridControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.btnXoaPic = new DevExpress.XtraEditors.SimpleButton(); this.headerLetter = new DevExpress.XtraEditors.PictureEdit(); this.btnChonPic = new DevExpress.XtraEditors.SimpleButton(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.ParamDescrip_lb = new DevExpress.XtraEditors.LabelControl(); this.Param_lb = new DevExpress.XtraEditors.LabelControl(); this.btnXemTruoc = new DevExpress.XtraEditors.SimpleButton(); this.btnDong = new DevExpress.XtraEditors.SimpleButton(); this.btnLuu = new DevExpress.XtraEditors.SimpleButton(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabNghiepVu)).BeginInit(); this.tabNghiepVu.SuspendLayout(); this.TabPageThietLapSoPhieu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControlSoPhieu)).BeginInit(); this.panelControlSoPhieu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).BeginInit(); this.groupControlExample.SuspendLayout(); this.xtraScrollableControlExample.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).BeginInit(); this.groupControlConfig.SuspendLayout(); this.xtraScrollableControlConfig.SuspendLayout(); this.tabPageNghiepVu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridMain)).BeginInit(); this.tabPageBaoCao.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridMainBaoCao)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.headerLetter.Properties)).BeginInit(); this.SuspendLayout(); // // splitContainerControl1 // this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.tabNghiepVu); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.ParamDescrip_lb); this.splitContainerControl1.Panel2.Controls.Add(this.Param_lb); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel1; this.splitContainerControl1.Size = new System.Drawing.Size(557, 335); this.splitContainerControl1.SplitterPosition = 311; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // tabNghiepVu // this.tabNghiepVu.Location = new System.Drawing.Point(0, 0); this.tabNghiepVu.Name = "tabNghiepVu"; this.tabNghiepVu.SelectedTabPage = this.TabPageThietLapSoPhieu; this.tabNghiepVu.Size = new System.Drawing.Size(559, 336); this.tabNghiepVu.TabIndex = 0; this.tabNghiepVu.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.TabPageThietLapSoPhieu, this.tabPageNghiepVu, this.tabPageBaoCao}); this.tabNghiepVu.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabNghiepVu_SelectedPageChanged); // // TabPageThietLapSoPhieu // this.TabPageThietLapSoPhieu.Controls.Add(this.panelControlSoPhieu); this.TabPageThietLapSoPhieu.Name = "TabPageThietLapSoPhieu"; this.TabPageThietLapSoPhieu.Size = new System.Drawing.Size(552, 307); this.TabPageThietLapSoPhieu.Text = "Thiết lập định dạng số phiếu"; // // panelControlSoPhieu // this.panelControlSoPhieu.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControlSoPhieu.Controls.Add(this.groupControlExample); this.panelControlSoPhieu.Controls.Add(this.groupControlConfig); this.panelControlSoPhieu.Location = new System.Drawing.Point(0, 0); this.panelControlSoPhieu.Name = "panelControlSoPhieu"; this.panelControlSoPhieu.Size = new System.Drawing.Size(544, 78); this.panelControlSoPhieu.TabIndex = 0; // // groupControlExample // this.groupControlExample.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupControlExample.Controls.Add(this.xtraScrollableControlExample); this.groupControlExample.Location = new System.Drawing.Point(397, 6); this.groupControlExample.Name = "groupControlExample"; this.groupControlExample.Size = new System.Drawing.Size(141, 66); this.groupControlExample.TabIndex = 16; this.groupControlExample.Text = "Minh họa định dạng"; // // xtraScrollableControlExample // this.xtraScrollableControlExample.Controls.Add(this.flowLayoutPanelDemo); this.xtraScrollableControlExample.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraScrollableControlExample.FireScrollEventOnMouseWheel = true; this.xtraScrollableControlExample.Location = new System.Drawing.Point(2, 22); this.xtraScrollableControlExample.Name = "xtraScrollableControlExample"; this.xtraScrollableControlExample.Size = new System.Drawing.Size(137, 42); this.xtraScrollableControlExample.TabIndex = 1; this.xtraScrollableControlExample.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlExample_Scroll); // // flowLayoutPanelDemo // this.flowLayoutPanelDemo.AutoSize = true; this.flowLayoutPanelDemo.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanelDemo.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanelDemo.Name = "flowLayoutPanelDemo"; this.flowLayoutPanelDemo.Size = new System.Drawing.Size(132, 25); this.flowLayoutPanelDemo.TabIndex = 2; // // groupControlConfig // this.groupControlConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupControlConfig.Controls.Add(this.xtraScrollableControlConfig); this.groupControlConfig.Location = new System.Drawing.Point(6, 6); this.groupControlConfig.Name = "groupControlConfig"; this.groupControlConfig.Size = new System.Drawing.Size(388, 66); this.groupControlConfig.TabIndex = 15; this.groupControlConfig.Text = "Định dạng số phiếu phát sinh tự động"; // // xtraScrollableControlConfig // this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelLabel); this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelPattern); this.xtraScrollableControlConfig.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraScrollableControlConfig.FireScrollEventOnMouseWheel = true; this.xtraScrollableControlConfig.Location = new System.Drawing.Point(2, 22); this.xtraScrollableControlConfig.Name = "xtraScrollableControlConfig"; this.xtraScrollableControlConfig.Size = new System.Drawing.Size(384, 42); this.xtraScrollableControlConfig.TabIndex = 2; this.xtraScrollableControlConfig.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlConfig_Scroll); // // flowLayoutPanelLabel // this.flowLayoutPanelLabel.AutoSize = true; this.flowLayoutPanelLabel.BackColor = System.Drawing.Color.Transparent; this.flowLayoutPanelLabel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanelLabel.Location = new System.Drawing.Point(1, 3); this.flowLayoutPanelLabel.Name = "flowLayoutPanelLabel"; this.flowLayoutPanelLabel.Size = new System.Drawing.Size(145, 25); this.flowLayoutPanelLabel.TabIndex = 0; // // flowLayoutPanelPattern // this.flowLayoutPanelPattern.AutoSize = true; this.flowLayoutPanelPattern.BackColor = System.Drawing.Color.Transparent; this.flowLayoutPanelPattern.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanelPattern.Location = new System.Drawing.Point(147, 3); this.flowLayoutPanelPattern.Name = "flowLayoutPanelPattern"; this.flowLayoutPanelPattern.Size = new System.Drawing.Size(235, 25); this.flowLayoutPanelPattern.TabIndex = 1; // // tabPageNghiepVu // this.tabPageNghiepVu.Controls.Add(this.lblDescripNghiepVu); this.tabPageNghiepVu.Controls.Add(this.vGridMain); this.tabPageNghiepVu.Name = "tabPageNghiepVu"; this.tabPageNghiepVu.Size = new System.Drawing.Size(552, 307); this.tabPageNghiepVu.Text = "Tham số nghiệp vụ"; // // lblDescripNghiepVu // this.lblDescripNghiepVu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDescripNghiepVu.Appearance.ForeColor = System.Drawing.Color.Black; this.lblDescripNghiepVu.Appearance.Options.UseBackColor = true; this.lblDescripNghiepVu.Appearance.Options.UseForeColor = true; this.lblDescripNghiepVu.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lblDescripNghiepVu.Location = new System.Drawing.Point(8, 272); this.lblDescripNghiepVu.Name = "lblDescripNghiepVu"; this.lblDescripNghiepVu.Size = new System.Drawing.Size(537, 34); this.lblDescripNghiepVu.TabIndex = 3; // // vGridMain // this.vGridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridMain.Appearance.RowHeaderPanel.Options.UseBackColor = true; this.vGridMain.LayoutStyle = DevExpress.XtraVerticalGrid.LayoutViewStyle.SingleRecordView; this.vGridMain.Location = new System.Drawing.Point(0, 0); this.vGridMain.Name = "vGridMain"; this.vGridMain.OptionsBehavior.Editable = false; this.vGridMain.OptionsBehavior.ResizeHeaderPanel = false; this.vGridMain.OptionsBehavior.ResizeRowHeaders = false; this.vGridMain.OptionsBehavior.ResizeRowValues = false; this.vGridMain.Size = new System.Drawing.Size(552, 271); this.vGridMain.TabIndex = 2; // // tabPageBaoCao // this.tabPageBaoCao.Controls.Add(this.panelControl1); this.tabPageBaoCao.Name = "tabPageBaoCao"; this.tabPageBaoCao.Size = new System.Drawing.Size(552, 307); this.tabPageBaoCao.Text = "Tham số báo cáo"; // // panelControl1 // this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.lblDescripBaoCao); this.panelControl1.Controls.Add(this.vGridMainBaoCao); this.panelControl1.Controls.Add(this.labelControl2); this.panelControl1.Controls.Add(this.btnXoaPic); this.panelControl1.Controls.Add(this.headerLetter); this.panelControl1.Controls.Add(this.btnChonPic); this.panelControl1.Controls.Add(this.labelControl3); this.panelControl1.Controls.Add(this.labelControl1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(552, 307); this.panelControl1.TabIndex = 2; // // lblDescripBaoCao // this.lblDescripBaoCao.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDescripBaoCao.Appearance.Options.UseBackColor = true; this.lblDescripBaoCao.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lblDescripBaoCao.Location = new System.Drawing.Point(8, 271); this.lblDescripBaoCao.Name = "lblDescripBaoCao"; this.lblDescripBaoCao.Size = new System.Drawing.Size(538, 36); this.lblDescripBaoCao.TabIndex = 32; // // vGridMainBaoCao // this.vGridMainBaoCao.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridMainBaoCao.Appearance.RowHeaderPanel.Options.UseBackColor = true; this.vGridMainBaoCao.LayoutStyle = DevExpress.XtraVerticalGrid.LayoutViewStyle.SingleRecordView; this.vGridMainBaoCao.Location = new System.Drawing.Point(6, 150); this.vGridMainBaoCao.MaxRowAutoHeight = 35; this.vGridMainBaoCao.Name = "vGridMainBaoCao"; this.vGridMainBaoCao.OptionsBehavior.Editable = false; this.vGridMainBaoCao.OptionsBehavior.ResizeHeaderPanel = false; this.vGridMainBaoCao.OptionsBehavior.ResizeRowHeaders = false; this.vGridMainBaoCao.Size = new System.Drawing.Size(542, 120); this.vGridMainBaoCao.TabIndex = 31; // // labelControl2 // this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.labelControl2.Location = new System.Drawing.Point(6, 130); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(88, 13); this.labelControl2.TabIndex = 0; this.labelControl2.Text = "Các thông số khác"; // // btnXoaPic // this.btnXoaPic.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btnXoaPic.Appearance.Options.UseFont = true; this.btnXoaPic.Location = new System.Drawing.Point(128, 9); this.btnXoaPic.Name = "btnXoaPic"; this.btnXoaPic.Size = new System.Drawing.Size(20, 20); this.btnXoaPic.TabIndex = 1; this.btnXoaPic.Text = "-"; this.btnXoaPic.ToolTip = "Xóa đầu trang"; this.btnXoaPic.Click += new System.EventHandler(this.btnXoaPic_Click); // // headerLetter // this.headerLetter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.headerLetter.Location = new System.Drawing.Point(6, 37); this.headerLetter.Name = "headerLetter"; this.headerLetter.Properties.ErrorImage = null; this.headerLetter.Properties.InitialImage = null; this.headerLetter.Properties.ShowMenu = false; this.headerLetter.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch; this.headerLetter.Size = new System.Drawing.Size(542, 80); this.headerLetter.TabIndex = 30; this.headerLetter.ToolTip = "Hình ảnh sẽ hiện ở đầu trang báo cáo"; this.headerLetter.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information; // // btnChonPic // this.btnChonPic.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btnChonPic.Appearance.Options.UseFont = true; this.btnChonPic.Location = new System.Drawing.Point(106, 9); this.btnChonPic.Name = "btnChonPic"; this.btnChonPic.Size = new System.Drawing.Size(20, 20); this.btnChonPic.TabIndex = 1; this.btnChonPic.Text = "+"; this.btnChonPic.ToolTip = "Thêm đầu trang"; this.btnChonPic.Click += new System.EventHandler(this.btnChonPic_Click); // // labelControl3 // this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl3.Appearance.Options.UseFont = true; this.labelControl3.Location = new System.Drawing.Point(154, 12); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(124, 13); this.labelControl3.TabIndex = 0; this.labelControl3.Text = "(kích thước 650 x 100 px)"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(8, 12); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(90, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "Đầu trang báo cáo"; // // ParamDescrip_lb // this.ParamDescrip_lb.Location = new System.Drawing.Point(10, 10); this.ParamDescrip_lb.Name = "ParamDescrip_lb"; this.ParamDescrip_lb.Size = new System.Drawing.Size(0, 13); this.ParamDescrip_lb.TabIndex = 47; // // Param_lb // this.Param_lb.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Param_lb.Appearance.Options.UseFont = true; this.Param_lb.Location = new System.Drawing.Point(10, 10); this.Param_lb.Name = "Param_lb"; this.Param_lb.Size = new System.Drawing.Size(0, 13); this.Param_lb.TabIndex = 46; // // btnXemTruoc // this.btnXemTruoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnXemTruoc.Location = new System.Drawing.Point(340, 342); this.btnXemTruoc.Name = "btnXemTruoc"; this.btnXemTruoc.Size = new System.Drawing.Size(75, 23); this.btnXemTruoc.TabIndex = 10; this.btnXemTruoc.Text = "&Xem trước"; this.btnXemTruoc.Click += new System.EventHandler(this.btnXemTruoc_Click); // // btnDong // this.btnDong.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDong.Location = new System.Drawing.Point(487, 342); this.btnDong.Name = "btnDong"; this.btnDong.Size = new System.Drawing.Size(60, 23); this.btnDong.TabIndex = 1; this.btnDong.Text = "Đón&g"; this.btnDong.Click += new System.EventHandler(this.btnDong_Click); // // btnLuu // this.btnLuu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnLuu.Location = new System.Drawing.Point(421, 342); this.btnLuu.Name = "btnLuu"; this.btnLuu.Size = new System.Drawing.Size(60, 23); this.btnLuu.TabIndex = 0; this.btnLuu.Text = "&Lưu"; this.btnLuu.Click += new System.EventHandler(this.btnLuu_Click); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // frmCauHinhNghiepVu // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(557, 375); this.Controls.Add(this.btnXemTruoc); this.Controls.Add(this.btnLuu); this.Controls.Add(this.btnDong); this.Controls.Add(this.splitContainerControl1); this.Name = "frmCauHinhNghiepVu"; this.Text = "Cấu hình nghiệp vụ"; this.Load += new System.EventHandler(this.frmCauHinhNghiepVu_Load); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabNghiepVu)).EndInit(); this.tabNghiepVu.ResumeLayout(false); this.TabPageThietLapSoPhieu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControlSoPhieu)).EndInit(); this.panelControlSoPhieu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).EndInit(); this.groupControlExample.ResumeLayout(false); this.xtraScrollableControlExample.ResumeLayout(false); this.xtraScrollableControlExample.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).EndInit(); this.groupControlConfig.ResumeLayout(false); this.xtraScrollableControlConfig.ResumeLayout(false); this.xtraScrollableControlConfig.PerformLayout(); this.tabPageNghiepVu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridMain)).EndInit(); this.tabPageBaoCao.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridMainBaoCao)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.headerLetter.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditListName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditRemark = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.rowListName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowRemark = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditListName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.simpleButton1); this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Controls.Add(this.btnOK); this.panelControl.Controls.Add(this.btnCancel); this.panelControl.Location = new System.Drawing.Point(0, 0); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(404, 142); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(7, 112); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(75, 23); this.simpleButton1.TabIndex = 3; this.simpleButton1.Text = "����ͼ��"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(391, 100); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(387, 73); this.tabPage.Text = "����"; // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(3, 3); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 234; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditListName, this.ItemTextEditRemark}); this.vGridControl.RowHeaderWidth = 129; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowListName, this.rowRemark}); this.vGridControl.Size = new System.Drawing.Size(378, 66); this.vGridControl.TabIndex = 0; // // ItemTextEditListName // this.ItemTextEditListName.AutoHeight = false; this.ItemTextEditListName.MaxLength = 100; this.ItemTextEditListName.Name = "ItemTextEditListName"; // // ItemTextEditRemark // this.ItemTextEditRemark.AutoHeight = false; this.ItemTextEditRemark.MaxLength = 300; this.ItemTextEditRemark.Name = "ItemTextEditRemark"; // // rowListName // this.rowListName.Height = 25; this.rowListName.Name = "rowListName"; this.rowListName.Properties.Caption = "��������"; this.rowListName.Properties.FieldName = "ListName"; this.rowListName.Properties.ImageIndex = 25; this.rowListName.Properties.RowEdit = this.ItemTextEditListName; // // rowRemark // this.rowRemark.Height = 25; this.rowRemark.Name = "rowRemark"; this.rowRemark.Properties.Caption = "��ע"; this.rowRemark.Properties.FieldName = "Remark"; this.rowRemark.Properties.ImageIndex = 25; this.rowRemark.Properties.RowEdit = this.ItemTextEditRemark; // // btnOK // this.btnOK.Location = new System.Drawing.Point(208, 113); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(312, 113); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // FrmLayoutListDialog // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(402, 139); this.Controls.Add(this.panelControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmLayoutListDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "����"; this.Load += new System.EventHandler(this.FrmLayoutListDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditListName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditRemark)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditAreaName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditSubstationName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditTitle = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemDateEditL6 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.ItemTextEditK1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK11 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK12 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK13 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK14 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK15 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK16 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK17 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK18 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditK19 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemComboBox4 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemComboBox5 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.rowAreaName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowSubstationName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowTitle = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.categoryRow1 = new DevExpress.XtraVerticalGrid.Rows.CategoryRow(); this.editorRow1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.editorRow2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.editorRow3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK11 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK12 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK13 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK14 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK15 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK16 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK17 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK18 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowK19 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSubstationName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemDateEditL6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.checkEdit1); this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Controls.Add(this.btnOK); this.panelControl.Controls.Add(this.btnCancel); this.panelControl.Location = new System.Drawing.Point(0, 0); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(395, 372); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; this.panelControl.Paint += new System.Windows.Forms.PaintEventHandler(this.panelControl_Paint); // // checkEdit1 // this.checkEdit1.Location = new System.Drawing.Point(16, 344); this.checkEdit1.Name = "checkEdit1"; this.checkEdit1.Properties.Caption = "�������"; this.checkEdit1.Size = new System.Drawing.Size(75, 19); this.checkEdit1.TabIndex = 2; // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(382, 330); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(378, 303); this.tabPage.Text = "��·���"; // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(7, 3); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 178; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditAreaName, this.ItemTextEditSubstationName, this.ItemTextEditTitle, this.ItemTextEditL1, this.ItemTextEditL2, this.ItemTextEditL3, this.ItemTextEditL4, this.ItemTextEditL5, this.ItemDateEditL6, this.ItemTextEditK1, this.ItemTextEditK2, this.ItemTextEditK3, this.ItemTextEditK4, this.ItemTextEditK5, this.ItemTextEditK6, this.ItemTextEditK7, this.ItemTextEditK8, this.ItemTextEditK9, this.ItemTextEditK10, this.ItemTextEditK11, this.ItemTextEditK12, this.ItemTextEditK13, this.ItemTextEditK14, this.ItemTextEditK15, this.ItemTextEditK16, this.ItemTextEditK17, this.ItemTextEditK18, this.ItemTextEditK19, this.ItemTextEditS1, this.ItemTextEditS2, this.ItemTextEditS3, this.ItemTextEditS4, this.ItemTextEditS5, this.ItemTextEditS6, this.ItemTextEditS7, this.ItemTextEditS8, this.ItemTextEditS9, this.ItemTextEditS10, this.repositoryItemTextEdit1, this.repositoryItemTextEdit2, this.repositoryItemComboBox1, this.repositoryItemComboBox2, this.repositoryItemComboBox3, this.repositoryItemComboBox4, this.repositoryItemComboBox5}); this.vGridControl.RowHeaderWidth = 140; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowAreaName, this.rowSubstationName, this.rowTitle, this.rowL1, this.rowL2, this.rowL3, this.rowL4, this.rowL5, this.rowL6, this.rowK1, this.rowK2, this.rowK3, this.rowK4, this.rowK5, this.rowK6, this.rowK7, this.categoryRow1, this.editorRow3, this.rowK8, this.rowK9, this.rowK10, this.rowK11, this.rowK12, this.rowK13, this.rowK14, this.rowK15, this.rowK16, this.rowK17, this.rowK18, this.rowK19, this.rowS1, this.rowS2, this.rowS3, this.rowS4, this.rowS5, this.rowS6, this.rowS7, this.rowS8, this.rowS9, this.rowS10}); this.vGridControl.Size = new System.Drawing.Size(354, 288); this.vGridControl.TabIndex = 0; // // ItemTextEditAreaName // this.ItemTextEditAreaName.AutoHeight = false; this.ItemTextEditAreaName.MaxLength = 100; this.ItemTextEditAreaName.Name = "ItemTextEditAreaName"; // // ItemTextEditSubstationName // this.ItemTextEditSubstationName.AutoHeight = false; this.ItemTextEditSubstationName.MaxLength = 100; this.ItemTextEditSubstationName.Name = "ItemTextEditSubstationName"; // // ItemTextEditTitle // this.ItemTextEditTitle.AutoHeight = false; this.ItemTextEditTitle.MaxLength = 100; this.ItemTextEditTitle.Name = "ItemTextEditTitle"; // // ItemTextEditL1 // this.ItemTextEditL1.AutoHeight = false; this.ItemTextEditL1.Name = "ItemTextEditL1"; // // ItemTextEditL2 // this.ItemTextEditL2.AutoHeight = false; this.ItemTextEditL2.MaxLength = 100; this.ItemTextEditL2.Name = "ItemTextEditL2"; // // ItemTextEditL3 // this.ItemTextEditL3.AutoHeight = false; this.ItemTextEditL3.MaxLength = 100; this.ItemTextEditL3.Name = "ItemTextEditL3"; // // ItemTextEditL4 // this.ItemTextEditL4.AutoHeight = false; this.ItemTextEditL4.MaxLength = 100; this.ItemTextEditL4.Name = "ItemTextEditL4"; // // ItemTextEditL5 // this.ItemTextEditL5.AutoHeight = false; this.ItemTextEditL5.DisplayFormat.FormatString = "n2"; this.ItemTextEditL5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL5.EditFormat.FormatString = "n2"; this.ItemTextEditL5.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL5.Mask.EditMask = "n2"; this.ItemTextEditL5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL5.Name = "ItemTextEditL5"; // // ItemDateEditL6 // this.ItemDateEditL6.AutoHeight = false; this.ItemDateEditL6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ItemDateEditL6.DisplayFormat.FormatString = "yyyy-MM-dd"; this.ItemDateEditL6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.ItemDateEditL6.EditFormat.FormatString = "yyyy-MM-dd"; this.ItemDateEditL6.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.ItemDateEditL6.Mask.EditMask = "yyyy-MM-dd"; this.ItemDateEditL6.Name = "ItemDateEditL6"; this.ItemDateEditL6.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // ItemTextEditK1 // this.ItemTextEditK1.AutoHeight = false; this.ItemTextEditK1.Name = "ItemTextEditK1"; // // ItemTextEditK2 // this.ItemTextEditK2.AutoHeight = false; this.ItemTextEditK2.MaxLength = 100; this.ItemTextEditK2.Name = "ItemTextEditK2"; // // ItemTextEditK3 // this.ItemTextEditK3.AutoHeight = false; this.ItemTextEditK3.MaxLength = 100; this.ItemTextEditK3.Name = "ItemTextEditK3"; // // ItemTextEditK4 // this.ItemTextEditK4.AutoHeight = false; this.ItemTextEditK4.DisplayFormat.FormatString = "n4"; this.ItemTextEditK4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK4.EditFormat.FormatString = "n4"; this.ItemTextEditK4.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK4.Mask.EditMask = "n4"; this.ItemTextEditK4.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK4.Name = "ItemTextEditK4"; // // ItemTextEditK5 // this.ItemTextEditK5.AutoHeight = false; this.ItemTextEditK5.DisplayFormat.FormatString = "n4"; this.ItemTextEditK5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK5.EditFormat.FormatString = "n4"; this.ItemTextEditK5.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK5.Mask.EditMask = "n4"; this.ItemTextEditK5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK5.Name = "ItemTextEditK5"; // // ItemTextEditK6 // this.ItemTextEditK6.AutoHeight = false; this.ItemTextEditK6.DisplayFormat.FormatString = "n4"; this.ItemTextEditK6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK6.EditFormat.FormatString = "n4"; this.ItemTextEditK6.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK6.Mask.EditMask = "n4"; this.ItemTextEditK6.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK6.Name = "ItemTextEditK6"; // // ItemTextEditK7 // this.ItemTextEditK7.AutoHeight = false; this.ItemTextEditK7.DisplayFormat.FormatString = "n4"; this.ItemTextEditK7.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK7.EditFormat.FormatString = "n4"; this.ItemTextEditK7.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK7.Mask.EditMask = "n4"; this.ItemTextEditK7.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK7.Name = "ItemTextEditK7"; // // ItemTextEditK8 // this.ItemTextEditK8.AutoHeight = false; this.ItemTextEditK8.DisplayFormat.FormatString = "n0"; this.ItemTextEditK8.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK8.EditFormat.FormatString = "n0"; this.ItemTextEditK8.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK8.Mask.EditMask = "n0"; this.ItemTextEditK8.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK8.Name = "ItemTextEditK8"; // // ItemTextEditK9 // this.ItemTextEditK9.AutoHeight = false; this.ItemTextEditK9.DisplayFormat.FormatString = "n0"; this.ItemTextEditK9.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK9.EditFormat.FormatString = "n0"; this.ItemTextEditK9.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK9.Mask.EditMask = "n0"; this.ItemTextEditK9.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK9.Name = "ItemTextEditK9"; // // ItemTextEditK10 // this.ItemTextEditK10.AutoHeight = false; this.ItemTextEditK10.DisplayFormat.FormatString = "n0"; this.ItemTextEditK10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK10.EditFormat.FormatString = "n0"; this.ItemTextEditK10.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK10.Mask.EditMask = "n0"; this.ItemTextEditK10.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK10.Name = "ItemTextEditK10"; // // ItemTextEditK11 // this.ItemTextEditK11.AutoHeight = false; this.ItemTextEditK11.DisplayFormat.FormatString = "n0"; this.ItemTextEditK11.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK11.EditFormat.FormatString = "n0"; this.ItemTextEditK11.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK11.Mask.EditMask = "n0"; this.ItemTextEditK11.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK11.Name = "ItemTextEditK11"; // // ItemTextEditK12 // this.ItemTextEditK12.AutoHeight = false; this.ItemTextEditK12.DisplayFormat.FormatString = "n0"; this.ItemTextEditK12.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK12.EditFormat.FormatString = "n0"; this.ItemTextEditK12.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK12.Mask.EditMask = "n0"; this.ItemTextEditK12.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK12.Name = "ItemTextEditK12"; // // ItemTextEditK13 // this.ItemTextEditK13.AutoHeight = false; this.ItemTextEditK13.DisplayFormat.FormatString = "n0"; this.ItemTextEditK13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK13.EditFormat.FormatString = "n0"; this.ItemTextEditK13.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK13.Mask.EditMask = "n0"; this.ItemTextEditK13.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK13.Name = "ItemTextEditK13"; // // ItemTextEditK14 // this.ItemTextEditK14.AutoHeight = false; this.ItemTextEditK14.DisplayFormat.FormatString = "n0"; this.ItemTextEditK14.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK14.EditFormat.FormatString = "n0"; this.ItemTextEditK14.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK14.Mask.EditMask = "n0"; this.ItemTextEditK14.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK14.Name = "ItemTextEditK14"; // // ItemTextEditK15 // this.ItemTextEditK15.AutoHeight = false; this.ItemTextEditK15.DisplayFormat.FormatString = "n0"; this.ItemTextEditK15.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK15.EditFormat.FormatString = "n0"; this.ItemTextEditK15.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK15.Mask.EditMask = "n0"; this.ItemTextEditK15.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK15.Name = "ItemTextEditK15"; // // ItemTextEditK16 // this.ItemTextEditK16.AutoHeight = false; this.ItemTextEditK16.DisplayFormat.FormatString = "n2"; this.ItemTextEditK16.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK16.EditFormat.FormatString = "n2"; this.ItemTextEditK16.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK16.Mask.EditMask = "n2"; this.ItemTextEditK16.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK16.Name = "ItemTextEditK16"; // // ItemTextEditK17 // this.ItemTextEditK17.AutoHeight = false; this.ItemTextEditK17.DisplayFormat.FormatString = "n2"; this.ItemTextEditK17.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK17.EditFormat.FormatString = "n2"; this.ItemTextEditK17.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK17.Mask.EditMask = "n2"; this.ItemTextEditK17.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK17.Name = "ItemTextEditK17"; // // ItemTextEditK18 // this.ItemTextEditK18.AutoHeight = false; this.ItemTextEditK18.DisplayFormat.FormatString = "n2"; this.ItemTextEditK18.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK18.EditFormat.FormatString = "n2"; this.ItemTextEditK18.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK18.Mask.EditMask = "n2"; this.ItemTextEditK18.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK18.Name = "ItemTextEditK18"; // // ItemTextEditK19 // this.ItemTextEditK19.AutoHeight = false; this.ItemTextEditK19.DisplayFormat.FormatString = "n2"; this.ItemTextEditK19.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK19.EditFormat.FormatString = "n2"; this.ItemTextEditK19.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditK19.Mask.EditMask = "n2"; this.ItemTextEditK19.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditK19.Name = "ItemTextEditK19"; // // ItemTextEditS1 // this.ItemTextEditS1.AutoHeight = false; this.ItemTextEditS1.MaxLength = 100; this.ItemTextEditS1.Name = "ItemTextEditS1"; // // ItemTextEditS2 // this.ItemTextEditS2.AutoHeight = false; this.ItemTextEditS2.MaxLength = 100; this.ItemTextEditS2.Name = "ItemTextEditS2"; // // ItemTextEditS3 // this.ItemTextEditS3.AutoHeight = false; this.ItemTextEditS3.MaxLength = 100; this.ItemTextEditS3.Name = "ItemTextEditS3"; // // ItemTextEditS4 // this.ItemTextEditS4.AutoHeight = false; this.ItemTextEditS4.MaxLength = 100; this.ItemTextEditS4.Name = "ItemTextEditS4"; // // ItemTextEditS5 // this.ItemTextEditS5.AutoHeight = false; this.ItemTextEditS5.MaxLength = 100; this.ItemTextEditS5.Name = "ItemTextEditS5"; // // ItemTextEditS6 // this.ItemTextEditS6.AutoHeight = false; this.ItemTextEditS6.MaxLength = 100; this.ItemTextEditS6.Name = "ItemTextEditS6"; // // ItemTextEditS7 // this.ItemTextEditS7.AutoHeight = false; this.ItemTextEditS7.MaxLength = 100; this.ItemTextEditS7.Name = "ItemTextEditS7"; // // ItemTextEditS8 // this.ItemTextEditS8.AutoHeight = false; this.ItemTextEditS8.MaxLength = 100; this.ItemTextEditS8.Name = "ItemTextEditS8"; // // ItemTextEditS9 // this.ItemTextEditS9.AutoHeight = false; this.ItemTextEditS9.MaxLength = 100; this.ItemTextEditS9.Name = "ItemTextEditS9"; // // ItemTextEditS10 // this.ItemTextEditS10.AutoHeight = false; this.ItemTextEditS10.MaxLength = 100; this.ItemTextEditS10.Name = "ItemTextEditS10"; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.DisplayFormat.FormatString = "n4"; this.repositoryItemTextEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEdit1.EditFormat.FormatString = "n4"; this.repositoryItemTextEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEdit1.Mask.EditMask = "n4"; this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // repositoryItemTextEdit2 // this.repositoryItemTextEdit2.AutoHeight = false; this.repositoryItemTextEdit2.DisplayFormat.FormatString = "n4"; this.repositoryItemTextEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEdit2.EditFormat.FormatString = "n4"; this.repositoryItemTextEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEdit2.Mask.EditMask = "n4"; this.repositoryItemTextEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; // // 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"; // // 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.Name = "repositoryItemComboBox2"; // // repositoryItemComboBox3 // this.repositoryItemComboBox3.AutoHeight = false; this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox3.Name = "repositoryItemComboBox3"; // // repositoryItemComboBox4 // this.repositoryItemComboBox4.AutoHeight = false; this.repositoryItemComboBox4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox4.Items.AddRange(new object[] { "500", "220", "110", "66", "35"}); this.repositoryItemComboBox4.Name = "repositoryItemComboBox4"; this.repositoryItemComboBox4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // repositoryItemComboBox5 // this.repositoryItemComboBox5.AutoHeight = false; this.repositoryItemComboBox5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox5.Items.AddRange(new object[] { "10", "6", "0.4"}); this.repositoryItemComboBox5.Name = "repositoryItemComboBox5"; this.repositoryItemComboBox5.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // rowAreaName // this.rowAreaName.Height = 25; this.rowAreaName.Name = "rowAreaName"; this.rowAreaName.Properties.Caption = "����"; this.rowAreaName.Properties.FieldName = "AreaName"; this.rowAreaName.Properties.ImageIndex = 25; this.rowAreaName.Properties.RowEdit = this.ItemTextEditAreaName; // // rowSubstationName // this.rowSubstationName.Height = 25; this.rowSubstationName.Name = "rowSubstationName"; this.rowSubstationName.Properties.Caption = "���վ����"; this.rowSubstationName.Properties.FieldName = "SubstationName"; this.rowSubstationName.Properties.ImageIndex = 25; this.rowSubstationName.Properties.RowEdit = this.ItemTextEditSubstationName; // // rowTitle // this.rowTitle.Height = 25; this.rowTitle.Name = "rowTitle"; this.rowTitle.Properties.Caption = "��·����"; this.rowTitle.Properties.FieldName = "Title"; this.rowTitle.Properties.ImageIndex = 25; this.rowTitle.Properties.RowEdit = this.ItemTextEditTitle; // // rowL1 // this.rowL1.Height = 25; this.rowL1.Name = "rowL1"; this.rowL1.Properties.Caption = "��ѹ�ȼ�(kV)"; this.rowL1.Properties.FieldName = "L1"; this.rowL1.Properties.ImageIndex = 25; this.rowL1.Properties.RowEdit = this.repositoryItemComboBox4; // // rowL2 // this.rowL2.Height = 25; this.rowL2.Name = "rowL2"; this.rowL2.Properties.Caption = "�����վ"; this.rowL2.Properties.FieldName = "L2"; this.rowL2.Properties.ImageIndex = 25; this.rowL2.Properties.RowEdit = this.ItemTextEditL2; // // rowL3 // this.rowL3.Height = 25; this.rowL3.Name = "rowL3"; this.rowL3.Properties.Caption = "�յ���վ"; this.rowL3.Properties.FieldName = "L3"; this.rowL3.Properties.ImageIndex = 25; this.rowL3.Properties.RowEdit = this.ItemTextEditL3; // // rowL4 // this.rowL4.Height = 25; this.rowL4.Name = "rowL4"; this.rowL4.Properties.Caption = "�����ͺ�"; this.rowL4.Properties.FieldName = "L4"; this.rowL4.Properties.ImageIndex = 25; this.rowL4.Properties.RowEdit = this.ItemTextEditL4; // // rowL5 // this.rowL5.Height = 25; this.rowL5.Name = "rowL5"; this.rowL5.Properties.Caption = "��·����(km)"; this.rowL5.Properties.FieldName = "L5"; this.rowL5.Properties.ImageIndex = 25; this.rowL5.Properties.RowEdit = this.ItemTextEditL5; // // rowL6 // this.rowL6.Height = 25; this.rowL6.Name = "rowL6"; this.rowL6.Properties.Caption = "Ͷ��ʱ��"; this.rowL6.Properties.FieldName = "L6"; this.rowL6.Properties.ImageIndex = 25; this.rowL6.Properties.RowEdit = this.ItemDateEditL6; // // rowK1 // this.rowK1.Height = 25; this.rowK1.Name = "rowK1"; this.rowK1.Properties.Caption = "��ѹ�ȼ�(kV)"; this.rowK1.Properties.FieldName = "K1"; this.rowK1.Properties.ImageIndex = 25; this.rowK1.Properties.RowEdit = this.repositoryItemComboBox5; // // rowK2 // this.rowK2.Height = 25; this.rowK2.Name = "rowK2"; this.rowK2.Properties.Caption = "���ڵ����ͺ�"; this.rowK2.Properties.FieldName = "K2"; this.rowK2.Properties.ImageIndex = 25; this.rowK2.Properties.RowEdit = this.repositoryItemComboBox1; // // rowK3 // this.rowK3.Height = 25; this.rowK3.Name = "rowK3"; this.rowK3.Properties.Caption = "��·����"; this.rowK3.Properties.FieldName = "K3"; this.rowK3.Properties.ImageIndex = 25; this.rowK3.Properties.RowEdit = this.repositoryItemComboBox2; // // rowK4 // this.rowK4.Height = 25; this.rowK4.Name = "rowK4"; this.rowK4.Properties.Caption = "�����߳���(km)"; this.rowK4.Properties.FieldName = "K4"; this.rowK4.Properties.ImageIndex = 25; this.rowK4.Properties.RowEdit = this.ItemTextEditK4; // // rowK5 // this.rowK5.Height = 25; this.rowK5.Name = "rowK5"; this.rowK5.Properties.Caption = "��·�ܳ���(km)"; this.rowK5.Properties.FieldName = "K5"; this.rowK5.Properties.ImageIndex = 25; this.rowK5.Properties.RowEdit = this.ItemTextEditK5; this.rowK5.Visible = false; // // rowK6 // this.rowK6.Height = 25; this.rowK6.Name = "rowK6"; this.rowK6.Properties.Caption = "�����߳�(km)"; this.rowK6.Properties.FieldName = "K6"; this.rowK6.Properties.ImageIndex = 25; this.rowK6.Properties.RowEdit = this.ItemTextEditK6; // // rowK7 // this.rowK7.Height = 25; this.rowK7.Name = "rowK7"; this.rowK7.Properties.Caption = "�ܿ��߳�(km)"; this.rowK7.Properties.FieldName = "K7"; this.rowK7.Properties.ImageIndex = 25; this.rowK7.Properties.RowEdit = this.ItemTextEditK7; this.rowK7.Visible = false; // // categoryRow1 // this.categoryRow1.ChildRows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.editorRow1, this.editorRow2}); this.categoryRow1.Name = "categoryRow1"; this.categoryRow1.Properties.Caption = "�ܿ��߳�(km)"; // // editorRow1 // this.editorRow1.Name = "editorRow1"; this.editorRow1.Properties.Caption = "�㵼��"; this.editorRow1.Properties.FieldName = "K20"; this.editorRow1.Properties.RowEdit = this.repositoryItemTextEdit1; // // editorRow2 // this.editorRow2.Name = "editorRow2"; this.editorRow2.Properties.Caption = "��Ե��"; this.editorRow2.Properties.FieldName = "K21"; this.editorRow2.Properties.RowEdit = this.repositoryItemTextEdit2; // // editorRow3 // this.editorRow3.Name = "editorRow3"; this.editorRow3.Properties.Caption = "�����·����ģʽ"; this.editorRow3.Properties.FieldName = "K22"; this.editorRow3.Properties.RowEdit = this.repositoryItemComboBox3; // // rowK8 // this.rowK8.Height = 25; this.rowK8.Name = "rowK8"; this.rowK8.Properties.Caption = "��ȫ����(A)"; this.rowK8.Properties.FieldName = "K8"; this.rowK8.Properties.ImageIndex = 25; this.rowK8.Properties.RowEdit = this.ItemTextEditK8; // // rowK9 // this.rowK9.Height = 25; this.rowK9.Name = "rowK9"; this.rowK9.Properties.Caption = "����̨��"; this.rowK9.Properties.FieldName = "K9"; this.rowK9.Properties.ImageIndex = 25; this.rowK9.Properties.RowEdit = this.ItemTextEditK9; // // rowK10 // this.rowK10.Height = 25; this.rowK10.Name = "rowK10"; this.rowK10.Properties.Caption = "��������(kVA)"; this.rowK10.Properties.FieldName = "K10"; this.rowK10.Properties.ImageIndex = 25; this.rowK10.Properties.RowEdit = this.ItemTextEditK10; // // rowK11 // this.rowK11.Height = 25; this.rowK11.Name = "rowK11"; this.rowK11.Properties.Caption = "ר��̨��"; this.rowK11.Properties.FieldName = "K11"; this.rowK11.Properties.ImageIndex = 25; this.rowK11.Properties.RowEdit = this.ItemTextEditK11; // // rowK12 // this.rowK12.Height = 25; this.rowK12.Name = "rowK12"; this.rowK12.Properties.Caption = "ר������(kVA)"; this.rowK12.Properties.FieldName = "K12"; this.rowK12.Properties.ImageIndex = 25; this.rowK12.Properties.RowEdit = this.ItemTextEditK12; // // rowK13 // this.rowK13.Height = 25; this.rowK13.Name = "rowK13"; this.rowK13.Properties.Caption = "���������(kVA)"; this.rowK13.Properties.FieldName = "K13"; this.rowK13.Properties.ImageIndex = 25; this.rowK13.Properties.RowEdit = this.ItemTextEditK13; // // rowK14 // this.rowK14.Height = 25; this.rowK14.Name = "rowK14"; this.rowK14.Properties.Caption = "��������̨��(̨)"; this.rowK14.Properties.FieldName = "K14"; this.rowK14.Properties.ImageIndex = 25; this.rowK14.Properties.RowEdit = this.ItemTextEditK14; // // rowK15 // this.rowK15.Height = 25; this.rowK15.Name = "rowK15"; this.rowK15.Properties.Caption = "������������(Kvar)"; this.rowK15.Properties.FieldName = "K15"; this.rowK15.Properties.ImageIndex = 25; this.rowK15.Properties.RowEdit = this.ItemTextEditK15; // // rowK16 // this.rowK16.Height = 25; this.rowK16.Name = "rowK16"; this.rowK16.Properties.Caption = "������(A)"; this.rowK16.Properties.FieldName = "K16"; this.rowK16.Properties.ImageIndex = 25; this.rowK16.Properties.RowEdit = this.ItemTextEditK16; // // rowK17 // this.rowK17.Height = 25; this.rowK17.Name = "rowK17"; this.rowK17.Properties.Caption = "��为����(%)"; this.rowK17.Properties.FieldName = "K17"; this.rowK17.Properties.ImageIndex = 25; this.rowK17.Properties.RowEdit = this.ItemTextEditK17; this.rowK17.Visible = false; // // rowK18 // this.rowK18.Height = 25; this.rowK18.Name = "rowK18"; this.rowK18.Properties.Caption = "��λ�߳��������(kVA/km)"; this.rowK18.Properties.FieldName = "K18"; this.rowK18.Properties.ImageIndex = 25; this.rowK18.Properties.RowEdit = this.ItemTextEditK18; // // rowK19 // this.rowK19.Height = 25; this.rowK19.Name = "rowK19"; this.rowK19.Properties.Caption = "��·������(%)"; this.rowK19.Properties.FieldName = "K19"; this.rowK19.Properties.ImageIndex = 25; this.rowK19.Properties.RowEdit = this.ItemTextEditK19; this.rowK19.Visible = false; // // rowS1 // this.rowS1.Height = 25; this.rowS1.Name = "rowS1"; this.rowS1.Properties.FieldName = "S1"; this.rowS1.Properties.ImageIndex = 25; this.rowS1.Properties.RowEdit = this.ItemTextEditS1; // // rowS2 // this.rowS2.Height = 25; this.rowS2.Name = "rowS2"; this.rowS2.Properties.FieldName = "S2"; this.rowS2.Properties.ImageIndex = 25; this.rowS2.Properties.RowEdit = this.ItemTextEditS2; // // rowS3 // this.rowS3.Height = 25; this.rowS3.Name = "rowS3"; this.rowS3.Properties.FieldName = "S3"; this.rowS3.Properties.ImageIndex = 25; this.rowS3.Properties.RowEdit = this.ItemTextEditS3; // // rowS4 // this.rowS4.Height = 25; this.rowS4.Name = "rowS4"; this.rowS4.Properties.FieldName = "S4"; this.rowS4.Properties.ImageIndex = 25; this.rowS4.Properties.RowEdit = this.ItemTextEditS4; // // rowS5 // this.rowS5.Height = 25; this.rowS5.Name = "rowS5"; this.rowS5.Properties.FieldName = "S5"; this.rowS5.Properties.ImageIndex = 25; this.rowS5.Properties.RowEdit = this.ItemTextEditS5; // // rowS6 // this.rowS6.Height = 25; this.rowS6.Name = "rowS6"; this.rowS6.Properties.FieldName = "S6"; this.rowS6.Properties.ImageIndex = 25; this.rowS6.Properties.RowEdit = this.ItemTextEditS6; // // rowS7 // this.rowS7.Height = 25; this.rowS7.Name = "rowS7"; this.rowS7.Properties.FieldName = "S7"; this.rowS7.Properties.ImageIndex = 25; this.rowS7.Properties.RowEdit = this.ItemTextEditS7; // // rowS8 // this.rowS8.Height = 25; this.rowS8.Name = "rowS8"; this.rowS8.Properties.FieldName = "S8"; this.rowS8.Properties.ImageIndex = 25; this.rowS8.Properties.RowEdit = this.ItemTextEditS8; // // rowS9 // this.rowS9.Height = 25; this.rowS9.Name = "rowS9"; this.rowS9.Properties.FieldName = "S9"; this.rowS9.Properties.ImageIndex = 25; this.rowS9.Properties.RowEdit = this.ItemTextEditS9; // // rowS10 // this.rowS10.Height = 25; this.rowS10.Name = "rowS10"; this.rowS10.Properties.FieldName = "S10"; this.rowS10.Properties.ImageIndex = 25; this.rowS10.Properties.RowEdit = this.ItemTextEditS10; // // btnOK // this.btnOK.Location = new System.Drawing.Point(187, 343); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(291, 343); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // FrmLine_InfoDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(393, 375); this.Controls.Add(this.panelControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmLine_InfoDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "��·���"; this.Load += new System.EventHandler(this.FrmLine_InfoDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditSubstationName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemDateEditL6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditK19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox5)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// �����֧������ķ��� - ��Ҫ /// ʹ�ô���༭���Ĵ˷��������ݡ� /// </summary> private void InitializeComponent() { this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabPage = new DevExpress.XtraTab.XtraTabPage(); this.vGridControl = new DevExpress.XtraVerticalGrid.VGridControl(); this.ItemTextEditAreaName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditTitle = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditL10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS7 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS8 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS9 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.ItemTextEditS10 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.rowAreaName = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowTitle = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.editorRow1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.editorRow2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowL10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS5 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS6 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS7 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS8 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS9 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowS10 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.checkEdit1); this.panelControl.Controls.Add(this.xtraTabControl1); this.panelControl.Controls.Add(this.btnOK); this.panelControl.Controls.Add(this.btnCancel); this.panelControl.Location = new System.Drawing.Point(0, 0); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(410, 372); this.panelControl.TabIndex = 0; this.panelControl.Text = "panelControl1"; // // checkEdit1 // this.checkEdit1.Location = new System.Drawing.Point(16, 343); this.checkEdit1.Name = "checkEdit1"; this.checkEdit1.Properties.Caption = "�������"; this.checkEdit1.Size = new System.Drawing.Size(75, 19); this.checkEdit1.TabIndex = 3; // // xtraTabControl1 // this.xtraTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xtraTabControl1.Location = new System.Drawing.Point(7, 7); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabPage; this.xtraTabControl1.Size = new System.Drawing.Size(397, 330); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabPage}); this.xtraTabControl1.Text = "xtraTabControl1"; // // tabPage // this.tabPage.Controls.Add(this.vGridControl); this.tabPage.Name = "tabPage"; this.tabPage.Size = new System.Drawing.Size(393, 303); this.tabPage.Text = "���վ���"; // // vGridControl // this.vGridControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.vGridControl.Location = new System.Drawing.Point(7, 4); this.vGridControl.Name = "vGridControl"; this.vGridControl.RecordWidth = 185; this.vGridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ItemTextEditAreaName, this.ItemTextEditTitle, this.ItemTextEditL1, this.ItemTextEditL2, this.ItemTextEditL3, this.ItemTextEditL4, this.ItemTextEditL5, this.ItemTextEditL6, this.ItemTextEditL7, this.ItemTextEditL8, this.ItemTextEditL9, this.ItemTextEditL10, this.ItemTextEditS1, this.ItemTextEditS2, this.ItemTextEditS3, this.ItemTextEditS4, this.ItemTextEditS5, this.ItemTextEditS6, this.ItemTextEditS7, this.ItemTextEditS8, this.ItemTextEditS9, this.ItemTextEditS10, this.repositoryItemTextEdit1, this.repositoryItemTextEdit2}); this.vGridControl.RowHeaderWidth = 150; this.vGridControl.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowAreaName, this.rowTitle, this.rowL1, this.rowL2, this.rowL3, this.rowL4, this.rowL5, this.rowL6, this.editorRow1, this.editorRow2, this.rowL7, this.rowL8, this.rowL9, this.rowL10, this.rowS1, this.rowS2, this.rowS3, this.rowS4, this.rowS5, this.rowS6, this.rowS7, this.rowS8, this.rowS9, this.rowS10}); this.vGridControl.Size = new System.Drawing.Size(376, 288); this.vGridControl.TabIndex = 0; // // ItemTextEditAreaName // this.ItemTextEditAreaName.AutoHeight = false; this.ItemTextEditAreaName.MaxLength = 100; this.ItemTextEditAreaName.Name = "ItemTextEditAreaName"; // // ItemTextEditTitle // this.ItemTextEditTitle.AutoHeight = false; this.ItemTextEditTitle.MaxLength = 100; this.ItemTextEditTitle.Name = "ItemTextEditTitle"; // // ItemTextEditL1 // this.ItemTextEditL1.AutoHeight = false; this.ItemTextEditL1.Mask.EditMask = "n0"; this.ItemTextEditL1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL1.Name = "ItemTextEditL1"; // // ItemTextEditL2 // this.ItemTextEditL2.AutoHeight = false; this.ItemTextEditL2.DisplayFormat.FormatString = "n2"; this.ItemTextEditL2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL2.EditFormat.FormatString = "n2"; this.ItemTextEditL2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL2.Mask.EditMask = "n"; this.ItemTextEditL2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL2.Name = "ItemTextEditL2"; // // ItemTextEditL3 // this.ItemTextEditL3.AutoHeight = false; this.ItemTextEditL3.Mask.EditMask = "n0"; this.ItemTextEditL3.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL3.Name = "ItemTextEditL3"; // // ItemTextEditL4 // this.ItemTextEditL4.AutoHeight = false; this.ItemTextEditL4.MaxLength = 100; this.ItemTextEditL4.Name = "ItemTextEditL4"; // // ItemTextEditL5 // this.ItemTextEditL5.AutoHeight = false; this.ItemTextEditL5.MaxLength = 100; this.ItemTextEditL5.Name = "ItemTextEditL5"; // // ItemTextEditL6 // this.ItemTextEditL6.AutoHeight = false; this.ItemTextEditL6.MaxLength = 100; this.ItemTextEditL6.Name = "ItemTextEditL6"; // // ItemTextEditL7 // this.ItemTextEditL7.AutoHeight = false; this.ItemTextEditL7.MaxLength = 100; this.ItemTextEditL7.Name = "ItemTextEditL7"; // // ItemTextEditL8 // this.ItemTextEditL8.AutoHeight = false; this.ItemTextEditL8.MaxLength = 100; this.ItemTextEditL8.Name = "ItemTextEditL8"; // // ItemTextEditL9 // this.ItemTextEditL9.AutoHeight = false; this.ItemTextEditL9.DisplayFormat.FormatString = "n2"; this.ItemTextEditL9.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL9.EditFormat.FormatString = "n2"; this.ItemTextEditL9.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL9.Mask.EditMask = "n2"; this.ItemTextEditL9.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL9.Name = "ItemTextEditL9"; // // ItemTextEditL10 // this.ItemTextEditL10.AutoHeight = false; this.ItemTextEditL10.DisplayFormat.FormatString = "n2"; this.ItemTextEditL10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL10.EditFormat.FormatString = "n2"; this.ItemTextEditL10.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ItemTextEditL10.Mask.EditMask = "n2"; this.ItemTextEditL10.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.ItemTextEditL10.Name = "ItemTextEditL10"; // // ItemTextEditS1 // this.ItemTextEditS1.AutoHeight = false; this.ItemTextEditS1.MaxLength = 100; this.ItemTextEditS1.Name = "ItemTextEditS1"; // // ItemTextEditS2 // this.ItemTextEditS2.AutoHeight = false; this.ItemTextEditS2.MaxLength = 100; this.ItemTextEditS2.Name = "ItemTextEditS2"; // // ItemTextEditS3 // this.ItemTextEditS3.AutoHeight = false; this.ItemTextEditS3.MaxLength = 100; this.ItemTextEditS3.Name = "ItemTextEditS3"; // // ItemTextEditS4 // this.ItemTextEditS4.AutoHeight = false; this.ItemTextEditS4.MaxLength = 100; this.ItemTextEditS4.Name = "ItemTextEditS4"; // // ItemTextEditS5 // this.ItemTextEditS5.AutoHeight = false; this.ItemTextEditS5.MaxLength = 100; this.ItemTextEditS5.Name = "ItemTextEditS5"; // // ItemTextEditS6 // this.ItemTextEditS6.AutoHeight = false; this.ItemTextEditS6.MaxLength = 100; this.ItemTextEditS6.Name = "ItemTextEditS6"; // // ItemTextEditS7 // this.ItemTextEditS7.AutoHeight = false; this.ItemTextEditS7.MaxLength = 100; this.ItemTextEditS7.Name = "ItemTextEditS7"; // // ItemTextEditS8 // this.ItemTextEditS8.AutoHeight = false; this.ItemTextEditS8.MaxLength = 100; this.ItemTextEditS8.Name = "ItemTextEditS8"; // // ItemTextEditS9 // this.ItemTextEditS9.AutoHeight = false; this.ItemTextEditS9.MaxLength = 100; this.ItemTextEditS9.Name = "ItemTextEditS9"; // // ItemTextEditS10 // this.ItemTextEditS10.AutoHeight = false; this.ItemTextEditS10.MaxLength = 100; this.ItemTextEditS10.Name = "ItemTextEditS10"; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.MaxLength = 100; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // repositoryItemTextEdit2 // this.repositoryItemTextEdit2.AutoHeight = false; this.repositoryItemTextEdit2.MaxLength = 100; this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; // // rowAreaName // this.rowAreaName.Height = 25; this.rowAreaName.Name = "rowAreaName"; this.rowAreaName.Properties.Caption = "����"; this.rowAreaName.Properties.FieldName = "AreaName"; this.rowAreaName.Properties.ImageIndex = 25; this.rowAreaName.Properties.RowEdit = this.ItemTextEditAreaName; // // rowTitle // this.rowTitle.Height = 25; this.rowTitle.Name = "rowTitle"; this.rowTitle.Properties.Caption = "���վ����"; this.rowTitle.Properties.FieldName = "Title"; this.rowTitle.Properties.ImageIndex = 25; this.rowTitle.Properties.RowEdit = this.ItemTextEditTitle; // // rowL1 // this.rowL1.Height = 25; this.rowL1.Name = "rowL1"; this.rowL1.Properties.Caption = "��ѹ�ȼ�"; this.rowL1.Properties.FieldName = "L1"; this.rowL1.Properties.ImageIndex = 25; this.rowL1.Properties.RowEdit = this.ItemTextEditL1; // // rowL2 // this.rowL2.Height = 25; this.rowL2.Name = "rowL2"; this.rowL2.Properties.Caption = "����(MVA)"; this.rowL2.Properties.FieldName = "L2"; this.rowL2.Properties.ImageIndex = 25; this.rowL2.Properties.RowEdit = this.ItemTextEditL2; // // rowL3 // this.rowL3.Height = 25; this.rowL3.Name = "rowL3"; this.rowL3.Properties.Caption = "����̨��(̨)"; this.rowL3.Properties.FieldName = "L3"; this.rowL3.Properties.ImageIndex = 25; this.rowL3.Properties.RowEdit = this.ItemTextEditL3; // // rowL4 // this.rowL4.Height = 25; this.rowL4.Name = "rowL4"; this.rowL4.Properties.Caption = "��������"; this.rowL4.Properties.FieldName = "L4"; this.rowL4.Properties.ImageIndex = 25; this.rowL4.Properties.RowEdit = this.ItemTextEditL4; // // rowL5 // this.rowL5.Height = 25; this.rowL5.Name = "rowL5"; this.rowL5.Properties.Caption = "��������(Mvar)"; this.rowL5.Properties.FieldName = "L5"; this.rowL5.Properties.ImageIndex = 25; this.rowL5.Properties.RowEdit = this.ItemTextEditL5; // // rowL6 // this.rowL6.Height = 25; this.rowL6.Name = "rowL6"; this.rowL6.Properties.Caption = "��������������(Mvar)"; this.rowL6.Properties.FieldName = "L6"; this.rowL6.Properties.ImageIndex = 25; this.rowL6.Properties.RowEdit = this.ItemTextEditL6; // // editorRow1 // this.editorRow1.Height = 25; this.editorRow1.Name = "editorRow1"; this.editorRow1.Properties.Caption = "�ѳ��������һ��"; this.editorRow1.Properties.FieldName = "L11"; this.editorRow1.Properties.RowEdit = this.repositoryItemTextEdit1; // // editorRow2 // this.editorRow2.Height = 25; this.editorRow2.Name = "editorRow2"; this.editorRow2.Properties.Caption = "�ѳ������������"; this.editorRow2.Properties.FieldName = "L12"; this.editorRow2.Properties.RowEdit = this.repositoryItemTextEdit2; // // rowL7 // this.rowL7.Height = 25; this.rowL7.Name = "rowL7"; this.rowL7.Properties.Caption = "�ɳ��������һ��"; this.rowL7.Properties.FieldName = "L7"; this.rowL7.Properties.ImageIndex = 25; this.rowL7.Properties.RowEdit = this.ItemTextEditL7; // // rowL8 // this.rowL8.Height = 25; this.rowL8.Name = "rowL8"; this.rowL8.Properties.Caption = "�ɳ������������"; this.rowL8.Properties.FieldName = "L8"; this.rowL8.Properties.ImageIndex = 25; this.rowL8.Properties.RowEdit = this.ItemTextEditL8; // // rowL9 // this.rowL9.Height = 25; this.rowL9.Name = "rowL9"; this.rowL9.Properties.Caption = "���(MW)"; this.rowL9.Properties.FieldName = "L9"; this.rowL9.Properties.ImageIndex = 25; this.rowL9.Properties.RowEdit = this.ItemTextEditL9; // // rowL10 // this.rowL10.Height = 25; this.rowL10.Name = "rowL10"; this.rowL10.Properties.Caption = "������(%)"; this.rowL10.Properties.FieldName = "L10"; this.rowL10.Properties.ImageIndex = 25; this.rowL10.Properties.RowEdit = this.ItemTextEditL10; this.rowL10.Visible = false; // // rowS1 // this.rowS1.Height = 25; this.rowS1.Name = "rowS1"; this.rowS1.Properties.FieldName = "S1"; this.rowS1.Properties.ImageIndex = 25; this.rowS1.Properties.RowEdit = this.ItemTextEditS1; // // rowS2 // this.rowS2.Height = 25; this.rowS2.Name = "rowS2"; this.rowS2.Properties.FieldName = "S2"; this.rowS2.Properties.ImageIndex = 25; this.rowS2.Properties.RowEdit = this.ItemTextEditS2; // // rowS3 // this.rowS3.Height = 25; this.rowS3.Name = "rowS3"; this.rowS3.Properties.FieldName = "S3"; this.rowS3.Properties.ImageIndex = 25; this.rowS3.Properties.RowEdit = this.ItemTextEditS3; // // rowS4 // this.rowS4.Height = 25; this.rowS4.Name = "rowS4"; this.rowS4.Properties.FieldName = "S4"; this.rowS4.Properties.ImageIndex = 25; this.rowS4.Properties.RowEdit = this.ItemTextEditS4; // // rowS5 // this.rowS5.Height = 25; this.rowS5.Name = "rowS5"; this.rowS5.Properties.FieldName = "S5"; this.rowS5.Properties.ImageIndex = 25; this.rowS5.Properties.RowEdit = this.ItemTextEditS5; // // rowS6 // this.rowS6.Height = 25; this.rowS6.Name = "rowS6"; this.rowS6.Properties.FieldName = "S6"; this.rowS6.Properties.ImageIndex = 25; this.rowS6.Properties.RowEdit = this.ItemTextEditS6; // // rowS7 // this.rowS7.Height = 25; this.rowS7.Name = "rowS7"; this.rowS7.Properties.FieldName = "S7"; this.rowS7.Properties.ImageIndex = 25; this.rowS7.Properties.RowEdit = this.ItemTextEditS7; // // rowS8 // this.rowS8.Height = 25; this.rowS8.Name = "rowS8"; this.rowS8.Properties.FieldName = "S8"; this.rowS8.Properties.ImageIndex = 25; this.rowS8.Properties.RowEdit = this.ItemTextEditS8; // // rowS9 // this.rowS9.Height = 25; this.rowS9.Name = "rowS9"; this.rowS9.Properties.FieldName = "S9"; this.rowS9.Properties.ImageIndex = 25; this.rowS9.Properties.RowEdit = this.ItemTextEditS9; // // rowS10 // this.rowS10.Height = 25; this.rowS10.Name = "rowS10"; this.rowS10.Properties.FieldName = "S10"; this.rowS10.Properties.ImageIndex = 25; this.rowS10.Properties.RowEdit = this.ItemTextEditS10; // // btnOK // this.btnOK.Location = new System.Drawing.Point(210, 343); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 0; this.btnOK.Text = "ȷ��"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(314, 343); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "ȡ��"; // // FrmSubstation_InfoDialog // this.ClientSize = new System.Drawing.Size(409, 375); this.Controls.Add(this.panelControl); this.Name = "FrmSubstation_InfoDialog"; this.Load += new System.EventHandler(this.FrmSubstation_InfoDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditAreaName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditTitle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditL10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemTextEditS10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.dataSet1 = new System.Data.DataSet(); this.dataTable1 = new System.Data.DataTable(); this.dataColumn1 = new System.Data.DataColumn(); this.dataColumn2 = new System.Data.DataColumn(); this.dataColumn3 = new System.Data.DataColumn(); this.dataColumn4 = new System.Data.DataColumn(); this.vGridControl1 = new DevExpress.XtraVerticalGrid.VGridControl(); this.rowColumn1 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowColumn2 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowColumn3 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.rowColumn4 = new DevExpress.XtraVerticalGrid.Rows.EditorRow(); this.radioGroup1 = new DevExpress.XtraEditors.RadioGroup(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit(); this.SuspendLayout(); // // dataSet1 // this.dataSet1.DataSetName = "NewDataSet"; this.dataSet1.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet1.Tables.AddRange(new System.Data.DataTable[] { this.dataTable1 }); // // dataTable1 // this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] { this.dataColumn1, this.dataColumn2, this.dataColumn3, this.dataColumn4 }); this.dataTable1.TableName = "Table1"; // // dataColumn1 // this.dataColumn1.ColumnName = "Column1"; this.dataColumn1.DataType = typeof(int); // // dataColumn2 // this.dataColumn2.ColumnName = "Column2"; // // dataColumn3 // this.dataColumn3.ColumnName = "Column3"; this.dataColumn3.DataType = typeof(System.DateTime); // // dataColumn4 // this.dataColumn4.ColumnName = "Column4"; this.dataColumn4.DataType = typeof(bool); // // vGridControl1 // this.vGridControl1.DataSource = this.dataTable1; this.vGridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.vGridControl1.Location = new System.Drawing.Point(0, 0); this.vGridControl1.Name = "vGridControl1"; this.vGridControl1.Rows.AddRange(new DevExpress.XtraVerticalGrid.Rows.BaseRow[] { this.rowColumn1, this.rowColumn2, this.rowColumn3, this.rowColumn4 }); this.vGridControl1.Size = new System.Drawing.Size(504, 306); this.vGridControl1.TabIndex = 0; this.vGridControl1.RecordCellStyle += new DevExpress.XtraVerticalGrid.Events.GetCustomRowCellStyleEventHandler(this.vGridControl1_RecordCellStyle); // // rowColumn1 // this.rowColumn1.Name = "rowColumn1"; this.rowColumn1.Properties.Caption = "Column1"; this.rowColumn1.Properties.FieldName = "Column1"; // // rowColumn2 // this.rowColumn2.Name = "rowColumn2"; this.rowColumn2.Properties.Caption = "Column2"; this.rowColumn2.Properties.FieldName = "Column2"; // // rowColumn3 // this.rowColumn3.Name = "rowColumn3"; this.rowColumn3.Properties.Caption = "Column3"; this.rowColumn3.Properties.FieldName = "Column3"; // // rowColumn4 // this.rowColumn4.Name = "rowColumn4"; this.rowColumn4.Properties.Caption = "Column4"; this.rowColumn4.Properties.FieldName = "Column4"; // // radioGroup1 // this.radioGroup1.Dock = System.Windows.Forms.DockStyle.Bottom; this.radioGroup1.EditValue = true; this.radioGroup1.Location = new System.Drawing.Point(0, 306); this.radioGroup1.Name = "radioGroup1"; this.radioGroup1.Properties.Columns = 2; this.radioGroup1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem(true, "Apply to records"), new DevExpress.XtraEditors.Controls.RadioGroupItem(false, "Apply to rows") }); this.radioGroup1.Size = new System.Drawing.Size(504, 35); this.radioGroup1.TabIndex = 1; this.radioGroup1.SelectedIndexChanged += new System.EventHandler(this.radioGroup1_SelectedIndexChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(504, 341); this.Controls.Add(this.vGridControl1); this.Controls.Add(this.radioGroup1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.vGridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit(); this.ResumeLayout(false); }