Skip to content

Commit

Permalink
提交1.1.0.2版本
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxinhui02 committed Feb 10, 2020
1 parent 60b64cf commit 333c4a8
Show file tree
Hide file tree
Showing 73 changed files with 94,227 additions and 0 deletions.
Binary file added .vs/我的Miku-副本/v15/.suo
Binary file not shown.
Empty file.
Binary file not shown.
Binary file added .vs/我的Miku/v15/.suo
Binary file not shown.
Empty file.
Binary file added .vs/我的Miku/v15/Server/sqlite3/storage.ide
Binary file not shown.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 zhangxinhui02

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 我的Miku / MyMiku
版本:1.1.0.2
作者:张鑫辉(GitHub:zhangxinhui02)
运行平台:Windows XP以上
运行框架:.Net Framework 4.0
开发语言:C#
开发环境:Visual Studio 2017
程序打包:Inno Setup

简介:一个桌面助手程序,集成了一些实用工具。

**请保证计算机上安装有Microsoft .Net Framework 4.0框架,否则程序无法正常运行。**

安装程序下载链接:https://github.com/zhangxinhui02/MyMiku/releases/download/1.1.0.2/MyMiku1.1.0.2.exe。

查看源代码:https://github.com/zhangxinhui02/MyMiku。

程序部分代码尚未编写完成,程序内的网址已停止维护,请转至https://zhangxinhui02.github.io/MyMiku和https://zhangxinhui02.github.io/MyMiku.html关注。

Microsoft .Net Framework 4.0下载链接:
https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=17718

第34届宁夏青少年科技创新大赛参赛作品。
因为是初学,代码质量非常差,只是实现了基本的功能。
以后应该还会继续开发。

**本程序依据MIT协议开源。**
2020-02-10
31 changes: 31 additions & 0 deletions 我的Miku-副本.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2024
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "我的Miku", "我的Miku\我的Miku.csproj", "{A48CE200-79AB-455D-B5CB-4762AA009F60}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Debug|x86.ActiveCfg = Debug|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Debug|x86.Build.0 = Debug|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Release|Any CPU.Build.0 = Release|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Release|x86.ActiveCfg = Release|Any CPU
{A48CE200-79AB-455D-B5CB-4762AA009F60}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4DFB0722-9BCE-4F44-B614-FB2A655A0DCC}
EndGlobalSection
EndGlobal
123 changes: 123 additions & 0 deletions 我的Miku/EYE.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?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>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
62 changes: 62 additions & 0 deletions 我的Miku/IniFiles.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;

namespace 我的Miku
{
public class IniFiles
{
public string inipath;

//声明API函数

[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
/// <summary>
/// 构造方法
/// </summary>
/// <param name="INIPath">文件路径</param>
public IniFiles(string INIPath)
{
inipath = INIPath;
}

public IniFiles() { }

/// <summary>
/// 写入INI文件
/// </summary>
/// <param name="Section">项目名称(如 [TypeName] )</param>
/// <param name="Key">键</param>
/// <param name="Value">值</param>
public void IniWriteValue(string Section, string Key, string Value)
{
WritePrivateProfileString(Section, Key, Value, this.inipath);
}
/// <summary>
/// 读出INI文件
/// </summary>
/// <param name="Section">项目名称(如 [TypeName] )</param>
/// <param name="Key">键</param>
public string IniReadValue(string Section, string Key)
{
StringBuilder temp = new StringBuilder(500);
int i = GetPrivateProfileString(Section, Key, "", temp, 500, this.inipath);
return temp.ToString();
}
/// <summary>
/// 验证文件是否存在
/// </summary>
/// <returns>布尔值</returns>
public bool ExistINIFile()
{
return File.Exists(inipath);
}
}
}
33 changes: 33 additions & 0 deletions 我的Miku/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Security.Principal;
using System.Windows.Forms;
using System.Threading;

namespace 我的Miku
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
new Thread(new ThreadStart(Warning)).Start();

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new 主窗体());

}
static void Warning()
{
MessageBox.Show(" 程序部分代码暂时没有编写完成,将于大赛正式开始前完成。在编写期间随时有可能更新程序到http://mikumikumi.xyz:520/MyMiku.exe,敬请关注,更新日志请在http://mikumikumi.xyz:520/mikulog.html查看。");
}

}
}
36 changes: 36 additions & 0 deletions 我的Miku/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("我的Miku")]
[assembly: AssemblyDescription("第34届全国青少年科技创新大赛作品\r\n运行系统:Windows 7以上\r\n运行框架:.Net Framework 4\r\n开发语言:C#\r\n开发环境:Visual Studio 2017\r\n程序打包:Inno Setup\r\n严禁抄袭")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("作者:张鑫辉(宁夏固原市第一中学)")]
[assembly: AssemblyProduct("我的Miku")]
[assembly: AssemblyCopyright("张鑫辉(宁夏固原市第一中学) 第34届全国青少年科技创新大赛作品")]
[assembly: AssemblyTrademark("我的Miku 第34届全国青少年科技创新大赛作品")]
[assembly: AssemblyCulture("")]

// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]

// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("a48ce200-79ab-455d-b5cb-4762aa009f60")]

// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.2")]
[assembly: AssemblyFileVersion("1.1.0.2")]
Loading

0 comments on commit 333c4a8

Please sign in to comment.