|
|
|
|
|
using DevExpress.XtraLayout;
|
|
|
|
|
|
|
|
|
|
|
|
namespace KepGridEditor
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class FormVolumeStats
|
|
|
|
|
|
{
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null)) components.Dispose();
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
panelControlTop = new DevExpress.XtraEditors.PanelControl();
|
|
|
|
|
|
lblMethod = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
radioGroupMethod = new DevExpress.XtraEditors.RadioGroup();
|
|
|
|
|
|
lblTip = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
radioGroupMode = new DevExpress.XtraEditors.RadioGroup();
|
|
|
|
|
|
gridControlData = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
|
gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
|
colName = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
colArea = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
colVolumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
colAreaVolumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)panelControlTop).BeginInit();
|
|
|
|
|
|
panelControlTop.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)radioGroupMethod.Properties).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)radioGroupMode.Properties).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridControlData).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridViewData).BeginInit();
|
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// panelControlTop
|
|
|
|
|
|
//
|
|
|
|
|
|
panelControlTop.Controls.Add(lblMethod);
|
|
|
|
|
|
panelControlTop.Controls.Add(radioGroupMethod);
|
|
|
|
|
|
panelControlTop.Controls.Add(lblTip);
|
|
|
|
|
|
panelControlTop.Controls.Add(radioGroupMode);
|
|
|
|
|
|
panelControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
|
panelControlTop.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
panelControlTop.Name = "panelControlTop";
|
|
|
|
|
|
panelControlTop.Size = new System.Drawing.Size(558, 80);
|
|
|
|
|
|
panelControlTop.TabIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lblMethod
|
|
|
|
|
|
//
|
|
|
|
|
|
lblMethod.Location = new System.Drawing.Point(12, 17);
|
|
|
|
|
|
lblMethod.Name = "lblMethod";
|
|
|
|
|
|
lblMethod.Size = new System.Drawing.Size(60, 14);
|
|
|
|
|
|
lblMethod.TabIndex = 2;
|
|
|
|
|
|
lblMethod.Text = "计算方式:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// radioGroupMethod
|
|
|
|
|
|
//
|
|
|
|
|
|
radioGroupMethod.EditValue = 0;
|
|
|
|
|
|
radioGroupMethod.Location = new System.Drawing.Point(80, 10);
|
|
|
|
|
|
radioGroupMethod.Name = "radioGroupMethod";
|
|
|
|
|
|
radioGroupMethod.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
radioGroupMethod.Properties.Appearance.Options.UseBackColor = true;
|
|
|
|
|
|
radioGroupMethod.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
|
|
|
radioGroupMethod.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "容积法"), new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "等值线法") });
|
|
|
|
|
|
radioGroupMethod.Size = new System.Drawing.Size(200, 30);
|
|
|
|
|
|
radioGroupMethod.TabIndex = 3;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lblTip
|
|
|
|
|
|
//
|
|
|
|
|
|
lblTip.Location = new System.Drawing.Point(12, 52);
|
|
|
|
|
|
lblTip.Name = "lblTip";
|
|
|
|
|
|
lblTip.Size = new System.Drawing.Size(60, 14);
|
|
|
|
|
|
lblTip.TabIndex = 0;
|
|
|
|
|
|
lblTip.Text = "统计模式:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// radioGroupMode
|
|
|
|
|
|
//
|
|
|
|
|
|
radioGroupMode.EditValue = 1;
|
|
|
|
|
|
radioGroupMode.Location = new System.Drawing.Point(80, 45);
|
|
|
|
|
|
radioGroupMode.Name = "radioGroupMode";
|
|
|
|
|
|
radioGroupMode.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
radioGroupMode.Properties.Appearance.Options.UseBackColor = true;
|
|
|
|
|
|
radioGroupMode.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
|
|
|
radioGroupMode.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "等厚图"),
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "构造图")});
|
|
|
|
|
|
radioGroupMode.Size = new System.Drawing.Size(200, 30);
|
|
|
|
|
|
radioGroupMode.TabIndex = 1;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridControlData
|
|
|
|
|
|
//
|
|
|
|
|
|
gridControlData.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
gridControlData.Location = new System.Drawing.Point(0, 80);
|
|
|
|
|
|
gridControlData.MainView = gridViewData;
|
|
|
|
|
|
gridControlData.Name = "gridControlData";
|
|
|
|
|
|
gridControlData.Size = new System.Drawing.Size(558, 113);
|
|
|
|
|
|
gridControlData.TabIndex = 1;
|
|
|
|
|
|
gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridViewData });
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridViewData
|
|
|
|
|
|
//
|
|
|
|
|
|
gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colArea, colVolumn, colAreaVolumn });
|
|
|
|
|
|
gridViewData.GridControl = gridControlData;
|
|
|
|
|
|
gridViewData.Name = "gridViewData";
|
|
|
|
|
|
gridViewData.OptionsBehavior.Editable = false;
|
|
|
|
|
|
gridViewData.OptionsView.ShowGroupPanel = false;
|
|
|
|
|
|
//
|
|
|
|
|
|
// colName
|
|
|
|
|
|
//
|
|
|
|
|
|
colName.Caption = "名称";
|
|
|
|
|
|
colName.FieldName = "Name";
|
|
|
|
|
|
colName.Name = "colName";
|
|
|
|
|
|
colName.Visible = true;
|
|
|
|
|
|
colName.VisibleIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// colArea
|
|
|
|
|
|
//
|
|
|
|
|
|
colArea.Caption = "面积";
|
|
|
|
|
|
colArea.FieldName = "Area";
|
|
|
|
|
|
colArea.Name = "colArea";
|
|
|
|
|
|
colArea.Visible = true;
|
|
|
|
|
|
colArea.VisibleIndex = 1;
|
|
|
|
|
|
//
|
|
|
|
|
|
// colVolumn
|
|
|
|
|
|
//
|
|
|
|
|
|
colVolumn.Caption = "体积";
|
|
|
|
|
|
colVolumn.FieldName = "Volumn";
|
|
|
|
|
|
colVolumn.Name = "colVolumn";
|
|
|
|
|
|
colVolumn.Visible = true;
|
|
|
|
|
|
colVolumn.VisibleIndex = 2;
|
|
|
|
|
|
//
|
|
|
|
|
|
// colAreaVolumn
|
|
|
|
|
|
//
|
|
|
|
|
|
colAreaVolumn.Caption = "体积/面积";
|
|
|
|
|
|
colAreaVolumn.FieldName = "AreaVolumn";
|
|
|
|
|
|
colAreaVolumn.Name = "colAreaVolumn";
|
|
|
|
|
|
colAreaVolumn.Visible = true;
|
|
|
|
|
|
colAreaVolumn.VisibleIndex = 3;
|
|
|
|
|
|
//
|
|
|
|
|
|
// FormVolumeStats
|
|
|
|
|
|
//
|
|
|
|
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
ClientSize = new System.Drawing.Size(558, 193);
|
|
|
|
|
|
Controls.Add(gridControlData);
|
|
|
|
|
|
Controls.Add(panelControlTop);
|
|
|
|
|
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
|
|
|
|
|
|
MaximizeBox = false;
|
|
|
|
|
|
MinimizeBox = false;
|
|
|
|
|
|
Name = "FormVolumeStats";
|
|
|
|
|
|
ShowInTaskbar = false;
|
|
|
|
|
|
StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
|
|
|
|
Text = "平均值查看器";
|
|
|
|
|
|
TopMost = true;
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)panelControlTop).EndInit();
|
|
|
|
|
|
panelControlTop.ResumeLayout(false);
|
|
|
|
|
|
panelControlTop.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)radioGroupMethod.Properties).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)radioGroupMode.Properties).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridControlData).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridViewData).EndInit();
|
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraEditors.PanelControl panelControlTop;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblMethod;
|
|
|
|
|
|
private DevExpress.XtraEditors.RadioGroup radioGroupMethod;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblTip;
|
|
|
|
|
|
private DevExpress.XtraEditors.RadioGroup radioGroupMode;
|
|
|
|
|
|
private DevExpress.XtraGrid.GridControl gridControlData;
|
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridViewData;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colName;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colArea;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colVolumn;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colAreaVolumn;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|