Add option for confirming delete.
This commit is contained in:
parent
63bcd8170d
commit
1d0193a393
Binary file not shown.
26
QueueSys/Properties/Settings.Designer.cs
generated
26
QueueSys/Properties/Settings.Designer.cs
generated
@ -8,23 +8,31 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace QueueSys.Properties
|
||||
{
|
||||
namespace QueueSys.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ConfirmDelete {
|
||||
get {
|
||||
return ((bool)(this["ConfirmDelete"]));
|
||||
}
|
||||
set {
|
||||
this["ConfirmDelete"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="QueueSys.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="ConfirmDelete" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
@ -58,6 +58,12 @@
|
||||
<Compile Include="frmEmployeeView.Designer.cs">
|
||||
<DependentUpon>frmEmployeeView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmOptions.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmOptions.Designer.cs">
|
||||
<DependentUpon>frmOptions.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="frmCustomerView.resx">
|
||||
@ -66,6 +72,9 @@
|
||||
<EmbeddedResource Include="frmEmployeeView.resx">
|
||||
<DependentUpon>frmEmployeeView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmOptions.resx">
|
||||
<DependentUpon>frmOptions.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
@ -1,6 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="QueueSys.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<QueueSys.Properties.Settings>
|
||||
<setting name="ConfirmDelete" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</QueueSys.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
93
QueueSys/frmEmployeeView.Designer.cs
generated
93
QueueSys/frmEmployeeView.Designer.cs
generated
@ -28,7 +28,6 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.lblCustomerName = new System.Windows.Forms.Label();
|
||||
this.lblNumBags = new System.Windows.Forms.Label();
|
||||
this.lblEmployeeName = new System.Windows.Forms.Label();
|
||||
@ -36,42 +35,50 @@
|
||||
this.cbNumBags = new System.Windows.Forms.ComboBox();
|
||||
this.cbEmployeeName = new System.Windows.Forms.ComboBox();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exitAltF4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblCustomerName
|
||||
//
|
||||
this.lblCustomerName.AutoSize = true;
|
||||
this.lblCustomerName.Location = new System.Drawing.Point(12, 50);
|
||||
this.lblCustomerName.Location = new System.Drawing.Point(18, 77);
|
||||
this.lblCustomerName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblCustomerName.Name = "lblCustomerName";
|
||||
this.lblCustomerName.Size = new System.Drawing.Size(82, 13);
|
||||
this.lblCustomerName.Size = new System.Drawing.Size(124, 20);
|
||||
this.lblCustomerName.TabIndex = 0;
|
||||
this.lblCustomerName.Text = "Customer Name";
|
||||
//
|
||||
// lblNumBags
|
||||
//
|
||||
this.lblNumBags.AutoSize = true;
|
||||
this.lblNumBags.Location = new System.Drawing.Point(217, 50);
|
||||
this.lblNumBags.Location = new System.Drawing.Point(326, 77);
|
||||
this.lblNumBags.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblNumBags.Name = "lblNumBags";
|
||||
this.lblNumBags.Size = new System.Drawing.Size(53, 13);
|
||||
this.lblNumBags.Size = new System.Drawing.Size(77, 20);
|
||||
this.lblNumBags.TabIndex = 1;
|
||||
this.lblNumBags.Text = "# of Bags";
|
||||
//
|
||||
// lblEmployeeName
|
||||
//
|
||||
this.lblEmployeeName.AutoSize = true;
|
||||
this.lblEmployeeName.Location = new System.Drawing.Point(358, 50);
|
||||
this.lblEmployeeName.Location = new System.Drawing.Point(537, 77);
|
||||
this.lblEmployeeName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblEmployeeName.Name = "lblEmployeeName";
|
||||
this.lblEmployeeName.Size = new System.Drawing.Size(84, 13);
|
||||
this.lblEmployeeName.Size = new System.Drawing.Size(125, 20);
|
||||
this.lblEmployeeName.TabIndex = 2;
|
||||
this.lblEmployeeName.Text = "Employee Name";
|
||||
//
|
||||
// tbCustomerName
|
||||
//
|
||||
this.tbCustomerName.Location = new System.Drawing.Point(15, 76);
|
||||
this.tbCustomerName.Location = new System.Drawing.Point(22, 117);
|
||||
this.tbCustomerName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbCustomerName.MaxLength = 255;
|
||||
this.tbCustomerName.Name = "tbCustomerName";
|
||||
this.tbCustomerName.Size = new System.Drawing.Size(153, 20);
|
||||
this.tbCustomerName.Size = new System.Drawing.Size(228, 26);
|
||||
this.tbCustomerName.TabIndex = 1;
|
||||
//
|
||||
// cbNumBags
|
||||
@ -83,39 +90,72 @@
|
||||
"3",
|
||||
"4",
|
||||
"5"});
|
||||
this.cbNumBags.Location = new System.Drawing.Point(190, 75);
|
||||
this.cbNumBags.Location = new System.Drawing.Point(285, 115);
|
||||
this.cbNumBags.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.cbNumBags.MaxDropDownItems = 5;
|
||||
this.cbNumBags.Name = "cbNumBags";
|
||||
this.cbNumBags.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbNumBags.Size = new System.Drawing.Size(180, 28);
|
||||
this.cbNumBags.TabIndex = 2;
|
||||
//
|
||||
// cbEmployeeName
|
||||
//
|
||||
this.cbEmployeeName.FormattingEnabled = true;
|
||||
this.cbEmployeeName.Location = new System.Drawing.Point(344, 75);
|
||||
this.cbEmployeeName.Location = new System.Drawing.Point(516, 115);
|
||||
this.cbEmployeeName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.cbEmployeeName.Name = "cbEmployeeName";
|
||||
this.cbEmployeeName.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbEmployeeName.Size = new System.Drawing.Size(180, 28);
|
||||
this.cbEmployeeName.TabIndex = 3;
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Location = new System.Drawing.Point(502, 73);
|
||||
this.btnAdd.Location = new System.Drawing.Point(753, 112);
|
||||
this.btnAdd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnAdd.Size = new System.Drawing.Size(112, 35);
|
||||
this.btnAdd.TabIndex = 4;
|
||||
this.btnAdd.Text = "Add";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
// menuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
|
||||
this.menuStrip1.GripMargin = new System.Windows.Forms.Padding(2, 2, 0, 2);
|
||||
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(882, 33);
|
||||
this.menuStrip1.TabIndex = 5;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.optionsToolStripMenuItem,
|
||||
this.exitAltF4ToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 29);
|
||||
this.fileToolStripMenuItem.Text = "&File";
|
||||
//
|
||||
// optionsToolStripMenuItem
|
||||
//
|
||||
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
||||
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
|
||||
this.optionsToolStripMenuItem.Text = "Options";
|
||||
this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click);
|
||||
//
|
||||
// exitAltF4ToolStripMenuItem
|
||||
//
|
||||
this.exitAltF4ToolStripMenuItem.Name = "exitAltF4ToolStripMenuItem";
|
||||
this.exitAltF4ToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
|
||||
this.exitAltF4ToolStripMenuItem.Text = "E&xit (Alt-F4)";
|
||||
this.exitAltF4ToolStripMenuItem.Click += new System.EventHandler(this.exitAltF4ToolStripMenuItem_Click);
|
||||
//
|
||||
// frmEmployeeView
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(588, 450);
|
||||
this.ClientSize = new System.Drawing.Size(882, 692);
|
||||
this.Controls.Add(this.btnAdd);
|
||||
this.Controls.Add(this.cbEmployeeName);
|
||||
this.Controls.Add(this.cbNumBags);
|
||||
@ -123,9 +163,13 @@
|
||||
this.Controls.Add(this.lblEmployeeName);
|
||||
this.Controls.Add(this.lblNumBags);
|
||||
this.Controls.Add(this.lblCustomerName);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.Name = "frmEmployeeView";
|
||||
this.Text = "Queue System";
|
||||
this.Load += new System.EventHandler(this.frmEmployeeView_Load);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@ -140,7 +184,10 @@
|
||||
private System.Windows.Forms.ComboBox cbNumBags;
|
||||
private System.Windows.Forms.ComboBox cbEmployeeName;
|
||||
private System.Windows.Forms.Button btnAdd;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exitAltF4ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,10 +17,23 @@ namespace QueueSys
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
/* Execute when program / main form loads.
|
||||
* Pop up the customer view screen to drag onto second monitor */
|
||||
private void frmEmployeeView_Load(object sender, EventArgs e)
|
||||
{
|
||||
Form frm = new frmCustomerView();
|
||||
frm.Show();
|
||||
}
|
||||
|
||||
/* Enable options menu. */
|
||||
private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form frm = new frmOptions();
|
||||
frm.Show();
|
||||
frm.Activate();
|
||||
}
|
||||
|
||||
// Exits the application.
|
||||
private void exitAltF4ToolStripMenuItem_Click(object sender, EventArgs e) => Application.Exit();
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
93
QueueSys/frmOptions.Designer.cs
generated
Normal file
93
QueueSys/frmOptions.Designer.cs
generated
Normal file
@ -0,0 +1,93 @@
|
||||
namespace QueueSys
|
||||
{
|
||||
partial class frmOptions
|
||||
{
|
||||
/// <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.cbConfirmDelete = new System.Windows.Forms.CheckBox();
|
||||
this.btnSaveClose = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cbConfirmDelete
|
||||
//
|
||||
this.cbConfirmDelete.AutoSize = true;
|
||||
|
||||
// Toggle the checkbox based on the confirmdelete option.
|
||||
switch(Properties.Settings.Default.ConfirmDelete)
|
||||
{
|
||||
case true:
|
||||
{
|
||||
this.cbConfirmDelete.Checked = true;
|
||||
this.cbConfirmDelete.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
break;
|
||||
}
|
||||
case false:
|
||||
{
|
||||
this.cbConfirmDelete.Checked = false;
|
||||
this.cbConfirmDelete.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
this.cbConfirmDelete.Location = new System.Drawing.Point(13, 31);
|
||||
this.cbConfirmDelete.Name = "cbConfirmDelete";
|
||||
this.cbConfirmDelete.Size = new System.Drawing.Size(355, 24);
|
||||
this.cbConfirmDelete.TabIndex = 0;
|
||||
this.cbConfirmDelete.Text = "Confirm deleting customer from active bag list";
|
||||
this.cbConfirmDelete.UseVisualStyleBackColor = true;
|
||||
this.cbConfirmDelete.CheckedChanged += new System.EventHandler(this.cbConfirmDelete_CheckedChanged);
|
||||
//
|
||||
// btnSaveClose
|
||||
//
|
||||
this.btnSaveClose.Location = new System.Drawing.Point(12, 72);
|
||||
this.btnSaveClose.Name = "btnSaveClose";
|
||||
this.btnSaveClose.Size = new System.Drawing.Size(169, 38);
|
||||
this.btnSaveClose.TabIndex = 1;
|
||||
this.btnSaveClose.Text = "Save and close";
|
||||
this.btnSaveClose.UseVisualStyleBackColor = true;
|
||||
this.btnSaveClose.Click += new System.EventHandler(this.btnSaveClose_Click);
|
||||
//
|
||||
// frmOptions
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(382, 122);
|
||||
this.Controls.Add(this.btnSaveClose);
|
||||
this.Controls.Add(this.cbConfirmDelete);
|
||||
this.Name = "frmOptions";
|
||||
this.Text = "Options";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.CheckBox cbConfirmDelete;
|
||||
private System.Windows.Forms.Button btnSaveClose;
|
||||
}
|
||||
}
|
33
QueueSys/frmOptions.cs
Normal file
33
QueueSys/frmOptions.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace QueueSys
|
||||
{
|
||||
public partial class frmOptions : Form
|
||||
{
|
||||
public frmOptions()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btnSaveClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.Save();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void cbConfirmDelete_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
switch(cbConfirmDelete.Checked)
|
||||
{
|
||||
case true:
|
||||
Properties.Settings.Default.ConfirmDelete = true;
|
||||
break;
|
||||
case false:
|
||||
Properties.Settings.Default.ConfirmDelete = false;
|
||||
break;
|
||||
}
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
}
|
||||
}
|
123
QueueSys/frmOptions.resx
Normal file
123
QueueSys/frmOptions.resx
Normal file
@ -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>
|
@ -8,3 +8,14 @@ C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.csproj.Gener
|
||||
C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.exe
|
||||
C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.pdb
|
||||
C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.frmCustomerView.resources
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\bin\Debug\QueueSys.exe.config
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\bin\Debug\QueueSys.exe
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\bin\Debug\QueueSys.pdb
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.csprojAssemblyReference.cache
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.frmCustomerView.resources
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.frmEmployeeView.resources
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.frmOptions.resources
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.Properties.Resources.resources
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.csproj.GenerateResource.cache
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.exe
|
||||
C:\Users\kougyoku\Google Drive\TINFO 220_ HCI Group Project\QueueSys\QueueSys\obj\Debug\QueueSys.pdb
|
||||
|
Loading…
Reference in New Issue
Block a user