419 lines
19 KiB
C#
419 lines
19 KiB
C#
namespace CloudBuilder.CodeGenerator
|
||
{
|
||
partial class TableControl
|
||
{
|
||
/// <summary>
|
||
/// 設計工具所需的變數。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清除任何使用中的資源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果應該處置受控資源則為 true,否則為 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region 元件設計工具產生的程式碼
|
||
|
||
/// <summary>
|
||
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
|
||
/// 這個方法的內容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
DataGridViewCellStyle dataGridViewCellStyle8 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle9 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle10 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle11 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle12 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle13 = new DataGridViewCellStyle();
|
||
DataGridViewCellStyle dataGridViewCellStyle14 = new DataGridViewCellStyle();
|
||
kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
||
splitContainer1 = new SplitContainer();
|
||
leftPanel = new TableLayoutPanel();
|
||
tableNameGv = new Krypton.Toolkit.KryptonDataGridView();
|
||
selectedCol = new Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
||
tableNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||
tableLayoutPanel3 = new TableLayoutPanel();
|
||
kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
||
dtTxt = new Krypton.Toolkit.KryptonTextBox();
|
||
dtSearchBut = new Krypton.Toolkit.KryptonButton();
|
||
dtResetBut = new Krypton.Toolkit.KryptonButton();
|
||
loadDbBut = new Krypton.Toolkit.KryptonButton();
|
||
tableLayoutPanel2 = new TableLayoutPanel();
|
||
fieldNameGv = new Krypton.Toolkit.KryptonDataGridView();
|
||
pkCol = new Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
||
operationCol = new Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
||
fieldNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||
typeNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||
typeOfNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
||
tableLayoutPanel4 = new TableLayoutPanel();
|
||
kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
||
fieldTxt = new Krypton.Toolkit.KryptonTextBox();
|
||
fieldSearchBut = new Krypton.Toolkit.KryptonButton();
|
||
fieldResetBut = new Krypton.Toolkit.KryptonButton();
|
||
((System.ComponentModel.ISupportInitialize)kryptonPanel1).BeginInit();
|
||
kryptonPanel1.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
||
splitContainer1.Panel1.SuspendLayout();
|
||
splitContainer1.Panel2.SuspendLayout();
|
||
splitContainer1.SuspendLayout();
|
||
leftPanel.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)tableNameGv).BeginInit();
|
||
tableLayoutPanel3.SuspendLayout();
|
||
tableLayoutPanel2.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)fieldNameGv).BeginInit();
|
||
tableLayoutPanel4.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// kryptonPanel1
|
||
//
|
||
kryptonPanel1.Controls.Add(splitContainer1);
|
||
kryptonPanel1.Dock = DockStyle.Fill;
|
||
kryptonPanel1.Location = new Point(0, 0);
|
||
kryptonPanel1.Name = "kryptonPanel1";
|
||
kryptonPanel1.Size = new Size(1024, 600);
|
||
kryptonPanel1.TabIndex = 0;
|
||
//
|
||
// splitContainer1
|
||
//
|
||
splitContainer1.BackColor = Color.Transparent;
|
||
splitContainer1.BorderStyle = BorderStyle.FixedSingle;
|
||
splitContainer1.Dock = DockStyle.Fill;
|
||
splitContainer1.Location = new Point(0, 0);
|
||
splitContainer1.Name = "splitContainer1";
|
||
//
|
||
// splitContainer1.Panel1
|
||
//
|
||
splitContainer1.Panel1.Controls.Add(leftPanel);
|
||
//
|
||
// splitContainer1.Panel2
|
||
//
|
||
splitContainer1.Panel2.Controls.Add(tableLayoutPanel2);
|
||
splitContainer1.Size = new Size(1024, 600);
|
||
splitContainer1.SplitterDistance = 512;
|
||
splitContainer1.SplitterWidth = 10;
|
||
splitContainer1.TabIndex = 0;
|
||
//
|
||
// leftPanel
|
||
//
|
||
leftPanel.ColumnCount = 1;
|
||
leftPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
||
leftPanel.Controls.Add(tableNameGv, 0, 1);
|
||
leftPanel.Controls.Add(tableLayoutPanel3, 0, 0);
|
||
leftPanel.Dock = DockStyle.Fill;
|
||
leftPanel.Location = new Point(0, 0);
|
||
leftPanel.Name = "leftPanel";
|
||
leftPanel.RowCount = 2;
|
||
leftPanel.RowStyles.Add(new RowStyle());
|
||
leftPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
||
leftPanel.Size = new Size(510, 598);
|
||
leftPanel.TabIndex = 0;
|
||
//
|
||
// tableNameGv
|
||
//
|
||
tableNameGv.BorderStyle = BorderStyle.None;
|
||
tableNameGv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
tableNameGv.Columns.AddRange(new DataGridViewColumn[] { selectedCol, tableNameCol });
|
||
tableNameGv.Dock = DockStyle.Fill;
|
||
tableNameGv.Location = new Point(4, 37);
|
||
tableNameGv.Margin = new Padding(4);
|
||
tableNameGv.Name = "tableNameGv";
|
||
tableNameGv.RowHeadersVisible = false;
|
||
tableNameGv.RowTemplate.Height = 23;
|
||
tableNameGv.Size = new Size(502, 557);
|
||
tableNameGv.TabIndex = 3;
|
||
tableNameGv.CellClick += tableNameGv_CellClick;
|
||
//
|
||
// selectedCol
|
||
//
|
||
dataGridViewCellStyle8.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||
dataGridViewCellStyle8.NullValue = false;
|
||
selectedCol.DefaultCellStyle = dataGridViewCellStyle8;
|
||
selectedCol.FalseValue = "N";
|
||
selectedCol.HeaderText = "选择";
|
||
selectedCol.IndeterminateValue = null;
|
||
selectedCol.Name = "selectedCol";
|
||
selectedCol.TrueValue = "Y";
|
||
selectedCol.Width = 50;
|
||
//
|
||
// tableNameCol
|
||
//
|
||
tableNameCol.DataPropertyName = "TableName";
|
||
tableNameCol.DefaultCellStyle = dataGridViewCellStyle9;
|
||
tableNameCol.HeaderText = "数据表";
|
||
tableNameCol.Name = "tableNameCol";
|
||
tableNameCol.Width = 260;
|
||
//
|
||
// tableLayoutPanel3
|
||
//
|
||
tableLayoutPanel3.AutoSize = true;
|
||
tableLayoutPanel3.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||
tableLayoutPanel3.ColumnCount = 5;
|
||
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
||
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel3.Controls.Add(kryptonLabel1, 0, 0);
|
||
tableLayoutPanel3.Controls.Add(dtTxt, 1, 0);
|
||
tableLayoutPanel3.Controls.Add(dtSearchBut, 2, 0);
|
||
tableLayoutPanel3.Controls.Add(dtResetBut, 3, 0);
|
||
tableLayoutPanel3.Controls.Add(loadDbBut, 4, 0);
|
||
tableLayoutPanel3.Location = new Point(0, 0);
|
||
tableLayoutPanel3.Margin = new Padding(0);
|
||
tableLayoutPanel3.Name = "tableLayoutPanel3";
|
||
tableLayoutPanel3.RowCount = 1;
|
||
tableLayoutPanel3.RowStyles.Add(new RowStyle());
|
||
tableLayoutPanel3.Size = new Size(382, 33);
|
||
tableLayoutPanel3.TabIndex = 2;
|
||
//
|
||
// kryptonLabel1
|
||
//
|
||
kryptonLabel1.Location = new Point(4, 6);
|
||
kryptonLabel1.Margin = new Padding(4, 6, 4, 4);
|
||
kryptonLabel1.Name = "kryptonLabel1";
|
||
kryptonLabel1.Size = new Size(49, 20);
|
||
kryptonLabel1.TabIndex = 0;
|
||
kryptonLabel1.Values.Text = "表名:";
|
||
//
|
||
// dtTxt
|
||
//
|
||
dtTxt.Dock = DockStyle.Fill;
|
||
dtTxt.Location = new Point(61, 6);
|
||
dtTxt.Margin = new Padding(4, 6, 4, 4);
|
||
dtTxt.Name = "dtTxt";
|
||
dtTxt.Size = new Size(97, 23);
|
||
dtTxt.TabIndex = 1;
|
||
//
|
||
// dtSearchBut
|
||
//
|
||
dtSearchBut.Location = new Point(166, 4);
|
||
dtSearchBut.Margin = new Padding(4);
|
||
dtSearchBut.Name = "dtSearchBut";
|
||
dtSearchBut.Size = new Size(58, 25);
|
||
dtSearchBut.TabIndex = 2;
|
||
dtSearchBut.Values.Text = "查询";
|
||
dtSearchBut.Click += dtSearchBut_Click;
|
||
//
|
||
// dtResetBut
|
||
//
|
||
dtResetBut.Location = new Point(232, 4);
|
||
dtResetBut.Margin = new Padding(4);
|
||
dtResetBut.Name = "dtResetBut";
|
||
dtResetBut.Size = new Size(58, 25);
|
||
dtResetBut.TabIndex = 3;
|
||
dtResetBut.Values.Text = "重置";
|
||
dtResetBut.Click += dtResetBut_Click;
|
||
//
|
||
// loadDbBut
|
||
//
|
||
loadDbBut.Location = new Point(298, 4);
|
||
loadDbBut.Margin = new Padding(4);
|
||
loadDbBut.Name = "loadDbBut";
|
||
loadDbBut.Size = new Size(80, 25);
|
||
loadDbBut.TabIndex = 3;
|
||
loadDbBut.Values.Text = "加载数据库";
|
||
loadDbBut.Click += loadDbBut_Click;
|
||
//
|
||
// tableLayoutPanel2
|
||
//
|
||
tableLayoutPanel2.ColumnCount = 1;
|
||
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
||
tableLayoutPanel2.Controls.Add(fieldNameGv, 0, 1);
|
||
tableLayoutPanel2.Controls.Add(tableLayoutPanel4, 0, 0);
|
||
tableLayoutPanel2.Dock = DockStyle.Fill;
|
||
tableLayoutPanel2.Location = new Point(0, 0);
|
||
tableLayoutPanel2.Margin = new Padding(4);
|
||
tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||
tableLayoutPanel2.RowCount = 2;
|
||
tableLayoutPanel2.RowStyles.Add(new RowStyle());
|
||
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
||
tableLayoutPanel2.Size = new Size(500, 598);
|
||
tableLayoutPanel2.TabIndex = 3;
|
||
//
|
||
// fieldNameGv
|
||
//
|
||
fieldNameGv.BorderStyle = BorderStyle.None;
|
||
fieldNameGv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
fieldNameGv.Columns.AddRange(new DataGridViewColumn[] { pkCol, operationCol, fieldNameCol, typeNameCol, typeOfNameCol });
|
||
fieldNameGv.Dock = DockStyle.Fill;
|
||
fieldNameGv.Location = new Point(4, 37);
|
||
fieldNameGv.Margin = new Padding(4);
|
||
fieldNameGv.Name = "fieldNameGv";
|
||
fieldNameGv.RowHeadersVisible = false;
|
||
fieldNameGv.RowTemplate.Height = 23;
|
||
fieldNameGv.Size = new Size(492, 557);
|
||
fieldNameGv.TabIndex = 0;
|
||
//
|
||
// pkCol
|
||
//
|
||
pkCol.DataPropertyName = "Pk";
|
||
dataGridViewCellStyle10.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||
dataGridViewCellStyle10.NullValue = false;
|
||
pkCol.DefaultCellStyle = dataGridViewCellStyle10;
|
||
pkCol.FalseValue = "0";
|
||
pkCol.HeaderText = "主键";
|
||
pkCol.IndeterminateValue = null;
|
||
pkCol.Name = "pkCol";
|
||
pkCol.TrueValue = "1";
|
||
pkCol.Width = 60;
|
||
//
|
||
// operationCol
|
||
//
|
||
operationCol.DataPropertyName = "Operation";
|
||
dataGridViewCellStyle11.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||
dataGridViewCellStyle11.NullValue = false;
|
||
operationCol.DefaultCellStyle = dataGridViewCellStyle11;
|
||
operationCol.FalseValue = "0";
|
||
operationCol.HeaderText = "差异";
|
||
operationCol.IndeterminateValue = null;
|
||
operationCol.Name = "operationCol";
|
||
operationCol.TrueValue = "1";
|
||
operationCol.Width = 60;
|
||
//
|
||
// fieldNameCol
|
||
//
|
||
fieldNameCol.DataPropertyName = "FieldName";
|
||
fieldNameCol.DefaultCellStyle = dataGridViewCellStyle12;
|
||
fieldNameCol.HeaderText = "字段名";
|
||
fieldNameCol.Name = "fieldNameCol";
|
||
fieldNameCol.Width = 260;
|
||
//
|
||
// typeNameCol
|
||
//
|
||
typeNameCol.DataPropertyName = "TypeName";
|
||
typeNameCol.DefaultCellStyle = dataGridViewCellStyle13;
|
||
typeNameCol.HeaderText = "类型";
|
||
typeNameCol.Name = "typeNameCol";
|
||
typeNameCol.Width = 60;
|
||
//
|
||
// typeOfNameCol
|
||
//
|
||
typeOfNameCol.DataPropertyName = "TypeOfName";
|
||
typeOfNameCol.DefaultCellStyle = dataGridViewCellStyle14;
|
||
typeOfNameCol.HeaderText = "映射";
|
||
typeOfNameCol.Name = "typeOfNameCol";
|
||
typeOfNameCol.Width = 60;
|
||
//
|
||
// tableLayoutPanel4
|
||
//
|
||
tableLayoutPanel4.AutoSize = true;
|
||
tableLayoutPanel4.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||
tableLayoutPanel4.ColumnCount = 5;
|
||
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
||
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle());
|
||
tableLayoutPanel4.Controls.Add(kryptonLabel2, 0, 0);
|
||
tableLayoutPanel4.Controls.Add(fieldTxt, 1, 0);
|
||
tableLayoutPanel4.Controls.Add(fieldSearchBut, 2, 0);
|
||
tableLayoutPanel4.Controls.Add(fieldResetBut, 3, 0);
|
||
tableLayoutPanel4.Location = new Point(0, 0);
|
||
tableLayoutPanel4.Margin = new Padding(0);
|
||
tableLayoutPanel4.Name = "tableLayoutPanel4";
|
||
tableLayoutPanel4.RowCount = 1;
|
||
tableLayoutPanel4.RowStyles.Add(new RowStyle());
|
||
tableLayoutPanel4.Size = new Size(340, 33);
|
||
tableLayoutPanel4.TabIndex = 1;
|
||
//
|
||
// kryptonLabel2
|
||
//
|
||
kryptonLabel2.Location = new Point(4, 6);
|
||
kryptonLabel2.Margin = new Padding(4, 6, 4, 4);
|
||
kryptonLabel2.Name = "kryptonLabel2";
|
||
kryptonLabel2.Size = new Size(62, 20);
|
||
kryptonLabel2.TabIndex = 0;
|
||
kryptonLabel2.Values.Text = "字段名:";
|
||
//
|
||
// fieldTxt
|
||
//
|
||
fieldTxt.Location = new Point(74, 6);
|
||
fieldTxt.Margin = new Padding(4, 6, 4, 4);
|
||
fieldTxt.Name = "fieldTxt";
|
||
fieldTxt.Size = new Size(130, 23);
|
||
fieldTxt.TabIndex = 1;
|
||
//
|
||
// fieldSearchBut
|
||
//
|
||
fieldSearchBut.Location = new Point(212, 4);
|
||
fieldSearchBut.Margin = new Padding(4);
|
||
fieldSearchBut.Name = "fieldSearchBut";
|
||
fieldSearchBut.Size = new Size(58, 25);
|
||
fieldSearchBut.TabIndex = 2;
|
||
fieldSearchBut.Values.Text = "查询";
|
||
fieldSearchBut.Click += fieldSearchBut_Click;
|
||
//
|
||
// fieldResetBut
|
||
//
|
||
fieldResetBut.Location = new Point(278, 4);
|
||
fieldResetBut.Margin = new Padding(4);
|
||
fieldResetBut.Name = "fieldResetBut";
|
||
fieldResetBut.Size = new Size(58, 25);
|
||
fieldResetBut.TabIndex = 3;
|
||
fieldResetBut.Values.Text = "重置";
|
||
fieldResetBut.Click += fieldResetBut_Click;
|
||
//
|
||
// TableControl
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
Controls.Add(kryptonPanel1);
|
||
Name = "TableControl";
|
||
Size = new Size(1024, 600);
|
||
((System.ComponentModel.ISupportInitialize)kryptonPanel1).EndInit();
|
||
kryptonPanel1.ResumeLayout(false);
|
||
splitContainer1.Panel1.ResumeLayout(false);
|
||
splitContainer1.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
||
splitContainer1.ResumeLayout(false);
|
||
leftPanel.ResumeLayout(false);
|
||
leftPanel.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)tableNameGv).EndInit();
|
||
tableLayoutPanel3.ResumeLayout(false);
|
||
tableLayoutPanel3.PerformLayout();
|
||
tableLayoutPanel2.ResumeLayout(false);
|
||
tableLayoutPanel2.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)fieldNameGv).EndInit();
|
||
tableLayoutPanel4.ResumeLayout(false);
|
||
tableLayoutPanel4.PerformLayout();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
||
private SplitContainer splitContainer1;
|
||
private TableLayoutPanel leftPanel;
|
||
private Krypton.Toolkit.KryptonDataGridView tableNameGv;
|
||
private TableLayoutPanel tableLayoutPanel3;
|
||
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
||
private Krypton.Toolkit.KryptonTextBox dtTxt;
|
||
private Krypton.Toolkit.KryptonButton dtSearchBut;
|
||
private TableLayoutPanel tableLayoutPanel2;
|
||
private Krypton.Toolkit.KryptonDataGridView fieldNameGv;
|
||
private TableLayoutPanel tableLayoutPanel4;
|
||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||
private Krypton.Toolkit.KryptonTextBox fieldTxt;
|
||
private Krypton.Toolkit.KryptonButton fieldSearchBut;
|
||
private Krypton.Toolkit.KryptonButton fieldResetBut;
|
||
private Krypton.Toolkit.KryptonButton loadDbBut;
|
||
private Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn selectedCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn tableNameCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn pkCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn operationCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn fieldNameCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn typeNameCol;
|
||
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn typeOfNameCol;
|
||
private Krypton.Toolkit.KryptonButton dtResetBut;
|
||
}
|
||
}
|