From 969743fdb630fc85471b508809f55876cd11d993 Mon Sep 17 00:00:00 2001 From: ​ Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: sales analysis --- .../181c5df8-feb5-47a3-9fe3-30566cc21368.vsidx | Bin 0 -> 13714 bytes .../485d4aee-a2bb-4c1b-a147-18949cc39a25.vsidx | Bin 0 -> 42147 bytes .../beb31c69-eaf2-4a0d-b907-46706c855ec9.vsidx | Bin 0 -> 39362 bytes sales_analysis/.vs/Sales Analysis/v17/.suo | Bin 0 -> 44032 bytes sales_analysis/Sales Analysis.sln | 25 +++ sales_analysis/Sales Analysis/App.config | 6 + sales_analysis/Sales Analysis/Form1.Designer.cs | 216 +++++++++++++++++++++ sales_analysis/Sales Analysis/Form1.cs | 106 ++++++++++ sales_analysis/Sales Analysis/Form1.resx | 120 ++++++++++++ sales_analysis/Sales Analysis/Program.cs | 22 +++ .../Sales Analysis/Properties/AssemblyInfo.cs | 36 ++++ .../Properties/Resources.Designer.cs | 71 +++++++ .../Sales Analysis/Properties/Resources.resx | 117 +++++++++++ .../Sales Analysis/Properties/Settings.Designer.cs | 30 +++ .../Sales Analysis/Properties/Settings.settings | 7 + .../Sales Analysis/Sales Analysis.csproj | 83 ++++++++ .../Sales Analysis/bin/Debug/Sales Analysis.exe | Bin 0 -> 12288 bytes .../bin/Debug/Sales Analysis.exe.config | 6 + .../Sales Analysis/bin/Debug/Sales Analysis.pdb | Bin 0 -> 36352 bytes sales_analysis/Sales Analysis/bin/Debug/Sales.txt | 7 + ...TFramework,Version=v4.7.2.AssemblyAttributes.cs | 4 + .../DesignTimeResolveAssemblyReferences.cache | Bin 0 -> 139 bytes .../DesignTimeResolveAssemblyReferencesInput.cache | Bin 0 -> 7200 bytes .../Sales Analysis.csproj.AssemblyReference.cache | Bin 0 -> 6030 bytes .../Sales Analysis.csproj.CoreCompileInputs.cache | 1 + .../Sales Analysis.csproj.FileListAbsolute.txt | 20 ++ .../Sales Analysis.csproj.GenerateResource.cache | Bin 0 -> 126 bytes .../Sales Analysis/obj/Debug/Sales Analysis.exe | Bin 0 -> 12288 bytes .../Sales Analysis/obj/Debug/Sales Analysis.pdb | Bin 0 -> 36352 bytes .../Sales_Analysis.Properties.Resources.resources | Bin 0 -> 180 bytes .../Debug/Sales_Analysis.salesAnalysis.resources | Bin 0 -> 180 bytes 31 files changed, 877 insertions(+) create mode 100644 sales_analysis/.vs/Sales Analysis/FileContentIndex/181c5df8-feb5-47a3-9fe3-30566cc21368.vsidx create mode 100644 sales_analysis/.vs/Sales Analysis/FileContentIndex/485d4aee-a2bb-4c1b-a147-18949cc39a25.vsidx create mode 100644 sales_analysis/.vs/Sales Analysis/FileContentIndex/beb31c69-eaf2-4a0d-b907-46706c855ec9.vsidx create mode 100644 sales_analysis/.vs/Sales Analysis/v17/.suo create mode 100644 sales_analysis/Sales Analysis.sln create mode 100644 sales_analysis/Sales Analysis/App.config create mode 100644 sales_analysis/Sales Analysis/Form1.Designer.cs create mode 100644 sales_analysis/Sales Analysis/Form1.cs create mode 100644 sales_analysis/Sales Analysis/Form1.resx create mode 100644 sales_analysis/Sales Analysis/Program.cs create mode 100644 sales_analysis/Sales Analysis/Properties/AssemblyInfo.cs create mode 100644 sales_analysis/Sales Analysis/Properties/Resources.Designer.cs create mode 100644 sales_analysis/Sales Analysis/Properties/Resources.resx create mode 100644 sales_analysis/Sales Analysis/Properties/Settings.Designer.cs create mode 100644 sales_analysis/Sales Analysis/Properties/Settings.settings create mode 100644 sales_analysis/Sales Analysis/Sales Analysis.csproj create mode 100644 sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe create mode 100644 sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe.config create mode 100644 sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.pdb create mode 100644 sales_analysis/Sales Analysis/bin/Debug/Sales.txt create mode 100644 sales_analysis/Sales Analysis/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs create mode 100644 sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferences.cache create mode 100644 sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.AssemblyReference.cache create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.CoreCompileInputs.cache create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.FileListAbsolute.txt create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.GenerateResource.cache create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.exe create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.pdb create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.Properties.Resources.resources create mode 100644 sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.salesAnalysis.resources diff --git a/sales_analysis/.vs/Sales Analysis/FileContentIndex/181c5df8-feb5-47a3-9fe3-30566cc21368.vsidx b/sales_analysis/.vs/Sales Analysis/FileContentIndex/181c5df8-feb5-47a3-9fe3-30566cc21368.vsidx new file mode 100644 index 0000000..5de61dc Binary files /dev/null and b/sales_analysis/.vs/Sales Analysis/FileContentIndex/181c5df8-feb5-47a3-9fe3-30566cc21368.vsidx differ diff --git a/sales_analysis/.vs/Sales Analysis/FileContentIndex/485d4aee-a2bb-4c1b-a147-18949cc39a25.vsidx b/sales_analysis/.vs/Sales Analysis/FileContentIndex/485d4aee-a2bb-4c1b-a147-18949cc39a25.vsidx new file mode 100644 index 0000000..1a86d2a Binary files /dev/null and b/sales_analysis/.vs/Sales Analysis/FileContentIndex/485d4aee-a2bb-4c1b-a147-18949cc39a25.vsidx differ diff --git a/sales_analysis/.vs/Sales Analysis/FileContentIndex/beb31c69-eaf2-4a0d-b907-46706c855ec9.vsidx b/sales_analysis/.vs/Sales Analysis/FileContentIndex/beb31c69-eaf2-4a0d-b907-46706c855ec9.vsidx new file mode 100644 index 0000000..e0695d7 Binary files /dev/null and b/sales_analysis/.vs/Sales Analysis/FileContentIndex/beb31c69-eaf2-4a0d-b907-46706c855ec9.vsidx differ diff --git a/sales_analysis/.vs/Sales Analysis/v17/.suo b/sales_analysis/.vs/Sales Analysis/v17/.suo new file mode 100644 index 0000000..3aec4e5 Binary files /dev/null and b/sales_analysis/.vs/Sales Analysis/v17/.suo differ diff --git a/sales_analysis/Sales Analysis.sln b/sales_analysis/Sales Analysis.sln new file mode 100644 index 0000000..63d613d --- /dev/null +++ b/sales_analysis/Sales Analysis.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34009.444 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sales Analysis", "Sales Analysis\Sales Analysis.csproj", "{E4AB0DC7-D4E1-4065-BE8B-188406F68341}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4AB0DC7-D4E1-4065-BE8B-188406F68341}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E4AB0DC7-D4E1-4065-BE8B-188406F68341}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E4AB0DC7-D4E1-4065-BE8B-188406F68341}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E4AB0DC7-D4E1-4065-BE8B-188406F68341}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {05224F90-007A-42E8-80AF-0C8DF76E3C03} + EndGlobalSection +EndGlobal diff --git a/sales_analysis/Sales Analysis/App.config b/sales_analysis/Sales Analysis/App.config new file mode 100644 index 0000000..5754728 --- /dev/null +++ b/sales_analysis/Sales Analysis/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/sales_analysis/Sales Analysis/Form1.Designer.cs b/sales_analysis/Sales Analysis/Form1.Designer.cs new file mode 100644 index 0000000..b851674 --- /dev/null +++ b/sales_analysis/Sales Analysis/Form1.Designer.cs @@ -0,0 +1,216 @@ +namespace Sales_Analysis +{ + partial class salesAnalysis + { + /// + /// 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.salesListBox = new System.Windows.Forms.ListBox(); + this.analyzeButton = new System.Windows.Forms.Button(); + this.clearButton = new System.Windows.Forms.Button(); + this.exitButton = new System.Windows.Forms.Button(); + this.totalDescriptionlabel = new System.Windows.Forms.Label(); + this.totalLabel = new System.Windows.Forms.Label(); + this.averageLabel = new System.Windows.Forms.Label(); + this.averageDescriptionLabel = new System.Windows.Forms.Label(); + this.largestLabel = new System.Windows.Forms.Label(); + this.largestDescriptionLabel = new System.Windows.Forms.Label(); + this.smallestLabel = new System.Windows.Forms.Label(); + this.smallestDescriptionLabel = new System.Windows.Forms.Label(); + this.salesLabel = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // salesListBox + // + this.salesListBox.FormattingEnabled = true; + this.salesListBox.ItemHeight = 16; + this.salesListBox.Location = new System.Drawing.Point(51, 43); + this.salesListBox.Name = "salesListBox"; + this.salesListBox.Size = new System.Drawing.Size(99, 164); + this.salesListBox.TabIndex = 1; + // + // analyzeButton + // + this.analyzeButton.Location = new System.Drawing.Point(154, 230); + this.analyzeButton.Name = "analyzeButton"; + this.analyzeButton.Size = new System.Drawing.Size(83, 48); + this.analyzeButton.TabIndex = 10; + this.analyzeButton.Text = "Analyze Sales"; + this.analyzeButton.UseVisualStyleBackColor = true; + this.analyzeButton.Click += new System.EventHandler(this.analyzeButton_Click); + // + // clearButton + // + this.clearButton.Location = new System.Drawing.Point(73, 239); + this.clearButton.Name = "clearButton"; + this.clearButton.Size = new System.Drawing.Size(75, 31); + this.clearButton.TabIndex = 11; + this.clearButton.Text = "Clear"; + this.clearButton.UseVisualStyleBackColor = true; + this.clearButton.Click += new System.EventHandler(this.clearButton_Click); + // + // exitButton + // + this.exitButton.Location = new System.Drawing.Point(243, 239); + this.exitButton.Name = "exitButton"; + this.exitButton.Size = new System.Drawing.Size(75, 31); + this.exitButton.TabIndex = 12; + this.exitButton.Text = "Exit"; + this.exitButton.UseVisualStyleBackColor = true; + this.exitButton.Click += new System.EventHandler(this.exitButton_Click); + // + // totalDescriptionlabel + // + this.totalDescriptionlabel.AutoSize = true; + this.totalDescriptionlabel.Location = new System.Drawing.Point(185, 54); + this.totalDescriptionlabel.Name = "totalDescriptionlabel"; + this.totalDescriptionlabel.Size = new System.Drawing.Size(41, 16); + this.totalDescriptionlabel.TabIndex = 2; + this.totalDescriptionlabel.Text = "Total:"; + // + // totalLabel + // + this.totalLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.totalLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.totalLabel.Location = new System.Drawing.Point(232, 48); + this.totalLabel.Name = "totalLabel"; + this.totalLabel.Size = new System.Drawing.Size(115, 27); + this.totalLabel.TabIndex = 3; + this.totalLabel.Text = "?"; + this.totalLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // averageLabel + // + this.averageLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.averageLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.averageLabel.Location = new System.Drawing.Point(232, 87); + this.averageLabel.Name = "averageLabel"; + this.averageLabel.Size = new System.Drawing.Size(115, 27); + this.averageLabel.TabIndex = 5; + this.averageLabel.Text = "?"; + this.averageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // averageDescriptionLabel + // + this.averageDescriptionLabel.AutoSize = true; + this.averageDescriptionLabel.Location = new System.Drawing.Point(164, 93); + this.averageDescriptionLabel.Name = "averageDescriptionLabel"; + this.averageDescriptionLabel.Size = new System.Drawing.Size(62, 16); + this.averageDescriptionLabel.TabIndex = 4; + this.averageDescriptionLabel.Text = "Average:"; + // + // largestLabel + // + this.largestLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.largestLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.largestLabel.Location = new System.Drawing.Point(232, 127); + this.largestLabel.Name = "largestLabel"; + this.largestLabel.Size = new System.Drawing.Size(115, 27); + this.largestLabel.TabIndex = 7; + this.largestLabel.Text = "?"; + this.largestLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // largestDescriptionLabel + // + this.largestDescriptionLabel.AutoSize = true; + this.largestDescriptionLabel.Location = new System.Drawing.Point(171, 133); + this.largestDescriptionLabel.Name = "largestDescriptionLabel"; + this.largestDescriptionLabel.Size = new System.Drawing.Size(55, 16); + this.largestDescriptionLabel.TabIndex = 6; + this.largestDescriptionLabel.Text = "Largest:"; + // + // smallestLabel + // + this.smallestLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.smallestLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.smallestLabel.Location = new System.Drawing.Point(232, 167); + this.smallestLabel.Name = "smallestLabel"; + this.smallestLabel.Size = new System.Drawing.Size(115, 27); + this.smallestLabel.TabIndex = 9; + this.smallestLabel.Text = "?"; + this.smallestLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // smallestDescriptionLabel + // + this.smallestDescriptionLabel.AutoSize = true; + this.smallestDescriptionLabel.Location = new System.Drawing.Point(164, 173); + this.smallestDescriptionLabel.Name = "smallestDescriptionLabel"; + this.smallestDescriptionLabel.Size = new System.Drawing.Size(62, 16); + this.smallestDescriptionLabel.TabIndex = 8; + this.smallestDescriptionLabel.Text = "Smallest:"; + // + // salesLabel + // + this.salesLabel.AutoSize = true; + this.salesLabel.Location = new System.Drawing.Point(70, 24); + this.salesLabel.Name = "salesLabel"; + this.salesLabel.Size = new System.Drawing.Size(45, 16); + this.salesLabel.TabIndex = 0; + this.salesLabel.Text = "Sales:"; + // + // salesAnalysis + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(402, 313); + this.Controls.Add(this.salesLabel); + this.Controls.Add(this.smallestLabel); + this.Controls.Add(this.smallestDescriptionLabel); + this.Controls.Add(this.largestLabel); + this.Controls.Add(this.largestDescriptionLabel); + this.Controls.Add(this.averageLabel); + this.Controls.Add(this.averageDescriptionLabel); + this.Controls.Add(this.totalLabel); + this.Controls.Add(this.exitButton); + this.Controls.Add(this.clearButton); + this.Controls.Add(this.analyzeButton); + this.Controls.Add(this.totalDescriptionlabel); + this.Controls.Add(this.salesListBox); + this.Name = "salesAnalysis"; + this.Text = "Sales Analysis"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ListBox salesListBox; + private System.Windows.Forms.Button analyzeButton; + private System.Windows.Forms.Button clearButton; + private System.Windows.Forms.Button exitButton; + private System.Windows.Forms.Label totalDescriptionlabel; + private System.Windows.Forms.Label totalLabel; + private System.Windows.Forms.Label averageLabel; + private System.Windows.Forms.Label averageDescriptionLabel; + private System.Windows.Forms.Label largestLabel; + private System.Windows.Forms.Label largestDescriptionLabel; + private System.Windows.Forms.Label smallestLabel; + private System.Windows.Forms.Label smallestDescriptionLabel; + private System.Windows.Forms.Label salesLabel; + } +} + diff --git a/sales_analysis/Sales Analysis/Form1.cs b/sales_analysis/Sales Analysis/Form1.cs new file mode 100644 index 0000000..d4b68af --- /dev/null +++ b/sales_analysis/Sales Analysis/Form1.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Xml.Schema; + +namespace Sales_Analysis +{ + public partial class salesAnalysis : Form + { + public salesAnalysis() + { + InitializeComponent(); + } + + private double Total(double[] dArray) + { + double total = 0; + + for (int i = 0; i < dArray.Length; i++) + total += dArray[i]; + + return total; + } + + private double Average(double[] dArray) + { + double total = 0; + + for (int i = 0; i < dArray.Length; i++) + total += dArray[i]; + + return total / dArray.Length; + } + + private double Largest(double[] dArray) + { + double highest = dArray[0]; + + for (int i = 0; i < dArray.Length; i++) + if (dArray[i] > highest) + highest = dArray[i]; + + return highest; + } + + private double Smallest(double[] dArray) + { + double lowest = dArray[0]; + + for (int i = 0; i < dArray.Length; i++) + if (dArray[i] < lowest) + lowest = dArray[i]; + + return lowest; + } + + private void analyzeButton_Click(object sender, EventArgs e) + { + try { + double[] sales = new double[7]; + + StreamReader input = File.OpenText("Sales.txt"); + + for (int i = 0; !input.EndOfStream && i < sales.Length; i++) + sales[i] = double.Parse(input.ReadLine()); + + input.Close(); + + salesListBox.Items.Clear(); + + foreach (double i in sales) + salesListBox.Items.Add(i); + + totalLabel.Text = Total(sales).ToString("c"); + averageLabel.Text = Average(sales).ToString("c"); + largestLabel.Text = Largest(sales).ToString("c"); + smallestLabel.Text = Smallest(sales).ToString("c"); + } + catch (Exception ex) { + MessageBox.Show(ex.Message); + } + } + + private void clearButton_Click(object sender, EventArgs e) + { + salesListBox.Items.Clear(); + + totalLabel.Text = "?"; + averageLabel.Text = "?"; + largestLabel.Text = "?"; + smallestLabel.Text = "?"; + } + + private void exitButton_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/sales_analysis/Sales Analysis/Form1.resx b/sales_analysis/Sales Analysis/Form1.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/sales_analysis/Sales Analysis/Form1.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/sales_analysis/Sales Analysis/Program.cs b/sales_analysis/Sales Analysis/Program.cs new file mode 100644 index 0000000..f34661e --- /dev/null +++ b/sales_analysis/Sales Analysis/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Sales_Analysis +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new salesAnalysis()); + } + } +} diff --git a/sales_analysis/Sales Analysis/Properties/AssemblyInfo.cs b/sales_analysis/Sales Analysis/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6dcc106 --- /dev/null +++ b/sales_analysis/Sales Analysis/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("Sales Analysis")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Sales Analysis")] +[assembly: AssemblyCopyright("Copyright © 2023")] +[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("e4ab0dc7-d4e1-4065-be8b-188406f68341")] + +// 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/sales_analysis/Sales Analysis/Properties/Resources.Designer.cs b/sales_analysis/Sales Analysis/Properties/Resources.Designer.cs new file mode 100644 index 0000000..e02ad38 --- /dev/null +++ b/sales_analysis/Sales Analysis/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 Sales_Analysis.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("Sales_Analysis.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/sales_analysis/Sales Analysis/Properties/Resources.resx b/sales_analysis/Sales Analysis/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/sales_analysis/Sales Analysis/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/sales_analysis/Sales Analysis/Properties/Settings.Designer.cs b/sales_analysis/Sales Analysis/Properties/Settings.Designer.cs new file mode 100644 index 0000000..9d6a242 --- /dev/null +++ b/sales_analysis/Sales Analysis/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 Sales_Analysis.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/sales_analysis/Sales Analysis/Properties/Settings.settings b/sales_analysis/Sales Analysis/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/sales_analysis/Sales Analysis/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/sales_analysis/Sales Analysis/Sales Analysis.csproj b/sales_analysis/Sales Analysis/Sales Analysis.csproj new file mode 100644 index 0000000..f44e43b --- /dev/null +++ b/sales_analysis/Sales Analysis/Sales Analysis.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {E4AB0DC7-D4E1-4065-BE8B-188406F68341} + WinExe + Sales_Analysis + Sales Analysis + 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 + + + Form1.cs + + + + + Form1.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/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe new file mode 100644 index 0000000..78bd1a6 Binary files /dev/null and b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe differ diff --git a/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe.config b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe.config new file mode 100644 index 0000000..5754728 --- /dev/null +++ b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.pdb b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.pdb new file mode 100644 index 0000000..9359c89 Binary files /dev/null and b/sales_analysis/Sales Analysis/bin/Debug/Sales Analysis.pdb differ diff --git a/sales_analysis/Sales Analysis/bin/Debug/Sales.txt b/sales_analysis/Sales Analysis/bin/Debug/Sales.txt new file mode 100644 index 0000000..056c962 --- /dev/null +++ b/sales_analysis/Sales Analysis/bin/Debug/Sales.txt @@ -0,0 +1,7 @@ +1245.67 +1189.55 +1098.72 +1456.88 +2109.34 +1987.55 +1872.36 \ No newline at end of file diff --git a/sales_analysis/Sales Analysis/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/sales_analysis/Sales Analysis/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..057ed7f --- /dev/null +++ b/sales_analysis/Sales Analysis/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..10a1a65 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d5cc3fa Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.AssemblyReference.cache b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.AssemblyReference.cache new file mode 100644 index 0000000..25ff1ca Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.AssemblyReference.cache differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.CoreCompileInputs.cache b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..bfe380c --- /dev/null +++ b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +8069502011d0681850e57a53d5a1673222f430a6 diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.FileListAbsolute.txt b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..bf5f94b --- /dev/null +++ b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.FileListAbsolute.txt @@ -0,0 +1,20 @@ +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\bin\Debug\Sales Analysis.exe.config +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\bin\Debug\Sales Analysis.exe +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\bin\Debug\Sales Analysis.pdb +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.AssemblyReference.cache +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales_Analysis.salesAnalysis.resources +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales_Analysis.Properties.Resources.resources +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.GenerateResource.cache +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.CoreCompileInputs.cache +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales Analysis.exe +C:\Users\User\source\repos\Sales Analysis\Sales Analysis\obj\Debug\Sales Analysis.pdb +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\bin\Debug\Sales Analysis.exe.config +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\bin\Debug\Sales Analysis.exe +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\bin\Debug\Sales Analysis.pdb +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.AssemblyReference.cache +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales_Analysis.salesAnalysis.resources +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales_Analysis.Properties.Resources.resources +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.GenerateResource.cache +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales Analysis.csproj.CoreCompileInputs.cache +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales Analysis.exe +C:\Users\User\Documents\Comp\sales_analysis\Sales Analysis\obj\Debug\Sales Analysis.pdb diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.GenerateResource.cache b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.GenerateResource.cache new file mode 100644 index 0000000..b402d44 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.csproj.GenerateResource.cache differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.exe b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.exe new file mode 100644 index 0000000..78bd1a6 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.exe differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.pdb b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.pdb new file mode 100644 index 0000000..9359c89 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales Analysis.pdb differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.Properties.Resources.resources b/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.Properties.Resources.resources differ diff --git a/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.salesAnalysis.resources b/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.salesAnalysis.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/sales_analysis/Sales Analysis/obj/Debug/Sales_Analysis.salesAnalysis.resources differ -- cgit 1.4.1