init
This commit is contained in:
		
							
								
								
									
										129
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										129
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,129 @@
 | 
			
		||||
namespace 合并sql
 | 
			
		||||
{
 | 
			
		||||
    partial class MergeForm
 | 
			
		||||
    {
 | 
			
		||||
        /// <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()
 | 
			
		||||
        {
 | 
			
		||||
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MergeForm));
 | 
			
		||||
            this.textBox = new System.Windows.Forms.TextBox();
 | 
			
		||||
            this.selectFileButton = new System.Windows.Forms.Button();
 | 
			
		||||
            this.mergeButton = new System.Windows.Forms.Button();
 | 
			
		||||
            this.label1 = new System.Windows.Forms.Label();
 | 
			
		||||
            this.label2 = new System.Windows.Forms.Label();
 | 
			
		||||
            this.comboBox = new System.Windows.Forms.ComboBox();
 | 
			
		||||
            this.SuspendLayout();
 | 
			
		||||
            // 
 | 
			
		||||
            // textBox
 | 
			
		||||
            // 
 | 
			
		||||
            this.textBox.Location = new System.Drawing.Point(75, 31);
 | 
			
		||||
            this.textBox.Name = "textBox";
 | 
			
		||||
            this.textBox.Size = new System.Drawing.Size(203, 21);
 | 
			
		||||
            this.textBox.TabIndex = 0;
 | 
			
		||||
            // 
 | 
			
		||||
            // selectFileButton
 | 
			
		||||
            // 
 | 
			
		||||
            this.selectFileButton.Location = new System.Drawing.Point(300, 30);
 | 
			
		||||
            this.selectFileButton.Name = "selectFileButton";
 | 
			
		||||
            this.selectFileButton.Size = new System.Drawing.Size(75, 21);
 | 
			
		||||
            this.selectFileButton.TabIndex = 1;
 | 
			
		||||
            this.selectFileButton.Text = "选择";
 | 
			
		||||
            this.selectFileButton.UseVisualStyleBackColor = true;
 | 
			
		||||
            this.selectFileButton.Click += new System.EventHandler(this.button1_Click);
 | 
			
		||||
            // 
 | 
			
		||||
            // mergeButton
 | 
			
		||||
            // 
 | 
			
		||||
            this.mergeButton.Location = new System.Drawing.Point(300, 74);
 | 
			
		||||
            this.mergeButton.Name = "mergeButton";
 | 
			
		||||
            this.mergeButton.Size = new System.Drawing.Size(75, 21);
 | 
			
		||||
            this.mergeButton.TabIndex = 2;
 | 
			
		||||
            this.mergeButton.Text = "合并";
 | 
			
		||||
            this.mergeButton.UseVisualStyleBackColor = true;
 | 
			
		||||
            this.mergeButton.Click += new System.EventHandler(this.button2_Click);
 | 
			
		||||
            // 
 | 
			
		||||
            // label1
 | 
			
		||||
            // 
 | 
			
		||||
            this.label1.AutoSize = true;
 | 
			
		||||
            this.label1.Location = new System.Drawing.Point(12, 34);
 | 
			
		||||
            this.label1.Name = "label1";
 | 
			
		||||
            this.label1.Size = new System.Drawing.Size(53, 12);
 | 
			
		||||
            this.label1.TabIndex = 3;
 | 
			
		||||
            this.label1.Text = "文件位置";
 | 
			
		||||
            // 
 | 
			
		||||
            // label2
 | 
			
		||||
            // 
 | 
			
		||||
            this.label2.AutoSize = true;
 | 
			
		||||
            this.label2.Location = new System.Drawing.Point(12, 77);
 | 
			
		||||
            this.label2.Name = "label2";
 | 
			
		||||
            this.label2.Size = new System.Drawing.Size(53, 12);
 | 
			
		||||
            this.label2.TabIndex = 4;
 | 
			
		||||
            this.label2.Text = "编    码";
 | 
			
		||||
            // 
 | 
			
		||||
            // comboBox
 | 
			
		||||
            // 
 | 
			
		||||
            this.comboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 | 
			
		||||
            this.comboBox.FormattingEnabled = true;
 | 
			
		||||
            this.comboBox.Items.AddRange(new object[] {
 | 
			
		||||
            "UTF-8",
 | 
			
		||||
            "GBK"});
 | 
			
		||||
            this.comboBox.Location = new System.Drawing.Point(75, 74);
 | 
			
		||||
            this.comboBox.Name = "comboBox";
 | 
			
		||||
            this.comboBox.Size = new System.Drawing.Size(203, 20);
 | 
			
		||||
            this.comboBox.TabIndex = 5;
 | 
			
		||||
            // 
 | 
			
		||||
            // MergeForm
 | 
			
		||||
            // 
 | 
			
		||||
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
 | 
			
		||||
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
			
		||||
            this.ClientSize = new System.Drawing.Size(386, 113);
 | 
			
		||||
            this.Controls.Add(this.comboBox);
 | 
			
		||||
            this.Controls.Add(this.label2);
 | 
			
		||||
            this.Controls.Add(this.label1);
 | 
			
		||||
            this.Controls.Add(this.mergeButton);
 | 
			
		||||
            this.Controls.Add(this.selectFileButton);
 | 
			
		||||
            this.Controls.Add(this.textBox);
 | 
			
		||||
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
 | 
			
		||||
            this.MaximizeBox = false;
 | 
			
		||||
            this.MinimizeBox = false;
 | 
			
		||||
            this.Name = "MergeForm";
 | 
			
		||||
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | 
			
		||||
            this.Text = "SQL合并小工具";
 | 
			
		||||
            this.ResumeLayout(false);
 | 
			
		||||
            this.PerformLayout();
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #endregion
 | 
			
		||||
 | 
			
		||||
        private System.Windows.Forms.TextBox textBox;
 | 
			
		||||
        private System.Windows.Forms.Button selectFileButton;
 | 
			
		||||
        private System.Windows.Forms.Button mergeButton;
 | 
			
		||||
        private System.Windows.Forms.Label label1;
 | 
			
		||||
        private System.Windows.Forms.Label label2;
 | 
			
		||||
        private System.Windows.Forms.ComboBox comboBox;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										115
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,115 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
using System.Data;
 | 
			
		||||
using System.Drawing;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading;
 | 
			
		||||
using System.Windows.Forms;
 | 
			
		||||
 | 
			
		||||
namespace 合并sql
 | 
			
		||||
{
 | 
			
		||||
    public partial class MergeForm : Form
 | 
			
		||||
    {
 | 
			
		||||
        string FileName = "";
 | 
			
		||||
        public MergeForm()
 | 
			
		||||
        {
 | 
			
		||||
            CheckForIllegalCrossThreadCalls = false;
 | 
			
		||||
            InitializeComponent();
 | 
			
		||||
            comboBox.SelectedIndex = 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void button1_Click(object sender, EventArgs e)
 | 
			
		||||
        {
 | 
			
		||||
            using (FolderBrowserDialog dlg = new FolderBrowserDialog())
 | 
			
		||||
            {
 | 
			
		||||
                if (dlg.ShowDialog() == DialogResult.OK)
 | 
			
		||||
                {
 | 
			
		||||
                    textBox.Text = dlg.SelectedPath;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void button2_Click(object sender, EventArgs e)
 | 
			
		||||
        {
 | 
			
		||||
            SaveFileDialog sfd = new SaveFileDialog();
 | 
			
		||||
            //设置文件类型 
 | 
			
		||||
            sfd.Filter = "SQL文件(*.sql)|*.sql|文本文件(*.txt)|*.txt";
 | 
			
		||||
 | 
			
		||||
            //设置默认文件类型显示顺序 
 | 
			
		||||
            sfd.FilterIndex = 1;
 | 
			
		||||
 | 
			
		||||
            //保存对话框是否记忆上次打开的目录 
 | 
			
		||||
            sfd.RestoreDirectory = true;
 | 
			
		||||
 | 
			
		||||
            //设置默认的文件名
 | 
			
		||||
            sfd.FileName = DateTime.Now.ToString("yyyyMM");// in wpf is  sfd.FileName = "YourFileName";
 | 
			
		||||
 | 
			
		||||
            //点了保存按钮进入 
 | 
			
		||||
 | 
			
		||||
            if (sfd.ShowDialog() == DialogResult.OK)
 | 
			
		||||
            {
 | 
			
		||||
                string localFilePath = sfd.FileName.ToString(); //获得文件路径 
 | 
			
		||||
                string fileNameExt = localFilePath.Substring(localFilePath.LastIndexOf("\\") + 1); //获取文件名,不带路径
 | 
			
		||||
                FileName = localFilePath;
 | 
			
		||||
            }
 | 
			
		||||
            else {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            //string FileName = @"D:\Update" + DateTime.Now.ToString("yyyyMM") + ".sql";
 | 
			
		||||
            Thread waitT = new Thread(new ThreadStart(Progress));
 | 
			
		||||
            if (textBox.Text == "")
 | 
			
		||||
            {
 | 
			
		||||
                MessageBox.Show("请选择文件后再合并!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Warning);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            waitT.IsBackground = true;
 | 
			
		||||
            waitT.Start();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Progress()
 | 
			
		||||
        {
 | 
			
		||||
            int dsa = comboBox.SelectedIndex;
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
                FileInfo[] myFileInfo = (new DirectoryInfo(textBox.Text)).GetFiles("*.sql");
 | 
			
		||||
                string NewFileName = "";
 | 
			
		||||
                //空文件夹提示
 | 
			
		||||
                if (myFileInfo.Length == 0) {
 | 
			
		||||
                    MessageBox.Show("此文件夹内未找到SQL文件!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Warning);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                for (int i = 0; i < myFileInfo.Length; i++)
 | 
			
		||||
                {
 | 
			
		||||
                    string str = textBox.Text + "\\" + myFileInfo[i].Name;
 | 
			
		||||
                    StreamReader Strsw = new StreamReader(str, comboBox.SelectedIndex == 0 ? Encoding.UTF8 : Encoding.GetEncoding(54936));
 | 
			
		||||
                    NewFileName += Strsw.ReadToEnd() + "\r\n\r\n /*******************分割线***************/ \r\n\r\n";
 | 
			
		||||
                    Strsw.Close();
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                FileStream myFs = null;
 | 
			
		||||
                if (!File.Exists(FileName))
 | 
			
		||||
                {
 | 
			
		||||
                    myFs = new FileStream(FileName, FileMode.Create);
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    myFs = new FileStream(FileName, FileMode.Open);
 | 
			
		||||
                    MessageBox.Show("文件已存在,将会在原有基础上添加。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
 | 
			
		||||
                    StreamReader Strsw = new StreamReader(myFs, comboBox.SelectedIndex == 0 ? Encoding.UTF8 : Encoding.GetEncoding(54936));
 | 
			
		||||
                    NewFileName = Strsw.ReadToEnd() + "\r\n\r\n /*******************分割线***************/ \r\n\r\n" + NewFileName;
 | 
			
		||||
 | 
			
		||||
                }
 | 
			
		||||
                StreamWriter sw = new StreamWriter(myFs, Encoding.UTF8);
 | 
			
		||||
                sw.Write(NewFileName);
 | 
			
		||||
                sw.Close();
 | 
			
		||||
                MessageBox.Show("合并完毕,文件长度" + NewFileName.Length.ToString("n").Split('.')[0] + "KB大小", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
 | 
			
		||||
            }
 | 
			
		||||
            catch(Exception e)
 | 
			
		||||
            {
 | 
			
		||||
                MessageBox.Show(e.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1253
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1253
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Form1.resx
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										20
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Program.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Windows.Forms;
 | 
			
		||||
 | 
			
		||||
namespace 合并sql
 | 
			
		||||
{
 | 
			
		||||
    static class Program
 | 
			
		||||
    {
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// The main entry point for the application.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [STAThread]
 | 
			
		||||
        static void Main()
 | 
			
		||||
        {
 | 
			
		||||
            Application.EnableVisualStyles();
 | 
			
		||||
            Application.SetCompatibleTextRenderingDefault(false);
 | 
			
		||||
            Application.Run(new MergeForm());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,36 @@
 | 
			
		||||
using System.Reflection;
 | 
			
		||||
using System.Runtime.CompilerServices;
 | 
			
		||||
using System.Runtime.InteropServices;
 | 
			
		||||
 | 
			
		||||
// General Information about an assembly is controlled through the following 
 | 
			
		||||
// set of attributes. Change these attribute values to modify the information
 | 
			
		||||
// associated with an assembly.
 | 
			
		||||
[assembly: AssemblyTitle("合并sql")]
 | 
			
		||||
[assembly: AssemblyDescription("")]
 | 
			
		||||
[assembly: AssemblyConfiguration("")]
 | 
			
		||||
[assembly: AssemblyCompany("Crystal")]
 | 
			
		||||
[assembly: AssemblyProduct("合并sql")]
 | 
			
		||||
[assembly: AssemblyCopyright("Copyright © Crystal 2012")]
 | 
			
		||||
[assembly: AssemblyTrademark("")]
 | 
			
		||||
[assembly: AssemblyCulture("")]
 | 
			
		||||
 | 
			
		||||
// Setting ComVisible to false makes the types in this assembly not visible 
 | 
			
		||||
// to COM components.  If you need to access a type in this assembly from 
 | 
			
		||||
// COM, set the ComVisible attribute to true on that type.
 | 
			
		||||
[assembly: ComVisible(false)]
 | 
			
		||||
 | 
			
		||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
 | 
			
		||||
[assembly: Guid("9e708840-0315-4f93-9272-b0edde6c15ed")]
 | 
			
		||||
 | 
			
		||||
// Version information for an assembly consists of the following four values:
 | 
			
		||||
//
 | 
			
		||||
//      Major Version
 | 
			
		||||
//      Minor Version 
 | 
			
		||||
//      Build Number
 | 
			
		||||
//      Revision
 | 
			
		||||
//
 | 
			
		||||
// You can specify all the values or you can default the Build and Revision Numbers 
 | 
			
		||||
// by using the '*' as shown below:
 | 
			
		||||
// [assembly: AssemblyVersion("1.0.*")]
 | 
			
		||||
[assembly: AssemblyVersion("1.0.0.0")]
 | 
			
		||||
[assembly: AssemblyFileVersion("1.0.0.0")]
 | 
			
		||||
							
								
								
									
										71
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,71 @@
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
// <auto-generated>
 | 
			
		||||
//     This code was generated by a tool.
 | 
			
		||||
//     Runtime Version:4.0.30319.1
 | 
			
		||||
//
 | 
			
		||||
//     Changes to this file may cause incorrect behavior and will be lost if
 | 
			
		||||
//     the code is regenerated.
 | 
			
		||||
// </auto-generated>
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace 合并sql.Properties
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    ///   A strongly-typed resource class, for looking up localized strings, etc.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    // This class was auto-generated by the StronglyTypedResourceBuilder
 | 
			
		||||
    // class via a tool like ResGen or Visual Studio.
 | 
			
		||||
    // To add or remove a member, edit your .ResX file then rerun ResGen
 | 
			
		||||
    // with the /str option, or rebuild your VS project.
 | 
			
		||||
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
 | 
			
		||||
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | 
			
		||||
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
 | 
			
		||||
    internal class Resources
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        private static global::System.Resources.ResourceManager resourceMan;
 | 
			
		||||
 | 
			
		||||
        private static global::System.Globalization.CultureInfo resourceCulture;
 | 
			
		||||
 | 
			
		||||
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
 | 
			
		||||
        internal Resources()
 | 
			
		||||
        {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Returns the cached ResourceManager instance used by this class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        internal static global::System.Resources.ResourceManager ResourceManager
 | 
			
		||||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                if ((resourceMan == null))
 | 
			
		||||
                {
 | 
			
		||||
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("合并sql.Properties.Resources", typeof(Resources).Assembly);
 | 
			
		||||
                    resourceMan = temp;
 | 
			
		||||
                }
 | 
			
		||||
                return resourceMan;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Overrides the current thread's CurrentUICulture property for all
 | 
			
		||||
        ///   resource lookups using this strongly typed resource class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        internal static global::System.Globalization.CultureInfo Culture
 | 
			
		||||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                return resourceCulture;
 | 
			
		||||
            }
 | 
			
		||||
            set
 | 
			
		||||
            {
 | 
			
		||||
                resourceCulture = value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										117
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,117 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<root>
 | 
			
		||||
  <!-- 
 | 
			
		||||
    Microsoft ResX Schema 
 | 
			
		||||
    
 | 
			
		||||
    Version 2.0
 | 
			
		||||
    
 | 
			
		||||
    The primary goals of this format is to allow a simple XML format 
 | 
			
		||||
    that is mostly human readable. The generation and parsing of the 
 | 
			
		||||
    various data types are done through the TypeConverter classes 
 | 
			
		||||
    associated with the data types.
 | 
			
		||||
    
 | 
			
		||||
    Example:
 | 
			
		||||
    
 | 
			
		||||
    ... ado.net/XML headers & schema ...
 | 
			
		||||
    <resheader name="resmimetype">text/microsoft-resx</resheader>
 | 
			
		||||
    <resheader name="version">2.0</resheader>
 | 
			
		||||
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 | 
			
		||||
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 | 
			
		||||
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 | 
			
		||||
        <value>[base64 mime encoded serialized .NET Framework object]</value>
 | 
			
		||||
    </data>
 | 
			
		||||
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 | 
			
		||||
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 | 
			
		||||
        <comment>This is a comment</comment>
 | 
			
		||||
    </data>
 | 
			
		||||
                
 | 
			
		||||
    There are any number of "resheader" rows that contain simple 
 | 
			
		||||
    name/value pairs.
 | 
			
		||||
    
 | 
			
		||||
    Each data row contains a name, and value. The row also contains a 
 | 
			
		||||
    type or mimetype. Type corresponds to a .NET class that support 
 | 
			
		||||
    text/value conversion through the TypeConverter architecture. 
 | 
			
		||||
    Classes that don't support this are serialized and stored with the 
 | 
			
		||||
    mimetype set.
 | 
			
		||||
    
 | 
			
		||||
    The mimetype is used for serialized objects, and tells the 
 | 
			
		||||
    ResXResourceReader how to depersist the object. This is currently not 
 | 
			
		||||
    extensible. For a given mimetype the value must be set accordingly:
 | 
			
		||||
    
 | 
			
		||||
    Note - application/x-microsoft.net.object.binary.base64 is the format 
 | 
			
		||||
    that the ResXResourceWriter will generate, however the reader can 
 | 
			
		||||
    read any of the formats listed below.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.binary.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Serialization.Formatters.Binary.BinaryFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.soap.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.bytearray.base64
 | 
			
		||||
    value   : The object must be serialized into a byte array 
 | 
			
		||||
            : using a System.ComponentModel.TypeConverter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    -->
 | 
			
		||||
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 | 
			
		||||
    <xsd:element name="root" msdata:IsDataSet="true">
 | 
			
		||||
      <xsd:complexType>
 | 
			
		||||
        <xsd:choice maxOccurs="unbounded">
 | 
			
		||||
          <xsd:element name="metadata">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="assembly">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:attribute name="alias" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="data">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="resheader">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
        </xsd:choice>
 | 
			
		||||
      </xsd:complexType>
 | 
			
		||||
    </xsd:element>
 | 
			
		||||
  </xsd:schema>
 | 
			
		||||
  <resheader name="resmimetype">
 | 
			
		||||
    <value>text/microsoft-resx</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="version">
 | 
			
		||||
    <value>2.0</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="reader">
 | 
			
		||||
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="writer">
 | 
			
		||||
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
</root>
 | 
			
		||||
							
								
								
									
										30
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
// <auto-generated>
 | 
			
		||||
//     This code was generated by a tool.
 | 
			
		||||
//     Runtime Version:4.0.30319.1
 | 
			
		||||
//
 | 
			
		||||
//     Changes to this file may cause incorrect behavior and will be lost if
 | 
			
		||||
//     the code is regenerated.
 | 
			
		||||
// </auto-generated>
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace 合并sql.Properties
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
 | 
			
		||||
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
 | 
			
		||||
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
 | 
			
		||||
 | 
			
		||||
        public static Settings Default
 | 
			
		||||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                return defaultInstance;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,7 @@
 | 
			
		||||
<?xml version='1.0' encoding='utf-8'?>
 | 
			
		||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
 | 
			
		||||
  <Profiles>
 | 
			
		||||
    <Profile Name="(Default)" />
 | 
			
		||||
  </Profiles>
 | 
			
		||||
  <Settings />
 | 
			
		||||
</SettingsFile>
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/resizeApi.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/resizeApi.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.7 KiB  | 
							
								
								
									
										85
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/合并sql.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										85
									
								
								SQL/SQL_Merge_Tool-master/合并sql/合并sql/合并sql.csproj
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,85 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 | 
			
		||||
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
 | 
			
		||||
    <ProductVersion>8.0.30703</ProductVersion>
 | 
			
		||||
    <SchemaVersion>2.0</SchemaVersion>
 | 
			
		||||
    <ProjectGuid>{4F4C4E0B-6143-4EFC-B3E8-6C71C51A4EC6}</ProjectGuid>
 | 
			
		||||
    <OutputType>WinExe</OutputType>
 | 
			
		||||
    <AppDesignerFolder>Properties</AppDesignerFolder>
 | 
			
		||||
    <RootNamespace>合并sql</RootNamespace>
 | 
			
		||||
    <AssemblyName>合并sql</AssemblyName>
 | 
			
		||||
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
 | 
			
		||||
    <FileAlignment>512</FileAlignment>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
 | 
			
		||||
    <PlatformTarget>x86</PlatformTarget>
 | 
			
		||||
    <DebugSymbols>true</DebugSymbols>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
    <Optimize>false</Optimize>
 | 
			
		||||
    <OutputPath>bin\Debug\</OutputPath>
 | 
			
		||||
    <DefineConstants>DEBUG;TRACE</DefineConstants>
 | 
			
		||||
    <ErrorReport>prompt</ErrorReport>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
 | 
			
		||||
    <PlatformTarget>x86</PlatformTarget>
 | 
			
		||||
    <DebugType>pdbonly</DebugType>
 | 
			
		||||
    <Optimize>true</Optimize>
 | 
			
		||||
    <OutputPath>bin\Release\</OutputPath>
 | 
			
		||||
    <DefineConstants>TRACE</DefineConstants>
 | 
			
		||||
    <ErrorReport>prompt</ErrorReport>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Reference Include="System" />
 | 
			
		||||
    <Reference Include="System.Data" />
 | 
			
		||||
    <Reference Include="System.Deployment" />
 | 
			
		||||
    <Reference Include="System.Drawing" />
 | 
			
		||||
    <Reference Include="System.Windows.Forms" />
 | 
			
		||||
    <Reference Include="System.Xml" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Compile Include="Form1.cs">
 | 
			
		||||
      <SubType>Form</SubType>
 | 
			
		||||
    </Compile>
 | 
			
		||||
    <Compile Include="Form1.Designer.cs">
 | 
			
		||||
      <DependentUpon>Form1.cs</DependentUpon>
 | 
			
		||||
    </Compile>
 | 
			
		||||
    <Compile Include="Program.cs" />
 | 
			
		||||
    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
			
		||||
    <EmbeddedResource Include="Form1.resx">
 | 
			
		||||
      <DependentUpon>Form1.cs</DependentUpon>
 | 
			
		||||
    </EmbeddedResource>
 | 
			
		||||
    <EmbeddedResource Include="Properties\Resources.resx">
 | 
			
		||||
      <Generator>ResXFileCodeGenerator</Generator>
 | 
			
		||||
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
 | 
			
		||||
      <SubType>Designer</SubType>
 | 
			
		||||
    </EmbeddedResource>
 | 
			
		||||
    <Compile Include="Properties\Resources.Designer.cs">
 | 
			
		||||
      <AutoGen>True</AutoGen>
 | 
			
		||||
      <DependentUpon>Resources.resx</DependentUpon>
 | 
			
		||||
    </Compile>
 | 
			
		||||
    <None Include="Properties\Settings.settings">
 | 
			
		||||
      <Generator>SettingsSingleFileGenerator</Generator>
 | 
			
		||||
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
 | 
			
		||||
    </None>
 | 
			
		||||
    <Compile Include="Properties\Settings.Designer.cs">
 | 
			
		||||
      <AutoGen>True</AutoGen>
 | 
			
		||||
      <DependentUpon>Settings.settings</DependentUpon>
 | 
			
		||||
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
 | 
			
		||||
    </Compile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Content Include="resizeApi.png" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
 | 
			
		||||
       Other similar extension points exist, see Microsoft.Common.targets.
 | 
			
		||||
  <Target Name="BeforeBuild">
 | 
			
		||||
  </Target>
 | 
			
		||||
  <Target Name="AfterBuild">
 | 
			
		||||
  </Target>
 | 
			
		||||
  -->
 | 
			
		||||
</Project>
 | 
			
		||||
		Reference in New Issue
	
	Block a user