新增加一个UI

This commit is contained in:
chenjiangqun
2026-04-23 16:05:23 +08:00
parent d4c20bdb85
commit 67cbf34138
14 changed files with 350 additions and 190 deletions

View File

@@ -1,94 +0,0 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|d:\\code\\c#\\msi\\dp\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\win10_winisp_srccode_for_moka_20250416_1\\winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\winisp\\baseclass\\graphiccardi2cctrl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\baseclass\\graphiccardi2cctrl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 7,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
},
{
"$type": "Bookmark",
"Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
},
{
"$type": "Bookmark",
"Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{6324226f-61b6-4f28-92ee-18d4b5fe1e48}"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "GraphicCardI2CCtrl.cs",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"RelativeDocumentMoniker": "WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"RelativeToolTip": "WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"ViewState": "AgIAAEIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:59:00.721Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "frmISP.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs",
"RelativeDocumentMoniker": "WinISP\\frmISP.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs [\u8BBE\u8BA1]*",
"RelativeToolTip": "WinISP\\frmISP.cs [\u8BBE\u8BA1]*",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:57:00.325Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "frmISP.cs",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs",
"RelativeDocumentMoniker": "WinISP\\frmISP.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs*",
"RelativeToolTip": "WinISP\\frmISP.cs*",
"ViewState": "AgIAAKIGAAAAAAAAAAAswKwGAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:52:33.123Z",
"EditorCaption": ""
}
]
}
]
}
]
}

View File

@@ -1,94 +0,0 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|d:\\code\\c#\\msi\\dp\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\win10_winisp_srccode_for_moka_20250416_1\\winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\frmisp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\winisp\\baseclass\\graphiccardi2cctrl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{033DCDDE-510B-46E8-8F6E-6BBEB8681D7E}|WinISP\\WinISP.csproj|solutionrelative:winisp\\baseclass\\graphiccardi2cctrl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 7,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
},
{
"$type": "Bookmark",
"Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
},
{
"$type": "Bookmark",
"Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{6324226f-61b6-4f28-92ee-18d4b5fe1e48}"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "GraphicCardI2CCtrl.cs",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"RelativeDocumentMoniker": "WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"RelativeToolTip": "WinISP\\BaseClass\\GraphicCardI2CCtrl.cs",
"ViewState": "AgIAAEIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:59:00.721Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "frmISP.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs",
"RelativeDocumentMoniker": "WinISP\\frmISP.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "WinISP\\frmISP.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:57:00.325Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "frmISP.cs",
"DocumentMoniker": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs",
"RelativeDocumentMoniker": "WinISP\\frmISP.cs",
"ToolTip": "D:\\Code\\C#\\MSI\\DP\u5347\u7EA7\u5F00\u53D1\u8D44\u6599\\WIN10_WinISP_SrcCode_For_MOKA_20250416_1\\WinISP\\frmISP.cs",
"RelativeToolTip": "WinISP\\frmISP.cs",
"ViewState": "AgIAAKIGAAAAAAAAAAAswKwGAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-10T03:52:33.123Z",
"EditorCaption": ""
}
]
}
]
}
]
}

View File

