diff --git a/.vs/QueueSys/v16/Server/sqlite3/db.lock b/.vs/QueueSys/v16/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/QueueSys/v16/Server/sqlite3/storage.ide b/.vs/QueueSys/v16/Server/sqlite3/storage.ide new file mode 100644 index 0000000..df58f35 Binary files /dev/null and b/.vs/QueueSys/v16/Server/sqlite3/storage.ide differ diff --git a/QueueSys.sln b/QueueSys.sln new file mode 100644 index 0000000..8f453c0 --- /dev/null +++ b/QueueSys.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29326.143 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueueSys", "QueueSys\QueueSys.csproj", "{05C86855-0C37-478F-84BA-5B6F4D293D80}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {05C86855-0C37-478F-84BA-5B6F4D293D80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {05C86855-0C37-478F-84BA-5B6F4D293D80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {05C86855-0C37-478F-84BA-5B6F4D293D80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {05C86855-0C37-478F-84BA-5B6F4D293D80}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CB8B2C2A-4555-4EDC-9F99-DA6890B46CB1} + EndGlobalSection +EndGlobal diff --git a/QueueSys/App.config b/QueueSys/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/QueueSys/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/QueueSys/Program.cs b/QueueSys/Program.cs new file mode 100644 index 0000000..c5a963b --- /dev/null +++ b/QueueSys/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace QueueSys +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new frmEmployeeView()); + } + } +} diff --git a/QueueSys/Properties/AssemblyInfo.cs b/QueueSys/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b513c60 --- /dev/null +++ b/QueueSys/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("QueueSys")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Hewlett-Packard")] +[assembly: AssemblyProduct("QueueSys")] +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("05c86855-0c37-478f-84ba-5b6f4d293d80")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/QueueSys/Properties/Resources.Designer.cs b/QueueSys/Properties/Resources.Designer.cs new file mode 100644 index 0000000..ea8a90a --- /dev/null +++ b/QueueSys/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace QueueSys.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("QueueSys.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/QueueSys/Properties/Resources.resx b/QueueSys/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/QueueSys/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/QueueSys/Properties/Settings.Designer.cs b/QueueSys/Properties/Settings.Designer.cs new file mode 100644 index 0000000..24aef7f --- /dev/null +++ b/QueueSys/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +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 + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/QueueSys/Properties/Settings.settings b/QueueSys/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/QueueSys/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/QueueSys/QueueSys.csproj b/QueueSys/QueueSys.csproj new file mode 100644 index 0000000..521d4c7 --- /dev/null +++ b/QueueSys/QueueSys.csproj @@ -0,0 +1,92 @@ + + + + + Debug + AnyCPU + {05C86855-0C37-478F-84BA-5B6F4D293D80} + WinExe + QueueSys + QueueSys + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + frmCustomerView.cs + + + Form + + + frmEmployeeView.cs + + + + + frmCustomerView.cs + + + frmEmployeeView.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/QueueSys/bin/Debug/QueueSys.exe.config b/QueueSys/bin/Debug/QueueSys.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/QueueSys/bin/Debug/QueueSys.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/QueueSys/frmCustomerView.Designer.cs b/QueueSys/frmCustomerView.Designer.cs new file mode 100644 index 0000000..0d53fa0 --- /dev/null +++ b/QueueSys/frmCustomerView.Designer.cs @@ -0,0 +1,46 @@ +namespace QueueSys +{ + partial class frmCustomerView + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // frmCustomerView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Name = "frmCustomerView"; + this.Text = "RUNWAY FASHION EXCHANGE"; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/QueueSys/frmCustomerView.cs b/QueueSys/frmCustomerView.cs new file mode 100644 index 0000000..7cc3648 --- /dev/null +++ b/QueueSys/frmCustomerView.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace QueueSys +{ + public partial class frmCustomerView : Form + { + public frmCustomerView() + { + InitializeComponent(); + } + } +} diff --git a/QueueSys/frmCustomerView.resx b/QueueSys/frmCustomerView.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/QueueSys/frmCustomerView.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/QueueSys/frmEmployeeView.Designer.cs b/QueueSys/frmEmployeeView.Designer.cs new file mode 100644 index 0000000..7f271c1 --- /dev/null +++ b/QueueSys/frmEmployeeView.Designer.cs @@ -0,0 +1,146 @@ +namespace QueueSys +{ + partial class frmEmployeeView + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + 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(); + this.tbCustomerName = new System.Windows.Forms.TextBox(); + 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.SuspendLayout(); + // + // lblCustomerName + // + this.lblCustomerName.AutoSize = true; + this.lblCustomerName.Location = new System.Drawing.Point(12, 50); + this.lblCustomerName.Name = "lblCustomerName"; + this.lblCustomerName.Size = new System.Drawing.Size(82, 13); + 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.Name = "lblNumBags"; + this.lblNumBags.Size = new System.Drawing.Size(53, 13); + 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.Name = "lblEmployeeName"; + this.lblEmployeeName.Size = new System.Drawing.Size(84, 13); + this.lblEmployeeName.TabIndex = 2; + this.lblEmployeeName.Text = "Employee Name"; + // + // tbCustomerName + // + this.tbCustomerName.Location = new System.Drawing.Point(15, 76); + this.tbCustomerName.MaxLength = 255; + this.tbCustomerName.Name = "tbCustomerName"; + this.tbCustomerName.Size = new System.Drawing.Size(153, 20); + this.tbCustomerName.TabIndex = 1; + // + // cbNumBags + // + this.cbNumBags.FormattingEnabled = true; + this.cbNumBags.Items.AddRange(new object[] { + "1", + "2", + "3", + "4", + "5"}); + this.cbNumBags.Location = new System.Drawing.Point(190, 75); + this.cbNumBags.MaxDropDownItems = 5; + this.cbNumBags.Name = "cbNumBags"; + this.cbNumBags.Size = new System.Drawing.Size(121, 21); + this.cbNumBags.TabIndex = 2; + // + // cbEmployeeName + // + this.cbEmployeeName.FormattingEnabled = true; + this.cbEmployeeName.Location = new System.Drawing.Point(344, 75); + this.cbEmployeeName.Name = "cbEmployeeName"; + this.cbEmployeeName.Size = new System.Drawing.Size(121, 21); + this.cbEmployeeName.TabIndex = 3; + // + // btnAdd + // + this.btnAdd.Location = new System.Drawing.Point(502, 73); + this.btnAdd.Name = "btnAdd"; + this.btnAdd.Size = new System.Drawing.Size(75, 23); + this.btnAdd.TabIndex = 4; + this.btnAdd.Text = "Add"; + this.btnAdd.UseVisualStyleBackColor = true; + // + // contextMenuStrip1 + // + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); + // + // frmEmployeeView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(588, 450); + this.Controls.Add(this.btnAdd); + this.Controls.Add(this.cbEmployeeName); + this.Controls.Add(this.cbNumBags); + this.Controls.Add(this.tbCustomerName); + this.Controls.Add(this.lblEmployeeName); + this.Controls.Add(this.lblNumBags); + this.Controls.Add(this.lblCustomerName); + this.Name = "frmEmployeeView"; + this.Text = "Queue System"; + this.Load += new System.EventHandler(this.frmEmployeeView_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label lblCustomerName; + private System.Windows.Forms.Label lblNumBags; + private System.Windows.Forms.Label lblEmployeeName; + private System.Windows.Forms.TextBox tbCustomerName; + private System.Windows.Forms.ComboBox cbNumBags; + private System.Windows.Forms.ComboBox cbEmployeeName; + private System.Windows.Forms.Button btnAdd; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + } +} + diff --git a/QueueSys/frmEmployeeView.cs b/QueueSys/frmEmployeeView.cs new file mode 100644 index 0000000..be616f7 --- /dev/null +++ b/QueueSys/frmEmployeeView.cs @@ -0,0 +1,26 @@ +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 QueueSys +{ + public partial class frmEmployeeView : Form + { + public frmEmployeeView() + { + InitializeComponent(); + } + + private void frmEmployeeView_Load(object sender, EventArgs e) + { + Form frm = new frmCustomerView(); + frm.Show(); + } + } +} diff --git a/QueueSys/frmEmployeeView.resx b/QueueSys/frmEmployeeView.resx new file mode 100644 index 0000000..ad53752 --- /dev/null +++ b/QueueSys/frmEmployeeView.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/QueueSys/obj/Debug/QueueSys.csproj.FileListAbsolute.txt b/QueueSys/obj/Debug/QueueSys.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8528488 --- /dev/null +++ b/QueueSys/obj/Debug/QueueSys.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\bin\Debug\QueueSys.exe.config +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\bin\Debug\QueueSys.exe +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\bin\Debug\QueueSys.pdb +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.csprojAssemblyReference.cache +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.frmEmployeeView.resources +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.Properties.Resources.resources +C:\Users\Kougyoku\source\repos\QueueSys\QueueSys\obj\Debug\QueueSys.csproj.GenerateResource.cache +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