You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
313 lines
17 KiB
C#
313 lines
17 KiB
C#
using DevExpress.XtraGrid.Views.Base;
|
|
using DevExpress.XtraGrid.Views.Grid;
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace WellWorkDataUI
|
|
{
|
|
partial class FrmDataViewer
|
|
{
|
|
/// <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()
|
|
{
|
|
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmDataViewer));
|
|
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
|
|
this.gridViewMain = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.pb_asc = new System.Windows.Forms.PictureBox();
|
|
this.pb_desc = new System.Windows.Forms.PictureBox();
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.btn_insertrow = new System.Windows.Forms.ToolStripButton();
|
|
this.btn_addrow = new System.Windows.Forms.ToolStripButton();
|
|
this.btn_deleterow = new System.Windows.Forms.ToolStripButton();
|
|
this.btnSave = new System.Windows.Forms.ToolStripButton();
|
|
this.btn_empty = new System.Windows.Forms.ToolStripButton();
|
|
this.btnUndo = new System.Windows.Forms.ToolStripButton();
|
|
this.btnRedo = new System.Windows.Forms.ToolStripButton();
|
|
this.btn_paste = new System.Windows.Forms.ToolStripButton();
|
|
this.combo_column = new System.Windows.Forms.ToolStripComboBox();
|
|
this.txt_select = new System.Windows.Forms.ToolStripTextBox();
|
|
this.btn_formula = new System.Windows.Forms.ToolStripButton();
|
|
this.btn_find_duplicate = new System.Windows.Forms.ToolStripButton();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pb_asc)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pb_desc)).BeginInit();
|
|
this.toolStrip1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// gridControl1
|
|
//
|
|
this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.gridControl1.EmbeddedNavigator.Buttons.Append.Visible = false;
|
|
gridLevelNode1.RelationName = "Level1";
|
|
this.gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
|
|
gridLevelNode1});
|
|
this.gridControl1.Location = new System.Drawing.Point(0, 24);
|
|
this.gridControl1.MainView = this.gridViewMain;
|
|
this.gridControl1.Name = "gridControl1";
|
|
this.gridControl1.Size = new System.Drawing.Size(986, 426);
|
|
this.gridControl1.TabIndex = 3;
|
|
this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.gridViewMain});
|
|
//
|
|
// gridViewMain
|
|
//
|
|
this.gridViewMain.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
|
this.gridViewMain.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.gridViewMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
this.gridViewMain.GridControl = this.gridControl1;
|
|
this.gridViewMain.IndicatorWidth = 40;
|
|
this.gridViewMain.Name = "gridViewMain";
|
|
this.gridViewMain.OptionsCustomization.AllowQuickHideColumns = false;
|
|
this.gridViewMain.OptionsCustomization.AllowSort = false;
|
|
this.gridViewMain.OptionsSelection.MultiSelect = true;
|
|
this.gridViewMain.OptionsView.ColumnAutoWidth = false;
|
|
this.gridViewMain.OptionsView.ShowGroupPanel = false;
|
|
this.gridViewMain.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridViewMain_CustomDrawRowIndicator);
|
|
this.gridViewMain.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewMain_RowStyle);
|
|
this.gridViewMain.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.GridViewMain_FocusedColumnChanged);
|
|
this.gridViewMain.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewMain_CellValueChanged);
|
|
this.gridViewMain.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridViewMain_CellValueChanging);
|
|
this.gridViewMain.CustomRowFilter += new DevExpress.XtraGrid.Views.Base.RowFilterEventHandler(this.gridViewMain_CustomRowFilter);
|
|
this.gridViewMain.CustomColumnDisplayText += new DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventHandler(this.gridViewMain_CustomColumnDisplayText);
|
|
this.gridViewMain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.GridViewMain_MouseDown);
|
|
//
|
|
// pb_asc
|
|
//
|
|
this.pb_asc.Image = ((System.Drawing.Image)(resources.GetObject("pb_asc.Image")));
|
|
this.pb_asc.Location = new System.Drawing.Point(0, 52);
|
|
this.pb_asc.Name = "pb_asc";
|
|
this.pb_asc.Size = new System.Drawing.Size(15, 15);
|
|
this.pb_asc.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pb_asc.TabIndex = 24;
|
|
this.pb_asc.TabStop = false;
|
|
this.pb_asc.Visible = false;
|
|
//
|
|
// pb_desc
|
|
//
|
|
this.pb_desc.Image = ((System.Drawing.Image)(resources.GetObject("pb_desc.Image")));
|
|
this.pb_desc.Location = new System.Drawing.Point(0, 70);
|
|
this.pb_desc.Name = "pb_desc";
|
|
this.pb_desc.Size = new System.Drawing.Size(15, 15);
|
|
this.pb_desc.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pb_desc.TabIndex = 25;
|
|
this.pb_desc.TabStop = false;
|
|
this.pb_desc.Visible = false;
|
|
//
|
|
// toolStrip1
|
|
//
|
|
this.toolStrip1.CanOverflow = false;
|
|
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.btn_insertrow,
|
|
this.btn_addrow,
|
|
this.btn_deleterow,
|
|
this.btnSave,
|
|
this.btn_empty,
|
|
this.btnUndo,
|
|
this.btnRedo,
|
|
this.btn_paste,
|
|
this.combo_column,
|
|
this.txt_select,
|
|
this.btn_formula,
|
|
this.btn_find_duplicate});
|
|
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
|
this.toolStrip1.Location = new System.Drawing.Point(5, 0);
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
this.toolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
|
|
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
|
this.toolStrip1.Size = new System.Drawing.Size(981, 24);
|
|
this.toolStrip1.TabIndex = 0;
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
this.toolStrip1.Paint += new System.Windows.Forms.PaintEventHandler(this.ToolStrip1_Paint);
|
|
//
|
|
// btn_insertrow
|
|
//
|
|
this.btn_insertrow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btn_insertrow.Image = ((System.Drawing.Image)(resources.GetObject("btn_insertrow.Image")));
|
|
this.btn_insertrow.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btn_insertrow.Name = "btn_insertrow";
|
|
this.btn_insertrow.Size = new System.Drawing.Size(23, 21);
|
|
this.btn_insertrow.Text = "插入行";
|
|
this.btn_insertrow.Click += new System.EventHandler(this.BtnInsertRow_Click);
|
|
//
|
|
// btn_addrow
|
|
//
|
|
this.btn_addrow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btn_addrow.Image = ((System.Drawing.Image)(resources.GetObject("btn_addrow.Image")));
|
|
this.btn_addrow.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btn_addrow.Name = "btn_addrow";
|
|
this.btn_addrow.Size = new System.Drawing.Size(23, 21);
|
|
this.btn_addrow.Text = "添加行";
|
|
this.btn_addrow.Click += new System.EventHandler(this.BtnAddRow_Click);
|
|
//
|
|
// btn_deleterow
|
|
//
|
|
this.btn_deleterow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btn_deleterow.Image = ((System.Drawing.Image)(resources.GetObject("btn_deleterow.Image")));
|
|
this.btn_deleterow.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btn_deleterow.Name = "btn_deleterow";
|
|
this.btn_deleterow.Size = new System.Drawing.Size(23, 21);
|
|
this.btn_deleterow.Text = "删除行";
|
|
this.btn_deleterow.Click += new System.EventHandler(this.BtnDeleteRow_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
|
|
this.btnSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(23, 21);
|
|
this.btnSave.Text = "保存";
|
|
this.btnSave.Click += new System.EventHandler(this.BtnSave_Click);
|
|
//
|
|
// btn_empty
|
|
//
|
|
this.btn_empty.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btn_empty.Image = ((System.Drawing.Image)(resources.GetObject("btn_empty.Image")));
|
|
this.btn_empty.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btn_empty.Name = "btn_empty";
|
|
this.btn_empty.Size = new System.Drawing.Size(23, 21);
|
|
this.btn_empty.Text = "空列后置";
|
|
this.btn_empty.Click += new System.EventHandler(this.BtnEmpty_Click);
|
|
//
|
|
// btnUndo
|
|
//
|
|
this.btnUndo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btnUndo.Image = ((System.Drawing.Image)(resources.GetObject("btnUndo.Image")));
|
|
this.btnUndo.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btnUndo.Name = "btnUndo";
|
|
this.btnUndo.Size = new System.Drawing.Size(23, 21);
|
|
this.btnUndo.Text = "撤消";
|
|
this.btnUndo.Click += new System.EventHandler(this.BtnUndo_Click);
|
|
//
|
|
// btnRedo
|
|
//
|
|
this.btnRedo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btnRedo.Image = ((System.Drawing.Image)(resources.GetObject("btnRedo.Image")));
|
|
this.btnRedo.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btnRedo.Name = "btnRedo";
|
|
this.btnRedo.Size = new System.Drawing.Size(23, 21);
|
|
this.btnRedo.Text = "恢复";
|
|
this.btnRedo.Click += new System.EventHandler(this.BtnRedo_Click);
|
|
//
|
|
// btn_paste
|
|
//
|
|
this.btn_paste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.btn_paste.Image = ((System.Drawing.Image)(resources.GetObject("btn_paste.Image")));
|
|
this.btn_paste.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.btn_paste.Name = "btn_paste";
|
|
this.btn_paste.Size = new System.Drawing.Size(23, 21);
|
|
this.btn_paste.Text = "粘贴";
|
|
this.btn_paste.Click += new System.EventHandler(this.BtnPaste_Click);
|
|
//
|
|
// combo_column
|
|
//
|
|
this.combo_column.Name = "combo_column";
|
|
this.combo_column.Size = new System.Drawing.Size(121, 24);
|
|
//
|
|
// txt_select
|
|
//
|
|
this.txt_select.Name = "txt_select";
|
|
this.txt_select.Size = new System.Drawing.Size(100, 24);
|
|
this.txt_select.TextChanged += new System.EventHandler(this.TbSearch_TextChanged);
|
|
//
|
|
// btn_formula
|
|
//
|
|
this.btn_formula.Name = "btn_formula";
|
|
this.btn_formula.Size = new System.Drawing.Size(60, 21);
|
|
this.btn_formula.Text = "数据运算";
|
|
this.btn_formula.Visible = false;
|
|
this.btn_formula.Click += new System.EventHandler(this.btn_formula_Click);
|
|
//
|
|
// btn_find_duplicate
|
|
//
|
|
this.btn_find_duplicate.Name = "btn_find_duplicate";
|
|
this.btn_find_duplicate.Size = new System.Drawing.Size(60, 21);
|
|
this.btn_find_duplicate.Text = "数据查重";
|
|
this.btn_find_duplicate.Click += new System.EventHandler(this.btn_find_duplicate_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.toolStrip1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
|
this.panel1.Size = new System.Drawing.Size(986, 24);
|
|
this.panel1.TabIndex = 28;
|
|
//
|
|
// FrmDataViewer
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.ClientSize = new System.Drawing.Size(986, 450);
|
|
this.Controls.Add(this.pb_asc);
|
|
this.Controls.Add(this.pb_desc);
|
|
this.Controls.Add(this.gridControl1);
|
|
this.Controls.Add(this.panel1);
|
|
this.Name = "FrmDataViewer";
|
|
this.ShowIcon = false;
|
|
this.Text = "FormData";
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pb_asc)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pb_desc)).EndInit();
|
|
this.toolStrip1.ResumeLayout(false);
|
|
this.toolStrip1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraGrid.GridControl gridControl1;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridViewMain;
|
|
private System.Windows.Forms.PictureBox pb_asc;
|
|
private System.Windows.Forms.PictureBox pb_desc;
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
private System.Windows.Forms.ToolStripButton btn_addrow;
|
|
private System.Windows.Forms.ToolStripButton btn_deleterow;
|
|
private System.Windows.Forms.ToolStripButton btn_insertrow;
|
|
private System.Windows.Forms.ToolStripButton btnSave;
|
|
private System.Windows.Forms.ToolStripButton btn_empty;
|
|
private System.Windows.Forms.ToolStripButton btnUndo;
|
|
private System.Windows.Forms.ToolStripButton btnRedo;
|
|
private System.Windows.Forms.ToolStripButton btn_paste;
|
|
private Panel panel1;
|
|
private ToolStripTextBox txt_select;
|
|
private ToolStripComboBox combo_column;
|
|
private ToolStripButton btn_formula;
|
|
private ToolStripButton btn_find_duplicate;
|
|
}
|
|
} |