diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266.sln" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266.sln" new file mode 100644 index 0000000000000000000000000000000000000000..83ba535914b24a4a62a879c0d839d29047e1002b --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266.sln" @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32922.545 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mergeTxt", "mergeTxt\mergeTxt.csproj", "{409E81B5-DCDE-46B4-9B5A-3CB765E8EBA6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {409E81B5-DCDE-46B4-9B5A-3CB765E8EBA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {409E81B5-DCDE-46B4-9B5A-3CB765E8EBA6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {409E81B5-DCDE-46B4-9B5A-3CB765E8EBA6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {409E81B5-DCDE-46B4-9B5A-3CB765E8EBA6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F39A1C5D-C79A-4A51-9891-45B961D645E2} + EndGlobalSection +EndGlobal diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.Designer.cs" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.Designer.cs" new file mode 100644 index 0000000000000000000000000000000000000000..afc726243f1842e0944025c509042f7505e9580b --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.Designer.cs" @@ -0,0 +1,107 @@ +namespace mergeTxt +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.buttonChoose = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.buttonMerge = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // buttonChoose + // + this.buttonChoose.Location = new System.Drawing.Point(314, 78); + this.buttonChoose.Name = "buttonChoose"; + this.buttonChoose.Size = new System.Drawing.Size(150, 46); + this.buttonChoose.TabIndex = 0; + this.buttonChoose.Text = "选择文件夹"; + this.buttonChoose.UseVisualStyleBackColor = true; + this.buttonChoose.Click += new System.EventHandler(this.buttonChoose_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(201, 166); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(546, 38); + this.textBox1.TabIndex = 1; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(35, 169); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(134, 31); + this.label1.TabIndex = 2; + this.label1.Text = "文件夹路径"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(464, 267); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(0, 31); + this.label2.TabIndex = 3; + // + // buttonMerge + // + this.buttonMerge.Location = new System.Drawing.Point(115, 259); + this.buttonMerge.Name = "buttonMerge"; + this.buttonMerge.Size = new System.Drawing.Size(203, 46); + this.buttonMerge.TabIndex = 4; + this.buttonMerge.Text = "合并文本文件"; + this.buttonMerge.UseVisualStyleBackColor = true; + this.buttonMerge.Click += new System.EventHandler(this.buttonMerge_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(14F, 31F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.buttonMerge); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.buttonChoose); + this.Name = "Form1"; + this.Text = "Form1"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private Button buttonChoose; + private TextBox textBox1; + private Label label1; + private Label label2; + private Button buttonMerge; + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.cs" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.cs" new file mode 100644 index 0000000000000000000000000000000000000000..218e22c6553254b971a39c22aecd2af1b20eca00 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.cs" @@ -0,0 +1,37 @@ +namespace mergeTxt +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void buttonChoose_Click(object sender, EventArgs e) + { + FolderBrowserDialog f = new FolderBrowserDialog(); + if (f.ShowDialog() == DialogResult.OK) + { + String DirPath = f.SelectedPath; + this.textBox1.Text = DirPath;//G:\½ļ + } + } + + private void buttonMerge_Click(object sender, EventArgs e) + { + + string[] txtFiles = Directory.GetFiles(this.textBox1.Text, "*.txt"); + using (StreamWriter writer = new StreamWriter(this.textBox1.Text + @"\allfiles.txt")) + { + for (int i = 0; i < txtFiles.Length; i++) + { + using (StreamReader reader = File.OpenText(txtFiles[i])) + { + writer.Write(reader.ReadToEnd()); + } + } + this.label2.Text = "ϲɹ"; + } + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.resx" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.resx" new file mode 100644 index 0000000000000000000000000000000000000000..f298a7be80982ebd538a05758a03bc827419d418 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Form1.resx" @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Program.cs" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Program.cs" new file mode 100644 index 0000000000000000000000000000000000000000..0f6013fb84ab12dd9b829c19b57f85ed8d4a87a4 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/Program.cs" @@ -0,0 +1,17 @@ +namespace mergeTxt +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.deps.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.deps.json" new file mode 100644 index 0000000000000000000000000000000000000000..910ecbd8483f7a19060111b983b210829c2f680e --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.deps.json" @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "mergeTxt/1.0.0": { + "runtime": { + "mergeTxt.dll": {} + } + } + } + }, + "libraries": { + "mergeTxt/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.pdb" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.pdb" new file mode 100644 index 0000000000000000000000000000000000000000..8a4df3177c22a31c690d1804d21a41b67799c147 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.pdb" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.runtimeconfig.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.runtimeconfig.json" new file mode 100644 index 0000000000000000000000000000000000000000..f9988b2cae43ac853135f538ede8450ffee7e944 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/bin/Debug/net6.0-windows/mergeTxt.runtimeconfig.json" @@ -0,0 +1,15 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ] + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj" new file mode 100644 index 0000000000000000000000000000000000000000..b57c89e694728abd476f3f4dd7288093c0236683 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj" @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj.user" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj.user" new file mode 100644 index 0000000000000000000000000000000000000000..7814ea24efb1226638b58bbf50f1769939812f37 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/mergeTxt.csproj.user" @@ -0,0 +1,8 @@ + + + + + Form + + + diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfo.cs" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfo.cs" new file mode 100644 index 0000000000000000000000000000000000000000..16395e9902323dff0d9f50552614088b712253c8 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfo.cs" @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("mergeTxt")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("mergeTxt")] +[assembly: System.Reflection.AssemblyTitleAttribute("mergeTxt")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfoInputs.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfoInputs.cache" new file mode 100644 index 0000000000000000000000000000000000000000..125a1cf2fdd1a05b9662e96280c28beb8e494d19 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.AssemblyInfoInputs.cache" @@ -0,0 +1 @@ +de002feccad722f403eb1152c3837b757f595141 diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.Form1.resources" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.Form1.resources" new file mode 100644 index 0000000000000000000000000000000000000000..6c05a9776bd7cbae976fdcec7e3a254e93018279 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.Form1.resources" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GeneratedMSBuildEditorConfig.editorconfig" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GeneratedMSBuildEditorConfig.editorconfig" new file mode 100644 index 0000000000000000000000000000000000000000..aefd03e6b2b4de2a9bd4b2d0e5a72ee21854eb51 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GeneratedMSBuildEditorConfig.editorconfig" @@ -0,0 +1,16 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net6.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = mergeTxt +build_property.ProjectDir = D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GlobalUsings.g.cs" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GlobalUsings.g.cs" new file mode 100644 index 0000000000000000000000000000000000000000..84bbb89c14cfaf2df4747a3444ac7189ee12c4ac --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.GlobalUsings.g.cs" @@ -0,0 +1,10 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Drawing; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; +global using global::System.Windows.Forms; diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.assets.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.assets.cache" new file mode 100644 index 0000000000000000000000000000000000000000..4f92a9b61972b9d66934c00f0a0afe1f35423b80 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.assets.cache" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.AssemblyReference.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.AssemblyReference.cache" new file mode 100644 index 0000000000000000000000000000000000000000..4641d4f152ffe3463908c3504d23418d339b40aa Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.AssemblyReference.cache" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.BuildWithSkipAnalyzers" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.BuildWithSkipAnalyzers" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.CoreCompileInputs.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.CoreCompileInputs.cache" new file mode 100644 index 0000000000000000000000000000000000000000..87d871c18366c2d01b5eee27f7cbfb6195989ac4 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.CoreCompileInputs.cache" @@ -0,0 +1 @@ +f4be3ff631543febe874c0d3176a5df43235e972 diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.FileListAbsolute.txt" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.FileListAbsolute.txt" new file mode 100644 index 0000000000000000000000000000000000000000..a7d0d8a56992a76fcea68b1d2f9b153ce5ff91b4 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.FileListAbsolute.txt" @@ -0,0 +1,17 @@ +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\bin\Debug\net6.0-windows\mergeTxt.exe +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\bin\Debug\net6.0-windows\mergeTxt.deps.json +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\bin\Debug\net6.0-windows\mergeTxt.runtimeconfig.json +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\bin\Debug\net6.0-windows\mergeTxt.dll +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\bin\Debug\net6.0-windows\mergeTxt.pdb +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.csproj.AssemblyReference.cache +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.Form1.resources +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.csproj.GenerateResource.cache +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.GeneratedMSBuildEditorConfig.editorconfig +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.AssemblyInfoInputs.cache +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.AssemblyInfo.cs +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.csproj.CoreCompileInputs.cache +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.dll +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\refint\mergeTxt.dll +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.pdb +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\mergeTxt.genruntimeconfig.cache +D:\UserSJR\code\homeWork\mergeTxt\mergeTxt\obj\Debug\net6.0-windows\ref\mergeTxt.dll diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.GenerateResource.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.GenerateResource.cache" new file mode 100644 index 0000000000000000000000000000000000000000..e68e31e33155633f27d85e1cac043efff081bc23 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.csproj.GenerateResource.cache" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.deps.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.deps.json" new file mode 100644 index 0000000000000000000000000000000000000000..706cdfa24ea8dc258aa36871cbcbce0a948e9132 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.deps.json" @@ -0,0 +1,11 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": {} + }, + "libraries": {} +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.runtimeconfig.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.runtimeconfig.json" new file mode 100644 index 0000000000000000000000000000000000000000..2d19f14a309b67af7749355d90d9aab618a8258d --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.designer.runtimeconfig.json" @@ -0,0 +1,23 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\20403\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\20403\\.nuget\\packages", + "D:\\Program Files\\VS2022_others\\NuGetPackages" + ], + "configProperties": { + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.genruntimeconfig.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.genruntimeconfig.cache" new file mode 100644 index 0000000000000000000000000000000000000000..50319e261ca62a77249500dfa8841f948fda32fb --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.genruntimeconfig.cache" @@ -0,0 +1 @@ +062aa1d32e1d33c96e45f118c309bb4e8a102444 diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.pdb" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.pdb" new file mode 100644 index 0000000000000000000000000000000000000000..8a4df3177c22a31c690d1804d21a41b67799c147 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/Debug/net6.0-windows/mergeTxt.pdb" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.dgspec.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.dgspec.json" new file mode 100644 index 0000000000000000000000000000000000000000..989335dde2723fd3e35f1f9a26fd17ea61ef1b49 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.dgspec.json" @@ -0,0 +1,63 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj": {} + }, + "projects": { + "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj", + "projectName": "mergeTxt", + "projectPath": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj", + "packagesPath": "C:\\Users\\weiwei\\.nuget\\packages\\", + "outputPath": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\weiwei\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows7.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.props" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.props" new file mode 100644 index 0000000000000000000000000000000000000000..f7df847cb6757cc2b8e32b32c187fbbdc98bc461 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.props" @@ -0,0 +1,20 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\weiwei\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\ + PackageReference + 5.11.1 + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.targets" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.targets" new file mode 100644 index 0000000000000000000000000000000000000000..d212750c5469642d1002b30836aa44de11b0b6a9 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/mergeTxt.csproj.nuget.g.targets" @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.assets.json" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.assets.json" new file mode 100644 index 0000000000000000000000000000000000000000..9172f18ca52510dee8129f23a5d23c1068542630 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.assets.json" @@ -0,0 +1,70 @@ +{ + "version": 3, + "targets": { + "net6.0-windows7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0-windows7.0": [] + }, + "packageFolders": { + "C:\\Users\\weiwei\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj", + "projectName": "mergeTxt", + "projectPath": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj", + "packagesPath": "C:\\Users\\weiwei\\.nuget\\packages\\", + "outputPath": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\weiwei\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows7.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.nuget.cache" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.nuget.cache" new file mode 100644 index 0000000000000000000000000000000000000000..ff059c5a5a8c6d11fe1f201cbd45f43dc260e083 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266/obj/project.nuget.cache" @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "QfniU1v6FwLVmTU4XjjvxfR1yQ2s1p4V6YEu5mNp/QOOrM5hEan7mbJwQay/v3Vm3yWXy0x30YILqn+8ZbfR0g==", + "success": true, + "projectFilePath": "C:\\Users\\weiwei\\Desktop\\mergeTxt\\mergeTxt\\mergeTxt.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/1.png" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/1.png" new file mode 100644 index 0000000000000000000000000000000000000000..4997104cb9b3f44b6ab7d92f2e225eceda69b990 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/1.png" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/2.png" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/2.png" new file mode 100644 index 0000000000000000000000000000000000000000..fb6fe751f08bbfbeb176a81bdfefabf80e38e19f Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\346\226\207\344\273\266\345\220\210\345\271\266\344\275\234\344\270\232/\345\220\210\345\271\266\346\226\207\344\273\266\346\210\252\345\233\276/2.png" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232.md" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232.md" new file mode 100644 index 0000000000000000000000000000000000000000..3f30734525077a61ed4fa77b906c66a0d3ffbd89 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232.md" @@ -0,0 +1,55 @@ +# MVVM的基本思想 +## MVVM的概念 +MVVM模式全称是模型-视图-视图模型(Mod el-View-ViewModel),MVVM是为绑定而设计的一种模式。在MVVM中,有Model,View,和ViewModel三个组成部分:View就是用户看到的界面;Model是我们的数据,而ViewModel就负责将Model中的数据展示在页面上,同时将View上的改变同步回Model中,ViewModel是MVVM的核心,它通过DataBinding实现View与Model之间的双向绑定,其内容包括数据状态处理、数据绑定及数据转换。例如,View中某处的状态和Model中某部分数据绑定在一起,这部分数据一旦变更将会反映到View层。而这个机制通过ViewModel来实现。ViewModel,即视图模型,是一个专门用于数据转换的控制器,它可以把对象信息转换为视图信息,将命令从视图携带到对象。它通过View发布对象的公共数据,同时向视图提供数据和方法。View和ViewModel之间使用DataBinding及其事件进行通信。View的用户接口事件仍然由View自身处理,并把相关事件映射到ViewModel,以实现View中的对象与视图模型内容的同步,且可通过双向数据绑定进行更新。因此,程序员只需编写包含声明绑定的视图模板,以及ViewModel中的数据变更逻辑,就能使View获得响应式的更新。 + +## MVVM的流程 +在 MVVM 流程(如图 3 所示)中,View 仍然代表前端的界面,Model 仍然代表后端传递的数据,而 ViewModel 作为核心有着两个传递方向: +1. 将 Model 转换成 View,即将后端传递的数据转换成用户界面,实现方式为数据绑定; +2. 将 View 转换成 Model,即将用户界面转换成后端数据,实现方式为 DOM 事件监听。 + +## MVVM的应用场景 +在 MVVM 模式下 View 和 Model 不能直接通信,两者的通信只能通过 ViewModel 来实现。ViewModel 通常要实现一个观察者,当数据发生变化,ViewModel 能够监听到数据的变化,然后通知对应的视图做自动更新;而当用户操作视图,ViewModel 也能监听到视图的变化,再通知数据做改动,从而形成数据的双向绑定。这使得 MVVM 更适用于数据驱动的场景,尤其是数据操作特别频繁的场景。但也正是由于数据和视图的双向绑定,导致出现问题时不太好定位来源,有可能由数据问题导致、也有可能由业务逻辑中对视图属性的修改导致。 + +## MVVM的优点 +1. 低耦合。视图(View)可以独立于Model变化和修改,一个ViewModel可以绑定到不同的"View"上,当View变化的时候Model可以不变,当Model变化的时候View也可以不变。 +2. 可重用性。你可以把一些视图逻辑放在一个ViewModel里面,让很多view重用这段视图逻辑。 +3. 独立开发。开发人员可以专注于业务逻辑和数据的开发(ViewModel),设计人员可以专注于页面设计,使用Expression Blend可以很容易设计界面并生成xaml代码。 +4. 可测试。界面素来是比较难于测试的,测试可以针对ViewModel来写。 + +## MVVM的缺点 +1. 代码量增加:与MVC等相比,由于MVVM要实现一系列的数据绑定,所以代码量会增加不少。 +2. 内存占用量大:一个大的Model里面也一定会存储着比较多的数据,所以会使用更多的内存。 + +# 熟悉WPF窗体应用程序创建流程 +## WPF基本概念 +WPF的核心是一个与分辨率无关且基于矢量的呈现引擎,旨在充分利用现代图形硬件。WPF通过一套完善的应用程序开发功能对该核心进行了扩展,这些功能包括可扩展应用程序标记语言 (XAML)、控件、数据绑定、布局、二维和三维图形、动画、样式、模板、文档、媒体、文本和版式。 WPF 属于 .NET,因此可以生成整合 .NET API 其他元素的应用程序。 + +## WPF程序创建流程 +选择所需要的WPF程序,就可以创建一个WPF窗体程序,在工具箱中选择我们需要的控件。可以直接从工具箱选择需要的控件,拖到MainWindow中使用。 +![选择WPF](WPF%E7%A8%8B%E5%BA%8F%E5%88%9B%E5%BB%BA%E6%B5%81%E7%A8%8B%E5%9B%BE/%E5%88%9B%E5%BB%BAWPF%E7%AA%97%E4%BD%93%E7%A8%8B%E5%BA%8F.png) +1. Button:按钮控件,可以添加文字,后台会生成点击按钮的Click事件。 +2. Label:在Label控件使用时,一般给予用户提示。Label控件的值不是text而是content。 +3. Textbox:TextBox是支持编辑的基本控件。 +4. Listbox:ListBox是列表级控件,是项目中比较常用的,该控件通过重写控件等方式,对项目中使用了特效方面特别有帮助。 +5. DataGrid:DataGrid 控件看起来很像 ListView,但它提供了许多附加功能。例如,DataGrid可以根据您提供给它的数据自动生成列。默认情况下,DataGrid也是可编辑的,允许最终用户更改基础数据源的值。 +6. ComboBox:ComboBox与ListBox基本上差别不大,比较相似。
+效果图如下 +![效果图](WPF%E7%A8%8B%E5%BA%8F%E5%88%9B%E5%BB%BA%E6%B5%81%E7%A8%8B%E5%9B%BE/%E6%95%88%E6%9E%9C%E5%9B%BE.png) +![效果图1](WPF%E7%A8%8B%E5%BA%8F%E5%88%9B%E5%BB%BA%E6%B5%81%E7%A8%8B%E5%9B%BE/%E6%95%88%E6%9E%9C%E5%9B%BE1.png) +# lab1实验准备 +安装VS2022专业版,Windows11专业版,Office专业版以及git等等软件,提前创建好gitee仓库。预计好完成实验的时间,并在实验完成后及时撰写实验报告。 +# 选做 +## 安装Anaconda +![anaconda](%E9%80%89%E5%81%9A/anaconda.jpg) +安装完anaconda之后,进行pytorch的安装 +## 安装pytorch +进入Python环境之后,进入PyTorch官网,选择相关参数,获取PyTorch安装指令。 +## 安装gym +管理员运行进入anaconda +git clone https://github.com/openai/gym.git +进入下载好的 gym 文件夹 +激活环境 +conda activate env_pytorch +pip install gym +conda install swig +pip install gym[Box2d] \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\345\210\233\345\273\272WPF\347\252\227\344\275\223\347\250\213\345\272\217.png" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\345\210\233\345\273\272WPF\347\252\227\344\275\223\347\250\213\345\272\217.png" new file mode 100644 index 0000000000000000000000000000000000000000..93cf732bd0b0a2bd1bc680cfe3215327d7722f42 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\345\210\233\345\273\272WPF\347\252\227\344\275\223\347\250\213\345\272\217.png" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\276.png" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..e4d2187b5232a5893b25102ca3c0e1e04e84dc2d Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\276.png" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\2761.png" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\2761.png" new file mode 100644 index 0000000000000000000000000000000000000000..a7b074d770c4b2ad234f3ba83e4ec46fc0792670 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/WPF\347\250\213\345\272\217\345\210\233\345\273\272\346\265\201\347\250\213\345\233\276/\346\225\210\346\236\234\345\233\2761.png" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/\351\200\211\345\201\232/anaconda.jpg" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/\351\200\211\345\201\232/anaconda.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..b9c81dc3cb51ff0ad99e8185dcc890dd8fe1a4d8 Binary files /dev/null and "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\344\270\203\345\221\250\350\257\276\345\220\216\344\275\234\344\270\232/\351\200\211\345\201\232/anaconda.jpg" differ diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_7.md" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_7.md" new file mode 100644 index 0000000000000000000000000000000000000000..b36b8dc9d4b4b062e533d021bdc90af3bf76b2b4 --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_7.md" @@ -0,0 +1,63 @@ +# 2-7翻译 +## 注册表结构和注册表值类型 +* https://docs.microsoft.com/en-us/windows/win32/api/winreg/ns-winreg-valenta +* https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-value-types +* https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-value-types +### 一、注册表结构 +包含关于一个注册表值的信息。列表中的 RegQueryMultipleValues 函数使用此结构。 +``` +typedef struct value_entW { + LPWSTR ve_valuename; + DWORD ve_valuelen; + DWORD_PTR ve_valueptr; + DWORD ve_type; +} VALENTW, *PVALENTW; +``` +**ve_valuename** + +要检索的值的名称。请确保在调用RegQueryMultipleValues之前设置此成员 然后再调用RegQueryMultipleValues。 + +**ve_valuelen** + +数据的大小被ve_valueptr指向(ve_valueptr指向的数据的大小),以字节为单位 + +**ve_valueptr** + +一个指向值输入数据的指针。这是一个指针,指向 在lpValueBuf缓冲区中返回的值的数据的指针,由 RegQueryMultipleValues填写的缓冲区中的值的指针。 + +**ve_type** + +ve_valueptr所指向的数据类型。关于可能的类型列表 可能的类型,请看注册表值类型。 + +### 二、注册表值的类型 +下面的例子是遍历一个REG_MULTI_SZ字符串。 +``` +#include +#include +#include + +void SampleSzz(PTSTR pszz) +{ + _tprintf(_TEXT("\tBegin multi-sz string\n")); + while (*pszz) + { + _tprintf(_TEXT("\t\t%s\n"), pszz); + pszz = pszz + _tcslen(pszz) + 1; + } + _tprintf(_TEXT("\tEnd multi-sz\n")); +} + +int __cdecl main(int argc, char **argv) +{ + // Because the compiler adds a \0 at the end of quoted strings, + // there are two \0 terminators at the end. + + _tprintf(_TEXT("Conventional multi-sz string:\n")); + SampleSzz(_TEXT("String1\0String2\0String3\0LastString\0")); + + _tprintf(_TEXT("\nTest case with no strings:\n")); + SampleSzz(_TEXT("")); + + return 0; +} +``` \ No newline at end of file diff --git "a/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_8.md" "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_8.md" new file mode 100644 index 0000000000000000000000000000000000000000..b4145823a24ae4b56cf78b3d71d831cad919498a --- /dev/null +++ "b/2020302111398-\346\261\252\345\256\266\344\274\237-\347\254\254\345\205\253\345\221\250\344\275\234\344\270\232&\350\257\276\345\240\202\344\272\222\345\212\250\357\274\210\347\277\273\350\257\221\357\274\211/lab_2_8.md" @@ -0,0 +1,117 @@ +# 2-8翻译 +## 枚举注册表子键 +* https://docs.microsoft.com/en-us/windows/win32/sysinfo/enumerating-registry-subkeys + +此实验示例使用RegQueryInfoKey、RegEnumKeyEx和RegEnumValue函数枚举指定键的子键。传递给每个函数的hKey参数是打开键的句柄。此键必须在函数调用之前打开,然后关闭。 +``` +// QueryKey - 枚举键的子键及其相关值。 +// hKey - 要列举其子键和值的键。 + +#include +#include +#include + +#define MAX_KEY_LENGTH 255 +#define MAX_VALUE_NAME 16383 + +void QueryKey(HKEY hKey) +{ + TCHAR achKey[MAX_KEY_LENGTH]; // 子键名称的缓冲区 + DWORD cbName; // 名称字符串的大小 + TCHAR achClass[MAX_PATH] = TEXT(""); // 类名的缓冲区 + DWORD cchClassName = MAX_PATH; // 类字符串的大小 + DWORD cSubKeys=0; // 子密钥的数量 + DWORD cbMaxSubKey; // 最大的子键尺寸 + DWORD cchMaxClass; // 最长级别的字符串 + DWORD cValues; // 键值的数量 + DWORD cchMaxValue; // 最长的值名称 + DWORD cbMaxValueData; // 最长值数据 + DWORD cbSecurityDescriptor; // 安全描述符的大小 + FILETIME ftLastWriteTime; // 最后写入时间 + + DWORD i, retCode; + + TCHAR achValue[MAX_VALUE_NAME]; + DWORD cchValue = MAX_VALUE_NAME; + + // 获取类的名称和值的数量。 + retCode = RegQueryInfoKey( + hKey, // 钥匙柄 + achClass, // 类名的缓冲区 + &cchClassName, // 类字符串的大小 + NULL, // 保留 + &cSubKeys, // 子密钥的数量 + &cbMaxSubKey, // 最长的子键尺寸 + &cchMaxClass, // 最长级别的字符串 + &cValues, // 这个键的值的数量 + &cchMaxValue, // 最长的值名称 + &cbMaxValueData, // 最长值数据 + &cbSecurityDescriptor, //安全描述符 + &ftLastWriteTime); // 最后写作时间 + + //枚举子键,直到RegEnumKeyEx失败。 + + if (cSubKeys) + { + printf( "\nNumber of subkeys: %d\n", cSubKeys); + + for (i=0; i