Merge branch '2-set-up-the-start-screen-to-choose-project' into 'main'
Resolve "Set up the start screen to choose project" Closes #2 See merge request open-source/dotnet/i18n-commander!2
This commit is contained in:
commit
670da221f5
169
I18N Commander/UI WinForms/Components/LoaderStart.Designer.cs
generated
Normal file
169
I18N Commander/UI WinForms/Components/LoaderStart.Designer.cs
generated
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
namespace UI_WinForms.Components
|
||||||
|
{
|
||||||
|
partial class LoaderStart
|
||||||
|
{
|
||||||
|
/// <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 Component 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()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
this.tableLayout = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.pictureBox = new System.Windows.Forms.PictureBox();
|
||||||
|
this.labelTitle = new System.Windows.Forms.Label();
|
||||||
|
this.flowLayoutButtons = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
|
this.buttonNew = new System.Windows.Forms.Button();
|
||||||
|
this.buttonOpen = new System.Windows.Forms.Button();
|
||||||
|
this.contextMenuRecentProjects = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.tableLayout.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
||||||
|
this.flowLayoutButtons.SuspendLayout();
|
||||||
|
this.contextMenuRecentProjects.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tableLayout
|
||||||
|
//
|
||||||
|
this.tableLayout.ColumnCount = 4;
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 128F));
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 360F));
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||||
|
this.tableLayout.Controls.Add(this.pictureBox, 1, 1);
|
||||||
|
this.tableLayout.Controls.Add(this.labelTitle, 2, 1);
|
||||||
|
this.tableLayout.Controls.Add(this.flowLayoutButtons, 1, 2);
|
||||||
|
this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tableLayout.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.tableLayout.Name = "tableLayout";
|
||||||
|
this.tableLayout.RowCount = 4;
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 128F));
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 66F));
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayout.Size = new System.Drawing.Size(937, 465);
|
||||||
|
this.tableLayout.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// pictureBox
|
||||||
|
//
|
||||||
|
this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.pictureBox.Image = global::UI_WinForms.Resources.Icons.icons8_language_512;
|
||||||
|
this.pictureBox.Location = new System.Drawing.Point(227, 138);
|
||||||
|
this.pictureBox.Name = "pictureBox";
|
||||||
|
this.pictureBox.Size = new System.Drawing.Size(122, 122);
|
||||||
|
this.pictureBox.TabIndex = 0;
|
||||||
|
this.pictureBox.TabStop = false;
|
||||||
|
//
|
||||||
|
// labelTitle
|
||||||
|
//
|
||||||
|
this.labelTitle.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 28F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
this.labelTitle.Location = new System.Drawing.Point(355, 135);
|
||||||
|
this.labelTitle.Name = "labelTitle";
|
||||||
|
this.labelTitle.Size = new System.Drawing.Size(354, 128);
|
||||||
|
this.labelTitle.TabIndex = 1;
|
||||||
|
this.labelTitle.Text = "I18N Commander";
|
||||||
|
this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// flowLayoutButtons
|
||||||
|
//
|
||||||
|
this.tableLayout.SetColumnSpan(this.flowLayoutButtons, 2);
|
||||||
|
this.flowLayoutButtons.Controls.Add(this.buttonNew);
|
||||||
|
this.flowLayoutButtons.Controls.Add(this.buttonOpen);
|
||||||
|
this.flowLayoutButtons.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.flowLayoutButtons.Location = new System.Drawing.Point(224, 263);
|
||||||
|
this.flowLayoutButtons.Margin = new System.Windows.Forms.Padding(0);
|
||||||
|
this.flowLayoutButtons.Name = "flowLayoutButtons";
|
||||||
|
this.flowLayoutButtons.Size = new System.Drawing.Size(488, 66);
|
||||||
|
this.flowLayoutButtons.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// buttonNew
|
||||||
|
//
|
||||||
|
this.buttonNew.Image = global::UI_WinForms.Resources.Icons.icons8_new_window_512;
|
||||||
|
this.buttonNew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.buttonNew.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.buttonNew.Name = "buttonNew";
|
||||||
|
this.buttonNew.Size = new System.Drawing.Size(200, 60);
|
||||||
|
this.buttonNew.TabIndex = 0;
|
||||||
|
this.buttonNew.Text = "New Project";
|
||||||
|
this.buttonNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
this.buttonNew.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonNew.Click += new System.EventHandler(this.buttonNew_Click);
|
||||||
|
//
|
||||||
|
// buttonOpen
|
||||||
|
//
|
||||||
|
this.buttonOpen.Image = global::UI_WinForms.Resources.Icons.icons8_open_file_under_cursor_512;
|
||||||
|
this.buttonOpen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.buttonOpen.Location = new System.Drawing.Point(209, 3);
|
||||||
|
this.buttonOpen.Name = "buttonOpen";
|
||||||
|
this.buttonOpen.Size = new System.Drawing.Size(259, 60);
|
||||||
|
this.buttonOpen.TabIndex = 1;
|
||||||
|
this.buttonOpen.Text = "Open Recent Project";
|
||||||
|
this.buttonOpen.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
this.buttonOpen.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
|
||||||
|
//
|
||||||
|
// contextMenuRecentProjects
|
||||||
|
//
|
||||||
|
this.contextMenuRecentProjects.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
this.contextMenuRecentProjects.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
|
this.contextMenuRecentProjects.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.toolStripMenuItem1});
|
||||||
|
this.contextMenuRecentProjects.Name = "contextMenuRecentProjects";
|
||||||
|
this.contextMenuRecentProjects.Size = new System.Drawing.Size(73, 26);
|
||||||
|
this.contextMenuRecentProjects.Closing += new System.Windows.Forms.ToolStripDropDownClosingEventHandler(this.contextMenuRecentProjects_Closing);
|
||||||
|
//
|
||||||
|
// toolStripMenuItem1
|
||||||
|
//
|
||||||
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(72, 22);
|
||||||
|
//
|
||||||
|
// LoaderStart
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
|
this.Controls.Add(this.tableLayout);
|
||||||
|
this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
this.Name = "LoaderStart";
|
||||||
|
this.Size = new System.Drawing.Size(937, 465);
|
||||||
|
this.tableLayout.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
|
||||||
|
this.flowLayoutButtons.ResumeLayout(false);
|
||||||
|
this.contextMenuRecentProjects.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private TableLayoutPanel tableLayout;
|
||||||
|
private PictureBox pictureBox;
|
||||||
|
private Label labelTitle;
|
||||||
|
private FlowLayoutPanel flowLayoutButtons;
|
||||||
|
private Button buttonNew;
|
||||||
|
private Button buttonOpen;
|
||||||
|
private ContextMenuStrip contextMenuRecentProjects;
|
||||||
|
private ToolStripMenuItem toolStripMenuItem1;
|
||||||
|
}
|
||||||
|
}
|
150
I18N Commander/UI WinForms/Components/LoaderStart.cs
Normal file
150
I18N Commander/UI WinForms/Components/LoaderStart.cs
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
using System.ComponentModel;
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace UI_WinForms.Components;
|
||||||
|
|
||||||
|
[DefaultEvent(nameof(LoadProject))]
|
||||||
|
public partial class LoaderStart : UserControl
|
||||||
|
{
|
||||||
|
private bool areRecentProjectsVisible = false;
|
||||||
|
|
||||||
|
public LoaderStart()
|
||||||
|
{
|
||||||
|
this.InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static RegistryKey I18NCommanderKey => Registry.CurrentUser.OpenSubKey("Software", RegistryKeyPermissionCheck.ReadWriteSubTree)!.CreateSubKey("I18N Commander", RegistryKeyPermissionCheck.ReadWriteSubTree);
|
||||||
|
|
||||||
|
#region Recent Projects
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the list of recent projects without any extras e.g. it does not prune the list of projects.
|
||||||
|
/// </summary>
|
||||||
|
private static List<string> RecentProjects
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
using var regKey = LoaderStart.I18NCommanderKey;
|
||||||
|
var recentProjectsValue = regKey.GetValue("recentProjects");
|
||||||
|
return recentProjectsValue switch
|
||||||
|
{
|
||||||
|
string[] list => new List<string>(list),
|
||||||
|
_ => new List<string>(),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
set
|
||||||
|
{
|
||||||
|
using var regKey = LoaderStart.I18NCommanderKey;
|
||||||
|
regKey.SetValue("recentProjects", value.ToArray(), RegistryValueKind.MultiString);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void UpdateRecentProjectsWithPruning(string latestUsedProjectPath)
|
||||||
|
{
|
||||||
|
var previousRecentList = LoaderStart.RecentProjects;
|
||||||
|
previousRecentList.Insert(0, latestUsedProjectPath);
|
||||||
|
if (previousRecentList.Count > 6)
|
||||||
|
previousRecentList = previousRecentList.Take(6).ToList();
|
||||||
|
|
||||||
|
LoaderStart.RecentProjects = previousRecentList;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private void buttonOpen_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(this.areRecentProjectsVisible)
|
||||||
|
{
|
||||||
|
this.areRecentProjectsVisible = false;
|
||||||
|
this.contextMenuRecentProjects.Close();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var recentProjects = LoaderStart.RecentProjects;
|
||||||
|
this.contextMenuRecentProjects.Items.Clear();
|
||||||
|
this.contextMenuRecentProjects.Items.Add("Browse for project...", Resources.Icons.icons8_browse_folder_512, (innerSender, args) => this.BrowseForProject());
|
||||||
|
foreach (var recentProject in recentProjects)
|
||||||
|
{
|
||||||
|
var fileInfo = new FileInfo(recentProject);
|
||||||
|
var item = this.contextMenuRecentProjects.Items.Add($"{fileInfo.Directory.GetDirectories().Last()}/{fileInfo.Name}", Resources.Icons.icons8_document_512, (innerSender, args) => this.OpenRecentProject(innerSender));
|
||||||
|
item.Tag = recentProject;
|
||||||
|
}
|
||||||
|
|
||||||
|
var button = (sender as Button)!;
|
||||||
|
this.contextMenuRecentProjects.Show(button, 0, button.Height);
|
||||||
|
this.areRecentProjectsVisible = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonNew_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var saveDialog = new SaveFileDialog
|
||||||
|
{
|
||||||
|
AddExtension = true,
|
||||||
|
CheckPathExists = true,
|
||||||
|
CheckFileExists = false,
|
||||||
|
CreatePrompt = false,
|
||||||
|
OverwritePrompt = true,
|
||||||
|
DereferenceLinks = true,
|
||||||
|
DefaultExt = ".i18nc",
|
||||||
|
Filter = "I18N Commander Files (*.i18nc)|*.i18nc",
|
||||||
|
RestoreDirectory = true,
|
||||||
|
Title = "Create a new I18N Commander file",
|
||||||
|
};
|
||||||
|
|
||||||
|
var dialogResult = saveDialog.ShowDialog(this);
|
||||||
|
if (dialogResult != DialogResult.OK)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var destinationFilePath = saveDialog.FileName;
|
||||||
|
LoaderStart.UpdateRecentProjectsWithPruning(destinationFilePath);
|
||||||
|
this.OpenProject(destinationFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BrowseForProject()
|
||||||
|
{
|
||||||
|
var openDialog = new OpenFileDialog
|
||||||
|
{
|
||||||
|
AddExtension = true,
|
||||||
|
CheckPathExists = true,
|
||||||
|
CheckFileExists = true,
|
||||||
|
DereferenceLinks = true,
|
||||||
|
DefaultExt = ".i18nc",
|
||||||
|
Filter = "I18N Commander Files (*.i18nc)|*.i18nc",
|
||||||
|
Multiselect = false,
|
||||||
|
RestoreDirectory = true,
|
||||||
|
Title = "Open an I18N Commander file",
|
||||||
|
};
|
||||||
|
var dialogResult = openDialog.ShowDialog(this);
|
||||||
|
if (dialogResult != DialogResult.OK)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var projectFilePath = openDialog.FileName;
|
||||||
|
LoaderStart.UpdateRecentProjectsWithPruning(projectFilePath);
|
||||||
|
this.OpenProject(projectFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OpenRecentProject(object? sender)
|
||||||
|
{
|
||||||
|
if (sender is not ToolStripItem item)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var path = (item.Tag as string)!;
|
||||||
|
LoaderStart.UpdateRecentProjectsWithPruning(path);
|
||||||
|
this.OpenProject(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OpenProject(string path)
|
||||||
|
{
|
||||||
|
// Hint: the project file might or might not exist (new project vs. recent project)
|
||||||
|
this.LoadProject?.Invoke(this, path);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void contextMenuRecentProjects_Closing(object sender, ToolStripDropDownClosingEventArgs e)
|
||||||
|
{
|
||||||
|
this.areRecentProjectsVisible = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
[Category("Settings"), Description("When the user chooses a project to load.")]
|
||||||
|
public event EventHandler<string>? LoadProject;
|
||||||
|
}
|
63
I18N Commander/UI WinForms/Components/LoaderStart.resx
Normal file
63
I18N Commander/UI WinForms/Components/LoaderStart.resx
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
<root>
|
||||||
|
<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="contextMenuRecentProjects.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
82
I18N Commander/UI WinForms/Loader.Designer.cs
generated
Normal file
82
I18N Commander/UI WinForms/Loader.Designer.cs
generated
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
namespace UI_WinForms
|
||||||
|
{
|
||||||
|
partial class Loader
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
this.tableLayout = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.loaderStart = new UI_WinForms.Components.LoaderStart();
|
||||||
|
this.tableLayout.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tableLayout
|
||||||
|
//
|
||||||
|
this.tableLayout.ColumnCount = 1;
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||||
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||||
|
this.tableLayout.Controls.Add(this.loaderStart, 0, 0);
|
||||||
|
this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tableLayout.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.tableLayout.Name = "tableLayout";
|
||||||
|
this.tableLayout.RowCount = 1;
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||||
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||||
|
this.tableLayout.Size = new System.Drawing.Size(800, 450);
|
||||||
|
this.tableLayout.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// loaderStart
|
||||||
|
//
|
||||||
|
this.loaderStart.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.loaderStart.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
this.loaderStart.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.loaderStart.Name = "loaderStart";
|
||||||
|
this.loaderStart.Size = new System.Drawing.Size(794, 444);
|
||||||
|
this.loaderStart.TabIndex = 0;
|
||||||
|
this.loaderStart.LoadProject += new System.EventHandler<string>(this.loaderStart_LoadProject);
|
||||||
|
//
|
||||||
|
// Loader
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.tableLayout);
|
||||||
|
this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
this.Name = "Loader";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Loader";
|
||||||
|
this.tableLayout.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private TableLayoutPanel tableLayout;
|
||||||
|
private Components.LoaderStart loaderStart;
|
||||||
|
}
|
||||||
|
}
|
15
I18N Commander/UI WinForms/Loader.cs
Normal file
15
I18N Commander/UI WinForms/Loader.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
namespace UI_WinForms;
|
||||||
|
|
||||||
|
public partial class Loader : Form
|
||||||
|
{
|
||||||
|
public Loader()
|
||||||
|
{
|
||||||
|
this.InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void loaderStart_LoadProject(object sender, string projectFilePath)
|
||||||
|
{
|
||||||
|
// TODO: Call the data model
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
60
I18N Commander/UI WinForms/Loader.resx
Normal file
60
I18N Commander/UI WinForms/Loader.resx
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
<root>
|
||||||
|
<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>
|
@ -6,6 +6,12 @@ internal static class Program
|
|||||||
private static void Main()
|
private static void Main()
|
||||||
{
|
{
|
||||||
ApplicationConfiguration.Initialize();
|
ApplicationConfiguration.Initialize();
|
||||||
|
|
||||||
|
// Start the loader screen:
|
||||||
|
var loader = new Loader();
|
||||||
|
Application.Run(loader);
|
||||||
|
|
||||||
|
// Start the main app:
|
||||||
Application.Run(new Main());
|
Application.Run(new Main());
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -59,5 +59,55 @@ namespace UI_WinForms.Resources {
|
|||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_browse_folder_512 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_browse_folder_512", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_document_512 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_document_512", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_language_512 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_language_512", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_new_window_512 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_new_window_512", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_open_file_under_cursor_512 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_open_file_under_cursor_512", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,101 +1,136 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
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.
|
||||||
|
|
||||||
Version 1.3
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
The primary goals of this format is to allow a simple XML format
|
: using a System.ComponentModel.TypeConverter
|
||||||
that is mostly human readable. The generation and parsing of the
|
: and then encoded with base64 encoding.
|
||||||
various data types are done through the TypeConverter classes
|
-->
|
||||||
associated with the data types.
|
<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" />
|
||||||
Example:
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
... ado.net/XML headers & schema ...
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<xsd:element name="metadata">
|
||||||
<resheader name="version">1.3</resheader>
|
<xsd:complexType>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<xsd:sequence>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
<data name="Name1">this is my long string</data>
|
</xsd:sequence>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
[base64 mime encoded serialized .NET Framework object]
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
</data>
|
<xsd:attribute ref="xml:space" />
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
</xsd:complexType>
|
||||||
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
</xsd:element>
|
||||||
</data>
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
There are any number of "resheader" rows that contain simple
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
name/value pairs.
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
Each data row contains a name, and value. The row also contains a
|
</xsd:element>
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
<xsd:element name="data">
|
||||||
text/value conversion through the TypeConverter architecture.
|
<xsd:complexType>
|
||||||
Classes that don't support this are serialized and stored with the
|
<xsd:sequence>
|
||||||
mimetype set.
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
The mimetype is used for serialized objects, and tells the
|
</xsd:sequence>
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
<xsd:attribute ref="xml:space" />
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
</xsd:complexType>
|
||||||
read any of the formats listed below.
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
<xsd:complexType>
|
||||||
value : The object must be serialized with
|
<xsd:sequence>
|
||||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
: and then encoded with base64 encoding.
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
</xsd:complexType>
|
||||||
value : The object must be serialized with
|
</xsd:element>
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
</xsd:choice>
|
||||||
: and then encoded with base64 encoding.
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
</xsd:schema>
|
||||||
value : The object must be serialized into a byte array
|
<resheader name="resmimetype">
|
||||||
: using a System.ComponentModel.TypeConverter
|
<value>text/microsoft-resx</value>
|
||||||
: and then encoded with base64 encoding.
|
</resheader>
|
||||||
-->
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
</resheader>
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<resheader name="reader">
|
||||||
<xsd:complexType>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
</resheader>
|
||||||
<xsd:element name="data">
|
<resheader name="writer">
|
||||||
<xsd:complexType>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
<xsd:sequence>
|
</resheader>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<data name="icons8_browse_folder_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
</xsd:sequence>
|
<value>icons8-browse-folder-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
</data>
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<data name="icons8_document_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<value>icons8-document-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</xsd:complexType>
|
</data>
|
||||||
</xsd:element>
|
<data name="icons8_language_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<xsd:element name="resheader">
|
<value>icons8-language-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
<xsd:complexType>
|
</data>
|
||||||
<xsd:sequence>
|
<data name="icons8_new_window_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<value>icons8-new-window-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</xsd:sequence>
|
</data>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<data name="icons8_open_file_under_cursor_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
</xsd:complexType>
|
<value>icons8-open-file-under-cursor-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</xsd:element>
|
</data>
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>1.3</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
</root>
|
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
I18N Commander/UI WinForms/Resources/icons8-document-512.png
Normal file
BIN
I18N Commander/UI WinForms/Resources/icons8-document-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
I18N Commander/UI WinForms/Resources/icons8-language-512.png
Normal file
BIN
I18N Commander/UI WinForms/Resources/icons8-language-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
BIN
I18N Commander/UI WinForms/Resources/icons8-new-window-512.png
Normal file
BIN
I18N Commander/UI WinForms/Resources/icons8-new-window-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
@ -2,21 +2,18 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net6.0-windows</TargetFramework>
|
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
|
||||||
<RootNamespace>UI_WinForms</RootNamespace>
|
<RootNamespace>UI_WinForms</RootNamespace>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<LangVersion>default</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Processor\Processor.csproj" />
|
<ProjectReference Include="..\Processor\Processor.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Components\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Resources\Icons.Designer.cs">
|
<Compile Update="Resources\Icons.Designer.cs">
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
|
Loading…
Reference in New Issue
Block a user