@@ -0,0 +1,164 @@
namespace WinISP
{
partial class FormISP_MSI
{
/// <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(FormISP_MSI));
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.tsslIspStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslFilePath = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslFileSize = new System.Windows.Forms.ToolStripStatusLabel();
this.prbProgress = new System.Windows.Forms.ProgressBar();
this.btnAuto = new System.Windows.Forms.Button();
this.btnLoadFile = new System.Windows.Forms.Button();
this.lblStatus = new System.Windows.Forms.Label();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsslIspStatus,
this.tsslFilePath,
this.tsslFileSize});
this.statusStrip1.Location = new System.Drawing.Point(0, 257);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(914, 26);
this.statusStrip1.TabIndex = 0;
this.statusStrip1.Text = "statusStrip1";
//
// tsslIspStatus
//
this.tsslIspStatus.AutoSize = false;
this.tsslIspStatus.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.tsslIspStatus.Name = "tsslIspStatus";
this.tsslIspStatus.Size = new System.Drawing.Size(150, 21);
this.tsslIspStatus.Text = "ISP OFF";
//
// tsslFilePath
//
this.tsslFilePath.AutoSize = false;
this.tsslFilePath.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.tsslFilePath.Name = "tsslFilePath";
this.tsslFilePath.Size = new System.Drawing.Size(650, 21);
this.tsslFilePath.Text = "Not File Load";
//
// tsslFileSize
//
this.tsslFileSize.AutoSize = false;
this.tsslFileSize.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.tsslFileSize.Name = "tsslFileSize";
this.tsslFileSize.Size = new System.Drawing.Size(100, 21);
this.tsslFileSize.Text = "Empty";
//
// prbProgress
//
this.prbProgress.Dock = System.Windows.Forms.DockStyle.Bottom;
this.prbProgress.Location = new System.Drawing.Point(0, 234);
this.prbProgress.Name = "prbProgress";
this.prbProgress.Size = new System.Drawing.Size(914, 23);
this.prbProgress.TabIndex = 1;
//
// btnAuto
//
this.btnAuto.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAuto.Image = ((System.Drawing.Image)(resources.GetObject("btnAuto.Image")));
this.btnAuto.Location = new System.Drawing.Point(0, 0);
this.btnAuto.Name = "btnAuto";
this.btnAuto.Size = new System.Drawing.Size(166, 66);
this.btnAuto.TabIndex = 2;
this.btnAuto.Text = "Auto";
this.btnAuto.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnAuto.UseVisualStyleBackColor = true;
//
// btnLoadFile
//
this.btnLoadFile.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnLoadFile.Image = ((System.Drawing.Image)(resources.GetObject("btnLoadFile.Image")));
this.btnLoadFile.Location = new System.Drawing.Point(0, 65);
this.btnLoadFile.Name = "btnLoadFile";
this.btnLoadFile.Size = new System.Drawing.Size(166, 66);
this.btnLoadFile.TabIndex = 2;
this.btnLoadFile.Text = "Load File";
this.btnLoadFile.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnLoadFile.UseVisualStyleBackColor = true;
this.btnLoadFile.Click += new System.EventHandler(this.btnLoadFile_Click);
//
// lblStatus
//
this.lblStatus.AutoSize = true;
this.lblStatus.Location = new System.Drawing.Point(12, 219);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(35, 12);
this.lblStatus.TabIndex = 3;
this.lblStatus.Text = " ";
//
// FormISP_MSI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(914, 283);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.btnLoadFile);
this.Controls.Add(this.btnAuto);
this.Controls.Add(this.prbProgress);
this.Controls.Add(this.statusStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "FormISP_MSI";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MSI Firmware Update Utility";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormISP_MSI_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormISP_MSI_FormClosed);
this.Load += new System.EventHandler(this.FormISP_MSI_Load);
this.Shown += new System.EventHandler(this.FormISP_MSI_Shown);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel tsslIspStatus;
private System.Windows.Forms.ToolStripStatusLabel tsslFilePath;
private System.Windows.Forms.ToolStripStatusLabel tsslFileSize;
private System.Windows.Forms.ProgressBar prbProgress;
private System.Windows.Forms.Button btnAuto;
private System.Windows.Forms.Button btnLoadFile;
private System.Windows.Forms.Label lblStatus;
}
}

View File

@@ -0,0 +1,40 @@
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 WinISP
{
public partial class FormISP_MSI : Form
{
public FormISP_MSI()
{
InitializeComponent();
}
private void FormISP_MSI_Load(object sender, System.EventArgs e)
{
}
private void FormISP_MSI_Shown(object sender, System.EventArgs e)
{
}
private void FormISP_MSI_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void FormISP_MSI_FormClosed(object sender, FormClosedEventArgs e)
{
}
private void btnLoadFile_Click(object sender, System.EventArgs e)
{
}
}
}

View File

@@ -0,0 +1,133 @@
<?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="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="btnAuto.Image" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Img\btnAuto.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="btnLoadFile.Image" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Img\btnLoadFile.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="$this.Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Img\logo.Icon;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -18,7 +18,7 @@ namespace WinISP
Application.SetCompatibleTextRenderingDefault(false);
Application.ApplicationExit += Application_ApplicationExit;
{
Application.Run(new frmISP());
Application.Run(new FormISP_MSI());
}
}
public static bool IsManagedAssembly(string fileName)

View File

@@ -100,6 +100,12 @@
<Compile Include="BaseClass\MTKDebugCmd.cs" />
<Compile Include="BaseClass\SimI2CCtrl.cs" />
<Compile Include="BaseClass\WinIOLib.cs" />
<Compile Include="FormISP_MSI.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FormISP_MSI.Designer.cs">
<DependentUpon>FormISP_MSI.cs</DependentUpon>
</Compile>
<Compile Include="frmISP.cs">
<SubType>Form</SubType>
</Compile>
@@ -108,6 +114,9 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FormISP_MSI.resx">
<DependentUpon>FormISP_MSI.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmISP.resx">
<DependentUpon>frmISP.cs</DependentUpon>
</EmbeddedResource>
@@ -166,7 +175,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Folder Include="Img\" />
</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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB