123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- namespace DbMigrate
- {
- partial class Form1
- {
- /// <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 Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要修改
- /// 使用代码编辑器修改此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.panel1 = new System.Windows.Forms.Panel();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
- this.btnSelectSqliteFile = new System.Windows.Forms.Button();
- this.txtSqliteFile = new System.Windows.Forms.TextBox();
- this.panel3 = new System.Windows.Forms.Panel();
- this.txtLog = new System.Windows.Forms.ListBox();
- this.panel2 = new System.Windows.Forms.Panel();
- this.label1 = new System.Windows.Forms.Label();
- this.txtYear = new System.Windows.Forms.TextBox();
- this.btnCreateRange = new System.Windows.Forms.Button();
- this.btnMigrate = new System.Windows.Forms.Button();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.txtMySqlCon = new System.Windows.Forms.TextBox();
- this.btnInitMySql = new System.Windows.Forms.Button();
- this.groupBox1.SuspendLayout();
- this.panel3.SuspendLayout();
- this.panel2.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.SuspendLayout();
- //
- // panel1
- //
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1068, 17);
- this.panel1.TabIndex = 3;
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.checkedListBox1);
- this.groupBox1.Controls.Add(this.btnSelectSqliteFile);
- this.groupBox1.Controls.Add(this.txtSqliteFile);
- this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.groupBox1.Font = new System.Drawing.Font("宋体", 12F);
- this.groupBox1.Location = new System.Drawing.Point(0, 17);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(1068, 128);
- this.groupBox1.TabIndex = 4;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Sqlite数据库文件";
- //
- // checkedListBox1
- //
- this.checkedListBox1.FormattingEnabled = true;
- this.checkedListBox1.Location = new System.Drawing.Point(692, 25);
- this.checkedListBox1.MultiColumn = true;
- this.checkedListBox1.Name = "checkedListBox1";
- this.checkedListBox1.Size = new System.Drawing.Size(364, 88);
- this.checkedListBox1.TabIndex = 2;
- //
- // btnSelectSqliteFile
- //
- this.btnSelectSqliteFile.Location = new System.Drawing.Point(578, 44);
- this.btnSelectSqliteFile.Name = "btnSelectSqliteFile";
- this.btnSelectSqliteFile.Size = new System.Drawing.Size(63, 24);
- this.btnSelectSqliteFile.TabIndex = 1;
- this.btnSelectSqliteFile.Text = "选择";
- this.btnSelectSqliteFile.UseVisualStyleBackColor = true;
- this.btnSelectSqliteFile.Click += new System.EventHandler(this.btnSelectSqliteFile_Click);
- //
- // txtSqliteFile
- //
- this.txtSqliteFile.Font = new System.Drawing.Font("宋体", 10F);
- this.txtSqliteFile.Location = new System.Drawing.Point(19, 44);
- this.txtSqliteFile.Name = "txtSqliteFile";
- this.txtSqliteFile.Size = new System.Drawing.Size(550, 23);
- this.txtSqliteFile.TabIndex = 0;
- this.txtSqliteFile.TextChanged += new System.EventHandler(this.txtSqliteFile_TextChanged);
- //
- // panel3
- //
- this.panel3.Controls.Add(this.txtLog);
- this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel3.Location = new System.Drawing.Point(0, 281);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(1068, 263);
- this.panel3.TabIndex = 5;
- //
- // txtLog
- //
- this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtLog.Font = new System.Drawing.Font("宋体", 11F);
- this.txtLog.FormattingEnabled = true;
- this.txtLog.ItemHeight = 15;
- this.txtLog.Location = new System.Drawing.Point(0, 0);
- this.txtLog.Name = "txtLog";
- this.txtLog.Size = new System.Drawing.Size(1068, 263);
- this.txtLog.TabIndex = 1;
- //
- // panel2
- //
- this.panel2.Controls.Add(this.btnMigrate);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel2.Font = new System.Drawing.Font("宋体", 12F);
- this.panel2.Location = new System.Drawing.Point(0, 231);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(1068, 50);
- this.panel2.TabIndex = 2;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(784, 35);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(39, 16);
- this.label1.TabIndex = 3;
- this.label1.Text = "年份";
- //
- // txtYear
- //
- this.txtYear.Location = new System.Drawing.Point(828, 30);
- this.txtYear.Name = "txtYear";
- this.txtYear.Size = new System.Drawing.Size(57, 26);
- this.txtYear.TabIndex = 2;
- this.txtYear.Text = "2025";
- //
- // btnCreateRange
- //
- this.btnCreateRange.Location = new System.Drawing.Point(891, 29);
- this.btnCreateRange.Name = "btnCreateRange";
- this.btnCreateRange.Size = new System.Drawing.Size(108, 28);
- this.btnCreateRange.TabIndex = 1;
- this.btnCreateRange.Text = "2.创建分区";
- this.btnCreateRange.UseVisualStyleBackColor = true;
- this.btnCreateRange.Click += new System.EventHandler(this.btnCreateRange_Click);
- //
- // btnMigrate
- //
- this.btnMigrate.Location = new System.Drawing.Point(389, 9);
- this.btnMigrate.Name = "btnMigrate";
- this.btnMigrate.Size = new System.Drawing.Size(235, 30);
- this.btnMigrate.TabIndex = 1;
- this.btnMigrate.Text = "3.Sqlite数据迁移到MySql";
- this.btnMigrate.UseVisualStyleBackColor = true;
- this.btnMigrate.Click += new System.EventHandler(this.btnMigrate_Click);
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.label1);
- this.groupBox2.Controls.Add(this.txtMySqlCon);
- this.groupBox2.Controls.Add(this.txtYear);
- this.groupBox2.Controls.Add(this.btnInitMySql);
- this.groupBox2.Controls.Add(this.btnCreateRange);
- this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox2.Font = new System.Drawing.Font("宋体", 12F);
- this.groupBox2.Location = new System.Drawing.Point(0, 145);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(1068, 86);
- this.groupBox2.TabIndex = 7;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "MySql数据库";
- //
- // txtMySqlCon
- //
- this.txtMySqlCon.Font = new System.Drawing.Font("宋体", 11F);
- this.txtMySqlCon.Location = new System.Drawing.Point(19, 32);
- this.txtMySqlCon.Name = "txtMySqlCon";
- this.txtMySqlCon.Size = new System.Drawing.Size(571, 24);
- this.txtMySqlCon.TabIndex = 0;
- this.txtMySqlCon.Text = "server=192.168.101.4;uid=root;pwd=123456;database=DWPT;";
- //
- // btnInitMySql
- //
- this.btnInitMySql.Location = new System.Drawing.Point(608, 30);
- this.btnInitMySql.Name = "btnInitMySql";
- this.btnInitMySql.Size = new System.Drawing.Size(99, 28);
- this.btnInitMySql.TabIndex = 1;
- this.btnInitMySql.Text = "1.创建库";
- this.btnInitMySql.UseVisualStyleBackColor = true;
- this.btnInitMySql.Click += new System.EventHandler(this.btnInitMySql_Click);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1068, 544);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel3);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.panel1);
- this.Name = "Form1";
- this.Text = "数据库迁移工具";
- this.Load += new System.EventHandler(this.Form1_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel3.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.ResumeLayout(false);
- }
- #endregion
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.TextBox txtSqliteFile;
- private System.Windows.Forms.Panel panel3;
- private System.Windows.Forms.CheckedListBox checkedListBox1;
- private System.Windows.Forms.Button btnSelectSqliteFile;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Button btnMigrate;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.TextBox txtMySqlCon;
- private System.Windows.Forms.Button btnInitMySql;
- private System.Windows.Forms.ListBox txtLog;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox txtYear;
- private System.Windows.Forms.Button btnCreateRange;
- }
- }
|