Browse Source

设计一枚Icon

yuzhengyang 8 years ago
parent
commit
11a077093d
29 changed files with 9020 additions and 118 deletions
  1. 13 13
      Fork.Net/Fork.Net.sln
  2. 23 1
      Fork.Net/Waka.Lego.Baidu/Form1.Designer.cs
  3. 0 0
      Fork.Net/Waka.Lego.Baidu/Form1.resx
  4. 3 0
      Fork.Net/Waka.Lego.Baidu/Waka.Lego.Baidu.csproj
  5. 0 0
      Fork.Net/Waka.Lego.Icon/App.config
  6. 86 0
      Fork.Net/Waka.Lego.Icon/Form1.Designer.cs
  7. 1 1
      Fork.Net/Waka.Lego.CommApp/Form1.cs
  8. 8690 0
      Fork.Net/Waka.Lego.Icon/Form1.resx
  9. BIN
      Fork.Net/Waka.Lego.Icon/PoliceAcess.png
  10. 1 1
      Fork.Net/Waka.Lego.CommApp/Program.cs
  11. 3 3
      Fork.Net/Waka.Lego.CommApp/Properties/AssemblyInfo.cs
  12. 36 34
      Fork.Net/Waka.Lego.StringApp/Properties/Resources.Designer.cs
  13. 124 0
      Fork.Net/Waka.Lego.Icon/Properties/Resources.resx
  14. 1 1
      Fork.Net/Waka.Lego.CommApp/Properties/Settings.Designer.cs
  15. 0 0
      Fork.Net/Waka.Lego.Icon/Properties/Settings.settings
  16. 14 3
      Fork.Net/Waka.Lego.StringApp/Waka.Lego.StringApp.csproj
  17. BIN
      Fork.Net/Waka.Lego.Icon/pa.ico
  18. 0 0
      Fork.Net/Waka.Lego.Music/App.config
  19. 6 6
      Fork.Net/Waka.Lego.CommApp/Form1.Designer.cs
  20. 1 1
      Fork.Net/Waka.Lego.StringApp/Form1.cs
  21. 8 5
      Fork.Net/Waka.Lego.StringApp/Properties/Resources.resx
  22. 1 1
      Fork.Net/Waka.Lego.StringApp/Program.cs
  23. 3 3
      Fork.Net/Waka.Lego.StringApp/Properties/AssemblyInfo.cs
  24. 2 2
      Fork.Net/Waka.Lego.CommApp/Properties/Resources.Designer.cs
  25. 0 0
      Fork.Net/Waka.Lego.Music/Properties/Resources.resx
  26. 1 1
      Fork.Net/Waka.Lego.StringApp/Properties/Settings.Designer.cs
  27. 0 0
      Fork.Net/Waka.Lego.Music/Properties/Settings.settings
  28. 3 3
      Fork.Net/Waka.Lego.CommApp/Waka.Lego.CommApp.csproj
  29. 0 39
      Fork.Net/Waka.Lego.StringApp/Form1.Designer.cs

+ 13 - 13
Fork.Net/Fork.Net.sln

@@ -35,11 +35,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Fork.Net.Lego", "Fork.Net.L
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego", "Waka.Lego\Waka.Lego.csproj", "{7ACB538D-2A75-4602-9422-1C5E72AB840A}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.StringApp", "Waka.Lego.StringApp\Waka.Lego.StringApp.csproj", "{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.Baidu", "Waka.Lego.Baidu\Waka.Lego.Baidu.csproj", "{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.CommApp", "Waka.Lego.CommApp\Waka.Lego.CommApp.csproj", "{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.Music", "Waka.Lego.Music\Waka.Lego.Music.csproj", "{B4E47708-0D92-4308-B605-1B9657B308CF}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.Baidu", "Waka.Lego.Baidu\Waka.Lego.Baidu.csproj", "{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Waka.Lego.Icon", "Waka.Lego.Icon\Waka.Lego.Icon.csproj", "{328B6806-CC39-4232-AE51-13AABF9A583B}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -91,18 +91,18 @@ Global
 		{7ACB538D-2A75-4602-9422-1C5E72AB840A}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{7ACB538D-2A75-4602-9422-1C5E72AB840A}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{7ACB538D-2A75-4602-9422-1C5E72AB840A}.Release|Any CPU.Build.0 = Release|Any CPU
-		{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}.Release|Any CPU.Build.0 = Release|Any CPU
-		{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}.Release|Any CPU.Build.0 = Release|Any CPU
 		{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964}.Release|Any CPU.Build.0 = Release|Any CPU
+		{B4E47708-0D92-4308-B605-1B9657B308CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{B4E47708-0D92-4308-B605-1B9657B308CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{B4E47708-0D92-4308-B605-1B9657B308CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{B4E47708-0D92-4308-B605-1B9657B308CF}.Release|Any CPU.Build.0 = Release|Any CPU
+		{328B6806-CC39-4232-AE51-13AABF9A583B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{328B6806-CC39-4232-AE51-13AABF9A583B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{328B6806-CC39-4232-AE51-13AABF9A583B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{328B6806-CC39-4232-AE51-13AABF9A583B}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
@@ -117,8 +117,8 @@ Global
 		{490E9BE8-814D-4617-8271-41A73C373F7D} = {BF970206-CAA8-46C3-9F1A-46BB82D51DC4}
 		{3ECA2CC6-55C2-433F-A617-A7376E455F7C} = {F222E566-DA0C-443C-BB9F-80536F02DB36}
 		{7ACB538D-2A75-4602-9422-1C5E72AB840A} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
-		{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
-		{77C30089-A99A-45D1-AE60-6F07FCF2DD2D} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
 		{5BD7BF2A-5FFA-45CB-AA5D-25345C77D964} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
+		{B4E47708-0D92-4308-B605-1B9657B308CF} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
+		{328B6806-CC39-4232-AE51-13AABF9A583B} = {0DB08A6B-6960-48CD-B23B-6428F47FDA60}
 	EndGlobalSection
 EndGlobal

+ 23 - 1
Fork.Net/Waka.Lego.Baidu/Form1.Designer.cs

@@ -28,12 +28,34 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.components = new System.ComponentModel.Container();
+            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
+            this.SuspendLayout();
+            // 
+            // webBrowser1
+            // 
+            this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.webBrowser1.Location = new System.Drawing.Point(0, 0);
+            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
+            this.webBrowser1.Name = "webBrowser1";
+            this.webBrowser1.Size = new System.Drawing.Size(284, 261);
+            this.webBrowser1.TabIndex = 0;
+            this.webBrowser1.Url = new System.Uri("https://www.baidu.com", System.UriKind.Absolute);
+            // 
+            // Form1
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(284, 261);
+            this.Controls.Add(this.webBrowser1);
+            this.Name = "Form1";
             this.Text = "Form1";
+            this.ResumeLayout(false);
+
         }
 
         #endregion
+
+        private System.Windows.Forms.WebBrowser webBrowser1;
     }
 }
 

Fork.Net/Waka.Lego.CommApp/Form1.resx → Fork.Net/Waka.Lego.Baidu/Form1.resx


+ 3 - 0
Fork.Net/Waka.Lego.Baidu/Waka.Lego.Baidu.csproj

@@ -54,6 +54,9 @@
     </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>

Fork.Net/Waka.Lego.CommApp/App.config → Fork.Net/Waka.Lego.Icon/App.config


+ 86 - 0
Fork.Net/Waka.Lego.Icon/Form1.Designer.cs

@@ -0,0 +1,86 @@
+namespace Waka.Lego.Icon
+{
+    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.components = new System.ComponentModel.Container();
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
+            this.pictureBox1 = new System.Windows.Forms.PictureBox();
+            this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
+            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
+            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // pictureBox1
+            // 
+            this.pictureBox1.Image = global::Waka.Lego.Icon.Properties.Resources.PoliceAcess;
+            this.pictureBox1.Location = new System.Drawing.Point(49, 38);
+            this.pictureBox1.Name = "pictureBox1";
+            this.pictureBox1.Size = new System.Drawing.Size(250, 247);
+            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+            this.pictureBox1.TabIndex = 0;
+            this.pictureBox1.TabStop = false;
+            // 
+            // notifyIcon1
+            // 
+            this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
+            this.notifyIcon1.Text = "notifyIcon1";
+            this.notifyIcon1.Visible = true;
+            // 
+            // webBrowser1
+            // 
+            this.webBrowser1.Location = new System.Drawing.Point(49, 291);
+            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
+            this.webBrowser1.Name = "webBrowser1";
+            this.webBrowser1.Size = new System.Drawing.Size(250, 24);
+            this.webBrowser1.TabIndex = 1;
+            this.webBrowser1.Url = new System.Uri("http://fm.baidu.com/", System.UriKind.Absolute);
+            // 
+            // Form1
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(345, 327);
+            this.Controls.Add(this.webBrowser1);
+            this.Controls.Add(this.pictureBox1);
+            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+            this.Name = "Form1";
+            this.Text = "Icon";
+            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.PictureBox pictureBox1;
+        private System.Windows.Forms.NotifyIcon notifyIcon1;
+        private System.Windows.Forms.WebBrowser webBrowser1;
+    }
+}
+

+ 1 - 1
Fork.Net/Waka.Lego.CommApp/Form1.cs

@@ -8,7 +8,7 @@ using System.Text;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
-namespace Waka.Lego.CommApp
+namespace Waka.Lego.Icon
 {
     public partial class Form1 : Form
     {

File diff suppressed because it is too large
+ 8690 - 0
Fork.Net/Waka.Lego.Icon/Form1.resx


BIN
Fork.Net/Waka.Lego.Icon/PoliceAcess.png


+ 1 - 1
Fork.Net/Waka.Lego.CommApp/Program.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
-namespace Waka.Lego.CommApp
+namespace Waka.Lego.Icon
 {
     static class Program
     {

+ 3 - 3
Fork.Net/Waka.Lego.CommApp/Properties/AssemblyInfo.cs

@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
 // 有关程序集的一般信息由以下
 // 控制。更改这些特性值可修改
 // 与程序集关联的信息。
-[assembly: AssemblyTitle("Waka.Lego.CommApp")]
+[assembly: AssemblyTitle("Waka.Lego.Icon")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Waka.Lego.CommApp")]
+[assembly: AssemblyProduct("Waka.Lego.Icon")]
 [assembly: AssemblyCopyright("Copyright ©  2017")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
@@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
 [assembly: ComVisible(false)]
 
 // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
-[assembly: Guid("77c30089-a99a-45d1-ae60-6f07fcf2dd2d")]
+[assembly: Guid("328b6806-cc39-4232-ae51-13aabf9a583b")]
 
 // 程序集的版本信息由下列四个值组成: 
 //

+ 36 - 34
Fork.Net/Waka.Lego.StringApp/Properties/Resources.Designer.cs

@@ -1,71 +1,73 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     此代码由工具生成。
-//     运行时版本: 4.0.30319.42000
+//     运行时版本:4.0.30319.42000
 //
-//     对此文件的更改可能导致不正确的行为,如果
-//     重新生成代码,则所做更改将丢失。
+//     对此文件的更改可能导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Waka.Lego.StringApp.Properties
-{
-
-
+namespace Waka.Lego.Icon.Properties {
+    using System;
+    
+    
     /// <summary>
-    ///   强类型资源类,用于查找本地化字符串等。
+    ///   一个强类型资源类,用于查找本地化字符串等。
     /// </summary>
     // 此类是由 StronglyTypedResourceBuilder
     // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
-    // 若要添加或除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+    // 若要添加或除成员,请编辑 .ResX 文件,然后重新运行 ResGen
     // (以 /str 作为命令选项),或重新生成 VS 项目。
     [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
-    {
-
+    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()
-        {
+        internal Resources() {
         }
-
+        
         /// <summary>
-        ///   返回此类使用的缓存 ResourceManager 实例。
+        ///   返回此类使用的缓存 ResourceManager 实例。
         /// </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("Waka.Lego.StringApp.Properties.Resources", typeof(Resources).Assembly);
+        internal static global::System.Resources.ResourceManager ResourceManager {
+            get {
+                if (object.ReferenceEquals(resourceMan, null)) {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Waka.Lego.Icon.Properties.Resources", typeof(Resources).Assembly);
                     resourceMan = temp;
                 }
                 return resourceMan;
             }
         }
-
+        
         /// <summary>
-        ///   覆盖当前线程的 CurrentUICulture 属性
-        ///   使用此强类型的资源类的资源查找
+        ///   使用此强类型资源类,为所有资源查找
+        ///   重写当前线程的 CurrentUICulture 属性
         /// </summary>
         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Globalization.CultureInfo Culture
-        {
-            get
-            {
+        internal static global::System.Globalization.CultureInfo Culture {
+            get {
                 return resourceCulture;
             }
-            set
-            {
+            set {
                 resourceCulture = value;
             }
         }
+        
+        /// <summary>
+        ///   查找 System.Drawing.Bitmap 类型的本地化资源。
+        /// </summary>
+        internal static System.Drawing.Bitmap PoliceAcess {
+            get {
+                object obj = ResourceManager.GetObject("PoliceAcess", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
     }
 }

+ 124 - 0
Fork.Net/Waka.Lego.Icon/Properties/Resources.resx

@@ -0,0 +1,124 @@
+<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <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" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </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" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="PoliceAcess" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\PoliceAcess.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+</root>

+ 1 - 1
Fork.Net/Waka.Lego.CommApp/Properties/Settings.Designer.cs

@@ -8,7 +8,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Waka.Lego.CommApp.Properties
+namespace Waka.Lego.Icon.Properties
 {
 
 

Fork.Net/Waka.Lego.CommApp/Properties/Settings.settings → Fork.Net/Waka.Lego.Icon/Properties/Settings.settings


+ 14 - 3
Fork.Net/Waka.Lego.StringApp/Waka.Lego.StringApp.csproj

@@ -4,11 +4,11 @@
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{4C43710A-0BFD-48E2-AA0E-8F9C4EE60D62}</ProjectGuid>
+    <ProjectGuid>{328B6806-CC39-4232-AE51-13AABF9A583B}</ProjectGuid>
     <OutputType>WinExe</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Waka.Lego.StringApp</RootNamespace>
-    <AssemblyName>Waka.Lego.StringApp</AssemblyName>
+    <RootNamespace>Waka.Lego.Icon</RootNamespace>
+    <AssemblyName>Waka.Lego.Icon</AssemblyName>
     <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -32,6 +32,9 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup>
+    <ApplicationIcon>pa.ico</ApplicationIcon>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core" />
@@ -54,6 +57,9 @@
     </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>
@@ -62,6 +68,7 @@
     <Compile Include="Properties\Resources.Designer.cs">
       <AutoGen>True</AutoGen>
       <DependentUpon>Resources.resx</DependentUpon>
+      <DesignTime>True</DesignTime>
     </Compile>
     <None Include="Properties\Settings.settings">
       <Generator>SettingsSingleFileGenerator</Generator>
@@ -76,6 +83,10 @@
   <ItemGroup>
     <None Include="App.config" />
   </ItemGroup>
+  <ItemGroup>
+    <Content Include="pa.ico" />
+    <Content Include="PoliceAcess.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.

BIN
Fork.Net/Waka.Lego.Icon/pa.ico


Fork.Net/Waka.Lego.StringApp/App.config → Fork.Net/Waka.Lego.Music/App.config


+ 6 - 6
Fork.Net/Waka.Lego.CommApp/Form1.Designer.cs

@@ -1,4 +1,4 @@
-namespace Waka.Lego.CommApp
+namespace Waka.Lego.Music
 {
     partial class Form1
     {
@@ -37,18 +37,18 @@
             this.webBrowser1.Location = new System.Drawing.Point(0, 0);
             this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
             this.webBrowser1.Name = "webBrowser1";
-            this.webBrowser1.Size = new System.Drawing.Size(457, 211);
-            this.webBrowser1.TabIndex = 1;
-            this.webBrowser1.Url = new System.Uri("http://www.baidu.com", System.UriKind.Absolute);
+            this.webBrowser1.Size = new System.Drawing.Size(284, 261);
+            this.webBrowser1.TabIndex = 0;
+            this.webBrowser1.Url = new System.Uri("http://fm.baidu.com/", System.UriKind.Absolute);
             // 
             // Form1
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(457, 211);
+            this.ClientSize = new System.Drawing.Size(284, 261);
             this.Controls.Add(this.webBrowser1);
             this.Name = "Form1";
-            this.Text = "CommApp";
+            this.Text = "Form1";
             this.ResumeLayout(false);
 
         }

+ 1 - 1
Fork.Net/Waka.Lego.StringApp/Form1.cs

@@ -8,7 +8,7 @@ using System.Text;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
-namespace Waka.Lego.StringApp
+namespace Waka.Lego.Music
 {
     public partial class Form1 : Form
     {

+ 8 - 5
Fork.Net/Waka.Lego.StringApp/Properties/Resources.resx

@@ -46,7 +46,7 @@
     
     mimetype: application/x-microsoft.net.object.binary.base64
     value   : The object must be serialized with 
-            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
             : and then encoded with base64 encoding.
     
     mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
             : 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:import namespace="http://www.w3.org/XML/1998/namespace" />
     <xsd:element name="root" msdata:IsDataSet="true">
       <xsd:complexType>
         <xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
               <xsd:sequence>
                 <xsd:element name="value" type="xsd:string" minOccurs="0" />
               </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="name" use="required" type="xsd:string" />
               <xsd:attribute name="type" type="xsd:string" />
               <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
             </xsd:complexType>
           </xsd:element>
           <xsd:element name="assembly">
@@ -85,9 +87,10 @@
                 <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="name" type="xsd:string" use="required" msdata:Ordinal="1" />
               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
             </xsd:complexType>
           </xsd:element>
           <xsd:element name="resheader">
@@ -109,9 +112,9 @@
     <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>
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.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>
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
 </root>

+ 1 - 1
Fork.Net/Waka.Lego.StringApp/Program.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
-namespace Waka.Lego.StringApp
+namespace Waka.Lego.Music
 {
     static class Program
     {

+ 3 - 3
Fork.Net/Waka.Lego.StringApp/Properties/AssemblyInfo.cs

@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
 // 有关程序集的一般信息由以下
 // 控制。更改这些特性值可修改
 // 与程序集关联的信息。
-[assembly: AssemblyTitle("Waka.Lego.StringApp")]
+[assembly: AssemblyTitle("Waka.Lego.Music")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Waka.Lego.StringApp")]
+[assembly: AssemblyProduct("Waka.Lego.Music")]
 [assembly: AssemblyCopyright("Copyright ©  2017")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
@@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
 [assembly: ComVisible(false)]
 
 // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
-[assembly: Guid("4c43710a-0bfd-48e2-aa0e-8f9c4ee60d62")]
+[assembly: Guid("b4e47708-0d92-4308-b605-1b9657b308cf")]
 
 // 程序集的版本信息由下列四个值组成: 
 //

+ 2 - 2
Fork.Net/Waka.Lego.CommApp/Properties/Resources.Designer.cs

@@ -8,7 +8,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Waka.Lego.CommApp.Properties
+namespace Waka.Lego.Music.Properties
 {
 
 
@@ -44,7 +44,7 @@ namespace Waka.Lego.CommApp.Properties
             {
                 if ((resourceMan == null))
                 {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Waka.Lego.CommApp.Properties.Resources", typeof(Resources).Assembly);
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Waka.Lego.Music.Properties.Resources", typeof(Resources).Assembly);
                     resourceMan = temp;
                 }
                 return resourceMan;

Fork.Net/Waka.Lego.CommApp/Properties/Resources.resx → Fork.Net/Waka.Lego.Music/Properties/Resources.resx


+ 1 - 1
Fork.Net/Waka.Lego.StringApp/Properties/Settings.Designer.cs

@@ -8,7 +8,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Waka.Lego.StringApp.Properties
+namespace Waka.Lego.Music.Properties
 {
 
 

Fork.Net/Waka.Lego.StringApp/Properties/Settings.settings → Fork.Net/Waka.Lego.Music/Properties/Settings.settings


+ 3 - 3
Fork.Net/Waka.Lego.CommApp/Waka.Lego.CommApp.csproj

@@ -4,11 +4,11 @@
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{77C30089-A99A-45D1-AE60-6F07FCF2DD2D}</ProjectGuid>
+    <ProjectGuid>{B4E47708-0D92-4308-B605-1B9657B308CF}</ProjectGuid>
     <OutputType>WinExe</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Waka.Lego.CommApp</RootNamespace>
-    <AssemblyName>Waka.Lego.CommApp</AssemblyName>
+    <RootNamespace>Waka.Lego.Music</RootNamespace>
+    <AssemblyName>Waka.Lego.Music</AssemblyName>
     <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

+ 0 - 39
Fork.Net/Waka.Lego.StringApp/Form1.Designer.cs

@@ -1,39 +0,0 @@
-namespace Waka.Lego.StringApp
-{
-    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.components = new System.ComponentModel.Container();
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.Text = "Form1";
-        }
-
-        #endregion
-    }
-}
-