添加“关于”界面
This commit is contained in:
parent
ae8c1b0c6a
commit
07d3f080d8
105
Form1.Designer.cs
generated
Normal file
105
Form1.Designer.cs
generated
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
namespace QuickLauncher
|
||||||
|
{
|
||||||
|
partial class Form1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||||
|
pictureBox1 = new PictureBox();
|
||||||
|
label1 = new Label();
|
||||||
|
label2 = new Label();
|
||||||
|
label3 = new Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
pictureBox1.BackgroundImage = (Image)resources.GetObject("pictureBox1.BackgroundImage");
|
||||||
|
pictureBox1.Location = new Point(0, 0);
|
||||||
|
pictureBox1.Name = "pictureBox1";
|
||||||
|
pictureBox1.Size = new Size(261, 245);
|
||||||
|
pictureBox1.TabIndex = 0;
|
||||||
|
pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
label1.AutoSize = true;
|
||||||
|
label1.Font = new Font("Microsoft YaHei UI", 14F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
|
label1.Location = new Point(270, 19);
|
||||||
|
label1.Name = "label1";
|
||||||
|
label1.Size = new Size(213, 37);
|
||||||
|
label1.TabIndex = 1;
|
||||||
|
label1.Text = "快速启动工具箱";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
label2.AutoSize = true;
|
||||||
|
label2.Location = new Point(274, 64);
|
||||||
|
label2.Name = "label2";
|
||||||
|
label2.Size = new Size(174, 24);
|
||||||
|
label2.TabIndex = 2;
|
||||||
|
label2.Text = "尚美:2370337237";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
label3.AutoSize = true;
|
||||||
|
label3.Location = new Point(274, 94);
|
||||||
|
label3.Name = "label3";
|
||||||
|
label3.Size = new Size(118, 24);
|
||||||
|
label3.TabIndex = 3;
|
||||||
|
label3.Text = "Version:1.0";
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
AutoValidate = AutoValidate.EnablePreventFocusChange;
|
||||||
|
ClientSize = new Size(658, 244);
|
||||||
|
Controls.Add(label3);
|
||||||
|
Controls.Add(label2);
|
||||||
|
Controls.Add(label1);
|
||||||
|
Controls.Add(pictureBox1);
|
||||||
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||||
|
MaximizeBox = false;
|
||||||
|
MaximumSize = new Size(680, 300);
|
||||||
|
MinimizeBox = false;
|
||||||
|
MinimumSize = new Size(680, 300);
|
||||||
|
Name = "Form1";
|
||||||
|
Text = "关于";
|
||||||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private PictureBox pictureBox1;
|
||||||
|
private Label label1;
|
||||||
|
private Label label2;
|
||||||
|
private Label label3;
|
||||||
|
}
|
||||||
|
}
|
||||||
20
Form1.cs
Normal file
20
Form1.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace QuickLauncher
|
||||||
|
{
|
||||||
|
public partial class Form1: Form
|
||||||
|
{
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2964
Form1.resx
Normal file
2964
Form1.resx
Normal file
File diff suppressed because it is too large
Load Diff
26
MainForm.Designer.cs
generated
26
MainForm.Designer.cs
generated
@ -40,6 +40,7 @@ namespace QuickLauncher
|
|||||||
fileMenu = new ToolStripMenuItem();
|
fileMenu = new ToolStripMenuItem();
|
||||||
addCategoryItem = new ToolStripMenuItem();
|
addCategoryItem = new ToolStripMenuItem();
|
||||||
deleteCategoryItem = new ToolStripMenuItem();
|
deleteCategoryItem = new ToolStripMenuItem();
|
||||||
|
关于ToolStripMenuItem = new ToolStripMenuItem();
|
||||||
rightPanel.SuspendLayout();
|
rightPanel.SuspendLayout();
|
||||||
toolPanel.SuspendLayout();
|
toolPanel.SuspendLayout();
|
||||||
menuStrip.SuspendLayout();
|
menuStrip.SuspendLayout();
|
||||||
@ -53,7 +54,7 @@ namespace QuickLauncher
|
|||||||
leftPanel.Location = new Point(0, 36);
|
leftPanel.Location = new Point(0, 36);
|
||||||
leftPanel.Margin = new Padding(6);
|
leftPanel.Margin = new Padding(6);
|
||||||
leftPanel.Name = "leftPanel";
|
leftPanel.Name = "leftPanel";
|
||||||
leftPanel.Size = new Size(297, 669);
|
leftPanel.Size = new Size(297, 608);
|
||||||
leftPanel.TabIndex = 0;
|
leftPanel.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// rightPanel
|
// rightPanel
|
||||||
@ -65,7 +66,7 @@ namespace QuickLauncher
|
|||||||
rightPanel.Location = new Point(297, 36);
|
rightPanel.Location = new Point(297, 36);
|
||||||
rightPanel.Margin = new Padding(6);
|
rightPanel.Margin = new Padding(6);
|
||||||
rightPanel.Name = "rightPanel";
|
rightPanel.Name = "rightPanel";
|
||||||
rightPanel.Size = new Size(872, 669);
|
rightPanel.Size = new Size(881, 608);
|
||||||
rightPanel.TabIndex = 1;
|
rightPanel.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// shortcutsPanel
|
// shortcutsPanel
|
||||||
@ -78,7 +79,7 @@ namespace QuickLauncher
|
|||||||
shortcutsPanel.Margin = new Padding(6);
|
shortcutsPanel.Margin = new Padding(6);
|
||||||
shortcutsPanel.Name = "shortcutsPanel";
|
shortcutsPanel.Name = "shortcutsPanel";
|
||||||
shortcutsPanel.Padding = new Padding(20);
|
shortcutsPanel.Padding = new Padding(20);
|
||||||
shortcutsPanel.Size = new Size(872, 589);
|
shortcutsPanel.Size = new Size(881, 528);
|
||||||
shortcutsPanel.TabIndex = 1;
|
shortcutsPanel.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// toolPanel
|
// toolPanel
|
||||||
@ -92,7 +93,7 @@ namespace QuickLauncher
|
|||||||
toolPanel.Margin = new Padding(6);
|
toolPanel.Margin = new Padding(6);
|
||||||
toolPanel.Name = "toolPanel";
|
toolPanel.Name = "toolPanel";
|
||||||
toolPanel.Padding = new Padding(15, 10, 15, 10);
|
toolPanel.Padding = new Padding(15, 10, 15, 10);
|
||||||
toolPanel.Size = new Size(872, 80);
|
toolPanel.Size = new Size(881, 80);
|
||||||
toolPanel.TabIndex = 0;
|
toolPanel.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
@ -101,7 +102,7 @@ namespace QuickLauncher
|
|||||||
button1.BackColor = Color.FromArgb(0, 120, 212);
|
button1.BackColor = Color.FromArgb(0, 120, 212);
|
||||||
button1.FlatStyle = FlatStyle.Flat;
|
button1.FlatStyle = FlatStyle.Flat;
|
||||||
button1.ForeColor = Color.White;
|
button1.ForeColor = Color.White;
|
||||||
button1.Location = new Point(744, 16);
|
button1.Location = new Point(775, 3);
|
||||||
button1.Margin = new Padding(6);
|
button1.Margin = new Padding(6);
|
||||||
button1.Name = "button1";
|
button1.Name = "button1";
|
||||||
button1.Size = new Size(107, 39);
|
button1.Size = new Size(107, 39);
|
||||||
@ -138,11 +139,11 @@ namespace QuickLauncher
|
|||||||
//
|
//
|
||||||
menuStrip.BackColor = Color.FromArgb(230, 230, 230);
|
menuStrip.BackColor = Color.FromArgb(230, 230, 230);
|
||||||
menuStrip.ImageScalingSize = new Size(24, 24);
|
menuStrip.ImageScalingSize = new Size(24, 24);
|
||||||
menuStrip.Items.AddRange(new ToolStripItem[] { fileMenu });
|
menuStrip.Items.AddRange(new ToolStripItem[] { fileMenu, 关于ToolStripMenuItem });
|
||||||
menuStrip.Location = new Point(0, 0);
|
menuStrip.Location = new Point(0, 0);
|
||||||
menuStrip.Name = "menuStrip";
|
menuStrip.Name = "menuStrip";
|
||||||
menuStrip.Padding = new Padding(11, 4, 0, 4);
|
menuStrip.Padding = new Padding(11, 4, 0, 4);
|
||||||
menuStrip.Size = new Size(1169, 36);
|
menuStrip.Size = new Size(1178, 36);
|
||||||
menuStrip.TabIndex = 2;
|
menuStrip.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// fileMenu
|
// fileMenu
|
||||||
@ -166,17 +167,25 @@ namespace QuickLauncher
|
|||||||
deleteCategoryItem.Text = "删除当前分类";
|
deleteCategoryItem.Text = "删除当前分类";
|
||||||
deleteCategoryItem.Click += DeleteCategory_Click;
|
deleteCategoryItem.Click += DeleteCategory_Click;
|
||||||
//
|
//
|
||||||
|
// 关于ToolStripMenuItem
|
||||||
|
//
|
||||||
|
关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
||||||
|
关于ToolStripMenuItem.Size = new Size(62, 28);
|
||||||
|
关于ToolStripMenuItem.Text = "关于";
|
||||||
|
关于ToolStripMenuItem.Click += 关于ToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(11F, 24F);
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(1169, 705);
|
ClientSize = new Size(1178, 644);
|
||||||
Controls.Add(rightPanel);
|
Controls.Add(rightPanel);
|
||||||
Controls.Add(leftPanel);
|
Controls.Add(leftPanel);
|
||||||
Controls.Add(menuStrip);
|
Controls.Add(menuStrip);
|
||||||
Icon = (Icon)resources.GetObject("$this.Icon");
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||||
MainMenuStrip = menuStrip;
|
MainMenuStrip = menuStrip;
|
||||||
Margin = new Padding(6);
|
Margin = new Padding(6);
|
||||||
|
MinimumSize = new Size(1200, 700);
|
||||||
Name = "MainForm";
|
Name = "MainForm";
|
||||||
StartPosition = FormStartPosition.CenterScreen;
|
StartPosition = FormStartPosition.CenterScreen;
|
||||||
Text = "快捷启动工具箱";
|
Text = "快捷启动工具箱";
|
||||||
@ -202,5 +211,6 @@ namespace QuickLauncher
|
|||||||
private System.Windows.Forms.ToolStripMenuItem addCategoryItem;
|
private System.Windows.Forms.ToolStripMenuItem addCategoryItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem deleteCategoryItem;
|
private System.Windows.Forms.ToolStripMenuItem deleteCategoryItem;
|
||||||
private Button button1;
|
private Button button1;
|
||||||
|
private ToolStripMenuItem 关于ToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
35
MainForm.cs
35
MainForm.cs
@ -1187,24 +1187,24 @@ namespace QuickLauncher
|
|||||||
// TextFormatFlags.WordBreak: 允许在单词间换行
|
// TextFormatFlags.WordBreak: 允许在单词间换行
|
||||||
// TextFormatFlags.TextBoxControl: 使用文本框的文本渲染规则
|
// TextFormatFlags.TextBoxControl: 使用文本框的文本渲染规则
|
||||||
// .Height + 10: 获取计算出的高度并额外添加10像素的边距
|
// .Height + 10: 获取计算出的高度并额外添加10像素的边距
|
||||||
var textHeight = TextRenderer.MeasureText(item.Name, new Font("Microsoft YaHei", 8), new Size(panel.Width, 0), TextFormatFlags.WordBreak | TextFormatFlags.TextBoxControl).Height+10;
|
var textHeight = TextRenderer.MeasureText(item.Name, new Font("Microsoft YaHei", 8), new Size(panel.Width, 0), TextFormatFlags.WordBreak | TextFormatFlags.TextBoxControl).Height + 10;
|
||||||
|
|
||||||
label.Text = item.Name; // 设置显示的文本内容
|
label.Text = item.Name; // 设置显示的文本内容
|
||||||
label.AutoSize = false; // 禁用自动尺寸调整
|
label.AutoSize = false; // 禁用自动尺寸调整
|
||||||
label.TextAlign = HorizontalAlignment.Center; // 文本水平居中对齐
|
label.TextAlign = HorizontalAlignment.Center; // 文本水平居中对齐
|
||||||
label.MinimumSize = new Size(panel.Width, 30); // 设置最小尺寸
|
label.MinimumSize = new Size(panel.Width, 30); // 设置最小尺寸
|
||||||
label.MaximumSize = new Size(panelWidth, 0); // 设置最大宽度,高度不限
|
label.MaximumSize = new Size(panelWidth, 0); // 设置最大宽度,高度不限
|
||||||
label.Location = new Point(0, iconSize + 20); // 设置位置(在图标下方10像素)
|
label.Location = new Point(0, iconSize + 20); // 设置位置(在图标下方10像素)
|
||||||
label.Tag = item; // 存储关联的数据项
|
label.Tag = item; // 存储关联的数据项
|
||||||
label.Cursor = Cursors.Hand; // 鼠标悬停时显示手型光标
|
label.Cursor = Cursors.Hand; // 鼠标悬停时显示手型光标
|
||||||
label.ForeColor = isDarkMode ? Color.FromArgb(240, 240, 240) : Color.FromArgb(20, 20, 20); // 根据暗/亮模式设置文字颜色
|
label.ForeColor = isDarkMode ? Color.FromArgb(240, 240, 240) : Color.FromArgb(20, 20, 20); // 根据暗/亮模式设置文字颜色
|
||||||
label.Padding = new Padding(0); // 设置内边距为2像素
|
label.Padding = new Padding(0); // 设置内边距为2像素
|
||||||
label.Font = new Font("Microsoft YaHei", 8); // 设置字体为微软雅黑8号
|
label.Font = new Font("Microsoft YaHei", 8); // 设置字体为微软雅黑8号
|
||||||
label.Multiline = true; // 启用多行显示
|
label.Multiline = true; // 启用多行显示
|
||||||
label.ReadOnly = true; // 设置为只读,防止编辑
|
label.ReadOnly = true; // 设置为只读,防止编辑
|
||||||
label.BorderStyle = BorderStyle.None; // 移除边框
|
label.BorderStyle = BorderStyle.None; // 移除边框
|
||||||
label.BackColor = panel.BackColor; // 背景色与面板一致
|
label.BackColor = panel.BackColor; // 背景色与面板一致
|
||||||
label.Height = textHeight; // 应用计算出的高度
|
label.Height = textHeight; // 应用计算出的高度
|
||||||
|
|
||||||
// 将图标和文本框添加到面板中
|
// 将图标和文本框添加到面板中
|
||||||
panel.Controls.Add(icon); // 添加图标控件
|
panel.Controls.Add(icon); // 添加图标控件
|
||||||
@ -1603,6 +1603,13 @@ namespace QuickLauncher
|
|||||||
else
|
else
|
||||||
ChangeTheme(false);
|
ChangeTheme(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Form1 form1 = new Form1();
|
||||||
|
form1.StartPosition = FormStartPosition.CenterParent;
|
||||||
|
form1.ShowDialog(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ShortcutItem
|
public class ShortcutItem
|
||||||
|
|||||||
63
Properties/Resources.Designer.cs
generated
Normal file
63
Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
// 运行时版本:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
|
// 重新生成代码,这些更改将会丢失。
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace QuickLauncher.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||||
|
/// </summary>
|
||||||
|
// 此类是由 StronglyTypedResourceBuilder
|
||||||
|
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||||
|
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||||
|
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources {
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
|
get {
|
||||||
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("QuickLauncher.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 重写当前线程的 CurrentUICulture 属性,对
|
||||||
|
/// 使用此强类型资源类的所有资源查找执行重写。
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
|
get {
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Properties/Resources.resx
Normal file
120
Properties/Resources.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?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>
|
||||||
|
</root>
|
||||||
BIN
Truice_Icon.png
Normal file
BIN
Truice_Icon.png
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user