|
|
|
|
|
namespace WellWorkDataUI.CustomControls
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class FrmGeologicalStratification
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
components = new System.ComponentModel.Container();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip5 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem5 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.Utils.SuperToolTip superToolTip6 = new DevExpress.Utils.SuperToolTip();
|
|
|
|
|
|
DevExpress.Utils.ToolTipItem toolTipItem6 = new DevExpress.Utils.ToolTipItem();
|
|
|
|
|
|
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
|
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmGeologicalStratification));
|
|
|
|
|
|
barManager1 = new DevExpress.XtraBars.BarManager(components);
|
|
|
|
|
|
bar1 = new DevExpress.XtraBars.Bar();
|
|
|
|
|
|
btnImport = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnExport = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnInsert = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnAdd = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnDelete = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnDeleteAll = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnSave = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnExit = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
btnPaste = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
|
bar3 = new DevExpress.XtraBars.Bar();
|
|
|
|
|
|
barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
|
barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
|
barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
|
barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
|
gridControl1 = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
|
gridViewMain = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)barManager1).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridViewMain).BeginInit();
|
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// barManager1
|
|
|
|
|
|
//
|
|
|
|
|
|
barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar1, bar3 });
|
|
|
|
|
|
barManager1.DockControls.Add(barDockControlTop);
|
|
|
|
|
|
barManager1.DockControls.Add(barDockControlBottom);
|
|
|
|
|
|
barManager1.DockControls.Add(barDockControlLeft);
|
|
|
|
|
|
barManager1.DockControls.Add(barDockControlRight);
|
|
|
|
|
|
barManager1.Form = this;
|
|
|
|
|
|
barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { btnImport, btnExport, btnInsert, btnAdd, btnDelete, btnDeleteAll, btnSave, btnExit, btnPaste });
|
|
|
|
|
|
barManager1.MaxItemId = 10;
|
|
|
|
|
|
barManager1.StatusBar = bar3;
|
|
|
|
|
|
//
|
|
|
|
|
|
// bar1
|
|
|
|
|
|
//
|
|
|
|
|
|
bar1.BarName = "Tools";
|
|
|
|
|
|
bar1.DockCol = 0;
|
|
|
|
|
|
bar1.DockRow = 0;
|
|
|
|
|
|
bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
|
|
|
|
|
bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(btnImport), new DevExpress.XtraBars.LinkPersistInfo(btnExport), new DevExpress.XtraBars.LinkPersistInfo(btnInsert, true), new DevExpress.XtraBars.LinkPersistInfo(btnAdd), new DevExpress.XtraBars.LinkPersistInfo(btnDelete), new DevExpress.XtraBars.LinkPersistInfo(btnDeleteAll), new DevExpress.XtraBars.LinkPersistInfo(btnSave, true), new DevExpress.XtraBars.LinkPersistInfo(btnExit), new DevExpress.XtraBars.LinkPersistInfo(btnPaste) });
|
|
|
|
|
|
bar1.OptionsBar.AllowQuickCustomization = false;
|
|
|
|
|
|
bar1.OptionsBar.DisableClose = true;
|
|
|
|
|
|
bar1.OptionsBar.DisableCustomization = true;
|
|
|
|
|
|
bar1.OptionsBar.DrawDragBorder = false;
|
|
|
|
|
|
bar1.OptionsBar.UseWholeRow = true;
|
|
|
|
|
|
bar1.Text = "Tools";
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnImport
|
|
|
|
|
|
//
|
|
|
|
|
|
btnImport.Caption = "导入...";
|
|
|
|
|
|
btnImport.Id = 0;
|
|
|
|
|
|
btnImport.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.daorushuju2;
|
|
|
|
|
|
btnImport.Name = "btnImport";
|
|
|
|
|
|
toolTipItem1.Text = "导入分层体系";
|
|
|
|
|
|
superToolTip1.Items.Add(toolTipItem1);
|
|
|
|
|
|
btnImport.SuperTip = superToolTip1;
|
|
|
|
|
|
btnImport.ItemClick += btnImport_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnExport
|
|
|
|
|
|
//
|
|
|
|
|
|
btnExport.Caption = "导出...";
|
|
|
|
|
|
btnExport.Id = 1;
|
|
|
|
|
|
btnExport.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.daochushuju2;
|
|
|
|
|
|
btnExport.Name = "btnExport";
|
|
|
|
|
|
toolTipItem2.Text = "导出分层体系";
|
|
|
|
|
|
superToolTip2.Items.Add(toolTipItem2);
|
|
|
|
|
|
btnExport.SuperTip = superToolTip2;
|
|
|
|
|
|
btnExport.ItemClick += btnExport_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnInsert
|
|
|
|
|
|
//
|
|
|
|
|
|
btnInsert.Caption = "插入";
|
|
|
|
|
|
btnInsert.Id = 2;
|
|
|
|
|
|
btnInsert.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.charuhang1;
|
|
|
|
|
|
btnInsert.Name = "btnInsert";
|
|
|
|
|
|
toolTipItem3.Text = "插入行";
|
|
|
|
|
|
superToolTip3.Items.Add(toolTipItem3);
|
|
|
|
|
|
btnInsert.SuperTip = superToolTip3;
|
|
|
|
|
|
btnInsert.ItemClick += btnInsert_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnAdd
|
|
|
|
|
|
//
|
|
|
|
|
|
btnAdd.Caption = "增加";
|
|
|
|
|
|
btnAdd.Id = 3;
|
|
|
|
|
|
btnAdd.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.zengjiahang;
|
|
|
|
|
|
btnAdd.Name = "btnAdd";
|
|
|
|
|
|
toolTipItem4.Text = "增加行";
|
|
|
|
|
|
superToolTip4.Items.Add(toolTipItem4);
|
|
|
|
|
|
btnAdd.SuperTip = superToolTip4;
|
|
|
|
|
|
btnAdd.ItemClick += btnAdd_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnDelete
|
|
|
|
|
|
//
|
|
|
|
|
|
btnDelete.Caption = "删除";
|
|
|
|
|
|
btnDelete.Id = 4;
|
|
|
|
|
|
btnDelete.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.shanchuhang;
|
|
|
|
|
|
btnDelete.Name = "btnDelete";
|
|
|
|
|
|
toolTipItem5.Text = "删除行";
|
|
|
|
|
|
superToolTip5.Items.Add(toolTipItem5);
|
|
|
|
|
|
btnDelete.SuperTip = superToolTip5;
|
|
|
|
|
|
btnDelete.ItemClick += btnDelete_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnDeleteAll
|
|
|
|
|
|
//
|
|
|
|
|
|
btnDeleteAll.Caption = "全部删除";
|
|
|
|
|
|
btnDeleteAll.Id = 5;
|
|
|
|
|
|
btnDeleteAll.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.shanchubiao;
|
|
|
|
|
|
btnDeleteAll.Name = "btnDeleteAll";
|
|
|
|
|
|
toolTipItem6.Text = "全部删除";
|
|
|
|
|
|
superToolTip6.Items.Add(toolTipItem6);
|
|
|
|
|
|
btnDeleteAll.SuperTip = superToolTip6;
|
|
|
|
|
|
btnDeleteAll.ItemClick += btnDeleteAll_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnSave
|
|
|
|
|
|
//
|
|
|
|
|
|
btnSave.Caption = "完成";
|
|
|
|
|
|
btnSave.Id = 7;
|
|
|
|
|
|
btnSave.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.queding1;
|
|
|
|
|
|
btnSave.Name = "btnSave";
|
|
|
|
|
|
btnSave.ItemClick += btnSave_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnExit
|
|
|
|
|
|
//
|
|
|
|
|
|
btnExit.Caption = "退出";
|
|
|
|
|
|
btnExit.Id = 8;
|
|
|
|
|
|
btnExit.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.quxiao;
|
|
|
|
|
|
btnExit.Name = "btnExit";
|
|
|
|
|
|
btnExit.ItemClick += btnExit_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnPaste
|
|
|
|
|
|
//
|
|
|
|
|
|
btnPaste.Caption = "粘贴";
|
|
|
|
|
|
btnPaste.Id = 9;
|
|
|
|
|
|
btnPaste.ImageOptions.SvgImage = PcgDrawR.Properties.Resources.zhantie1;
|
|
|
|
|
|
btnPaste.Name = "btnPaste";
|
|
|
|
|
|
btnPaste.ItemClick += btnPaste_ItemClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// bar3
|
|
|
|
|
|
//
|
|
|
|
|
|
bar3.BarName = "Status bar";
|
|
|
|
|
|
bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
|
|
|
|
|
|
bar3.DockCol = 0;
|
|
|
|
|
|
bar3.DockRow = 0;
|
|
|
|
|
|
bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
|
|
|
|
|
|
bar3.OptionsBar.AllowQuickCustomization = false;
|
|
|
|
|
|
bar3.OptionsBar.DrawDragBorder = false;
|
|
|
|
|
|
bar3.OptionsBar.UseWholeRow = true;
|
|
|
|
|
|
bar3.Text = "Status bar";
|
|
|
|
|
|
//
|
|
|
|
|
|
// barDockControlTop
|
|
|
|
|
|
//
|
|
|
|
|
|
barDockControlTop.CausesValidation = false;
|
|
|
|
|
|
barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
|
barDockControlTop.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
barDockControlTop.Manager = barManager1;
|
|
|
|
|
|
barDockControlTop.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
barDockControlTop.Size = new System.Drawing.Size(933, 28);
|
|
|
|
|
|
//
|
|
|
|
|
|
// barDockControlBottom
|
|
|
|
|
|
//
|
|
|
|
|
|
barDockControlBottom.CausesValidation = false;
|
|
|
|
|
|
barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
|
barDockControlBottom.Location = new System.Drawing.Point(0, 616);
|
|
|
|
|
|
barDockControlBottom.Manager = barManager1;
|
|
|
|
|
|
barDockControlBottom.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
barDockControlBottom.Size = new System.Drawing.Size(933, 22);
|
|
|
|
|
|
//
|
|
|
|
|
|
// barDockControlLeft
|
|
|
|
|
|
//
|
|
|
|
|
|
barDockControlLeft.CausesValidation = false;
|
|
|
|
|
|
barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
|
barDockControlLeft.Location = new System.Drawing.Point(0, 28);
|
|
|
|
|
|
barDockControlLeft.Manager = barManager1;
|
|
|
|
|
|
barDockControlLeft.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
barDockControlLeft.Size = new System.Drawing.Size(0, 588);
|
|
|
|
|
|
//
|
|
|
|
|
|
// barDockControlRight
|
|
|
|
|
|
//
|
|
|
|
|
|
barDockControlRight.CausesValidation = false;
|
|
|
|
|
|
barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
|
|
|
barDockControlRight.Location = new System.Drawing.Point(933, 28);
|
|
|
|
|
|
barDockControlRight.Manager = barManager1;
|
|
|
|
|
|
barDockControlRight.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
barDockControlRight.Size = new System.Drawing.Size(0, 588);
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridControl1
|
|
|
|
|
|
//
|
|
|
|
|
|
gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
gridControl1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
gridLevelNode1.RelationName = "Level1";
|
|
|
|
|
|
gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode1 });
|
|
|
|
|
|
gridControl1.Location = new System.Drawing.Point(0, 28);
|
|
|
|
|
|
gridControl1.MainView = gridViewMain;
|
|
|
|
|
|
gridControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
gridControl1.MenuManager = barManager1;
|
|
|
|
|
|
gridControl1.Name = "gridControl1";
|
|
|
|
|
|
gridControl1.Size = new System.Drawing.Size(933, 588);
|
|
|
|
|
|
gridControl1.TabIndex = 4;
|
|
|
|
|
|
gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridViewMain });
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridViewMain
|
|
|
|
|
|
//
|
|
|
|
|
|
gridViewMain.DetailHeight = 496;
|
|
|
|
|
|
gridViewMain.GridControl = gridControl1;
|
|
|
|
|
|
gridViewMain.Name = "gridViewMain";
|
|
|
|
|
|
gridViewMain.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
|
gridViewMain.OptionsCustomization.AllowFilter = false;
|
|
|
|
|
|
gridViewMain.OptionsCustomization.AllowSort = false;
|
|
|
|
|
|
gridViewMain.OptionsEditForm.PopupEditFormWidth = 933;
|
|
|
|
|
|
gridViewMain.OptionsLayout.Columns.AddNewColumns = false;
|
|
|
|
|
|
gridViewMain.OptionsMenu.ShowAddNewSummaryItem = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
|
gridViewMain.OptionsNavigation.AutoFocusNewRow = true;
|
|
|
|
|
|
gridViewMain.OptionsView.ShowGroupPanel = false;
|
|
|
|
|
|
gridViewMain.FocusedColumnChanged += gridViewMain_FocusedColumnChanged;
|
|
|
|
|
|
gridViewMain.CellValueChanged += gridViewMain_CellValueChanged;
|
|
|
|
|
|
gridViewMain.MouseDown += gridViewMain_MouseDown;
|
|
|
|
|
|
//
|
|
|
|
|
|
// FrmGeologicalStratification
|
|
|
|
|
|
//
|
|
|
|
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
|
|
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
ClientSize = new System.Drawing.Size(933, 638);
|
|
|
|
|
|
Controls.Add(gridControl1);
|
|
|
|
|
|
Controls.Add(barDockControlLeft);
|
|
|
|
|
|
Controls.Add(barDockControlRight);
|
|
|
|
|
|
Controls.Add(barDockControlBottom);
|
|
|
|
|
|
Controls.Add(barDockControlTop);
|
|
|
|
|
|
Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
|
|
|
|
|
|
Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
Name = "FrmGeologicalStratification";
|
|
|
|
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
|
Text = "地质分层体系";
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)barManager1).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridControl1).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)gridViewMain).EndInit();
|
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
|
PerformLayout();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraBars.BarManager barManager1;
|
|
|
|
|
|
private DevExpress.XtraBars.Bar bar1;
|
|
|
|
|
|
private DevExpress.XtraBars.Bar bar3;
|
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnImport;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnExport;
|
|
|
|
|
|
private DevExpress.XtraGrid.GridControl gridControl1;
|
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridViewMain;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnInsert;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnAdd;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnDelete;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnDeleteAll;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnSave;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnExit;
|
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem btnPaste;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|