diff --git a/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/DesignTimeBuild/.dtbcache.v2 b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/DesignTimeBuild/.dtbcache.v2 new file mode 100755 index 0000000..2def6c6 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/DesignTimeBuild/.dtbcache.v2 differ diff --git a/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.futdcache.v2 b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.futdcache.v2 new file mode 100755 index 0000000..050a5d8 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.futdcache.v2 differ diff --git a/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.suo b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.suo new file mode 100755 index 0000000..84a70e2 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/.vs/Lab4_1_CalebFontenot/v17/.suo differ diff --git a/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.metadata.v5 b/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.metadata.v5 new file mode 100755 index 0000000..a3518fa Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.metadata.v5 differ diff --git a/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.projects.v5 b/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.projects.v5 new file mode 100755 index 0000000..ab81ca6 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/.vs/ProjectEvaluation/lab4_1_calebfontenot.projects.v5 differ diff --git a/Lab4/Lab4_1_CalebFontenot/Form1.Designer.cs b/Lab4/Lab4_1_CalebFontenot/Form1.Designer.cs new file mode 100755 index 0000000..951aab2 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Form1.Designer.cs @@ -0,0 +1,194 @@ +namespace Lab4_1_CalebFontenot +{ + partial class Form1 + { + /// + /// 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.groupBox1 = new System.Windows.Forms.GroupBox(); + this.averageLabel = new System.Windows.Forms.TextBox(); + this.test3TextBox = new System.Windows.Forms.TextBox(); + this.test2TextBox = new System.Windows.Forms.TextBox(); + this.test1TextBox = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.calculateButton = new System.Windows.Forms.Button(); + this.clearButton = new System.Windows.Forms.Button(); + this.exitButton = new System.Windows.Forms.Button(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.averageLabel); + this.groupBox1.Controls.Add(this.test3TextBox); + this.groupBox1.Controls.Add(this.test2TextBox); + this.groupBox1.Controls.Add(this.test1TextBox); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Location = new System.Drawing.Point(12, 12); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(204, 158); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Enter Three Test Scores"; + // + // averageLabel + // + this.averageLabel.Location = new System.Drawing.Point(91, 111); + this.averageLabel.Name = "averageLabel"; + this.averageLabel.ReadOnly = true; + this.averageLabel.Size = new System.Drawing.Size(100, 23); + this.averageLabel.TabIndex = 7; + this.averageLabel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // test3TextBox + // + this.test3TextBox.Location = new System.Drawing.Point(91, 82); + this.test3TextBox.Name = "test3TextBox"; + this.test3TextBox.Size = new System.Drawing.Size(100, 23); + this.test3TextBox.TabIndex = 6; + this.test3TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // test2TextBox + // + this.test2TextBox.Location = new System.Drawing.Point(91, 55); + this.test2TextBox.Name = "test2TextBox"; + this.test2TextBox.Size = new System.Drawing.Size(100, 23); + this.test2TextBox.TabIndex = 5; + this.test2TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // test1TextBox + // + this.test1TextBox.Location = new System.Drawing.Point(91, 28); + this.test1TextBox.Name = "test1TextBox"; + this.test1TextBox.Size = new System.Drawing.Size(100, 23); + this.test1TextBox.TabIndex = 4; + this.test1TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(31, 114); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(53, 15); + this.label4.TabIndex = 3; + this.label4.Text = "Average:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(6, 85); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(78, 15); + this.label3.TabIndex = 2; + this.label3.Text = "Test Score #3:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 58); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(78, 15); + this.label2.TabIndex = 1; + this.label2.Text = "Test Score #2:"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 31); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(78, 15); + this.label1.TabIndex = 0; + this.label1.Text = "Test Score #1:"; + // + // calculateButton + // + this.calculateButton.Location = new System.Drawing.Point(12, 176); + this.calculateButton.Name = "calculateButton"; + this.calculateButton.Size = new System.Drawing.Size(84, 52); + this.calculateButton.TabIndex = 1; + this.calculateButton.Text = "Calculate Average"; + this.calculateButton.UseVisualStyleBackColor = true; + this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click); + // + // clearButton + // + this.clearButton.Location = new System.Drawing.Point(103, 176); + this.clearButton.Name = "clearButton"; + this.clearButton.Size = new System.Drawing.Size(113, 23); + this.clearButton.TabIndex = 2; + 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(103, 205); + this.exitButton.Name = "exitButton"; + this.exitButton.Size = new System.Drawing.Size(113, 23); + this.exitButton.TabIndex = 3; + this.exitButton.Text = "Exit"; + this.exitButton.UseVisualStyleBackColor = true; + this.exitButton.Click += new System.EventHandler(this.exitButton_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(238, 241); + this.Controls.Add(this.exitButton); + this.Controls.Add(this.clearButton); + this.Controls.Add(this.calculateButton); + this.Controls.Add(this.groupBox1); + this.Name = "Form1"; + this.Text = "Test Grade Calculator"; + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private GroupBox groupBox1; + private TextBox averageLabel; + private TextBox test3TextBox; + private TextBox test2TextBox; + private TextBox test1TextBox; + private Label label4; + private Label label3; + private Label label2; + private Label label1; + private Button calculateButton; + private Button clearButton; + private Button exitButton; + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/Form1.cs b/Lab4/Lab4_1_CalebFontenot/Form1.cs new file mode 100755 index 0000000..36508ff --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Form1.cs @@ -0,0 +1,68 @@ +namespace Lab4_1_CalebFontenot +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void calculateButton_Click(object sender, EventArgs e) + { + try + { + // Setup variables + double test1Score, + test2Score, + test3Score, + average; + const double HIGH_SCORE = 95.0, + LOW_SCORE = 68.0; + + // Get data + test1Score = double.Parse(test1TextBox.Text); + test2Score = double.Parse(test2TextBox.Text); + test3Score = double.Parse(test3TextBox.Text); + + // Calculate the average test score: + average = (test1Score + test2Score + test3Score) / 3.0; + + // Print output in text box: + averageLabel.Text = average.ToString("n1"); + + // If the average is high, congratulate the user :pogchamp: + if (average > HIGH_SCORE) + { + MessageBox.Show("Congratulations! Great job! I may just be a message box, but I'm proud of you!"); + } + if (average < LOW_SCORE) + { + MessageBox.Show("Lol get rekt"); + } + + } + catch (Exception ex) + { + // Display the default error message. + MessageBox.Show(ex.Message); + } + } + + private void clearButton_Click(object sender, EventArgs e) + { + // Clear the text boxes + test1TextBox.Text = ""; + test2TextBox.Text = ""; + test3TextBox.Text = ""; + averageLabel.Text = ""; + + // Reset the focus to test1. + test1TextBox.Focus(); + } + + private void exitButton_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/Form1.resx b/Lab4/Lab4_1_CalebFontenot/Form1.resx new file mode 100755 index 0000000..b5ae26c --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Form1.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj new file mode 100755 index 0000000..45de288 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj.user b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj.user new file mode 100755 index 0000000..f61322e --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.csproj.user @@ -0,0 +1,8 @@ + + + + + Form + + + diff --git a/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.sln b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.sln new file mode 100755 index 0000000..e48cc18 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Lab4_1_CalebFontenot.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32804.467 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab4_1_CalebFontenot", "Lab4_1_CalebFontenot.csproj", "{55132397-A921-483F-9547-04C223430392}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {55132397-A921-483F-9547-04C223430392}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {55132397-A921-483F-9547-04C223430392}.Debug|Any CPU.Build.0 = Debug|Any CPU + {55132397-A921-483F-9547-04C223430392}.Release|Any CPU.ActiveCfg = Release|Any CPU + {55132397-A921-483F-9547-04C223430392}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8AF5826A-BD2A-48AD-A70D-206097F36C8F} + EndGlobalSection +EndGlobal diff --git a/Lab4/Lab4_1_CalebFontenot/Program.cs b/Lab4/Lab4_1_CalebFontenot/Program.cs new file mode 100755 index 0000000..6e512e4 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/Program.cs @@ -0,0 +1,17 @@ +namespace Lab4_1_CalebFontenot +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.deps.json b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.deps.json new file mode 100755 index 0000000..bd44c7e --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "Lab4_1_CalebFontenot/1.0.0": { + "runtime": { + "Lab4_1_CalebFontenot.dll": {} + } + } + } + }, + "libraries": { + "Lab4_1_CalebFontenot/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll new file mode 100755 index 0000000..7382395 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll differ diff --git a/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.exe b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.exe new file mode 100755 index 0000000..b31a3a5 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.exe differ diff --git a/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb new file mode 100755 index 0000000..4729af0 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb differ diff --git a/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.runtimeconfig.json b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.runtimeconfig.json new file mode 100755 index 0000000..b6062ae --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/bin/Debug/net6.0-windows/Lab4_1_CalebFontenot.runtimeconfig.json @@ -0,0 +1,15 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ] + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100755 index 0000000..32c95f9 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfo.cs b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfo.cs new file mode 100755 index 0000000..484cb29 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Lab4_1_CalebFontenot")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Lab4_1_CalebFontenot")] +[assembly: System.Reflection.AssemblyTitleAttribute("Lab4_1_CalebFontenot")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfoInputs.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfoInputs.cache new file mode 100755 index 0000000..574e5f7 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +93daf5ede3ffcf9bed01518d56ea8d7ec82a3bc4 diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.Form1.resources b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.Form1.resources new file mode 100755 index 0000000..6c05a97 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.Form1.resources differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig new file mode 100755 index 0000000..50b2aa9 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,16 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net6.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Lab4_1_CalebFontenot +build_property.ProjectDir = Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GlobalUsings.g.cs b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GlobalUsings.g.cs new file mode 100755 index 0000000..fea4009 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.GlobalUsings.g.cs @@ -0,0 +1,10 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Drawing; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; +global using global::System.Windows.Forms; diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.assets.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.assets.cache new file mode 100755 index 0000000..ee50814 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.assets.cache differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.AssemblyReference.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.AssemblyReference.cache new file mode 100755 index 0000000..f790783 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.AssemblyReference.cache differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.BuildWithSkipAnalyzers b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.BuildWithSkipAnalyzers new file mode 100755 index 0000000..e69de29 diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.CoreCompileInputs.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.CoreCompileInputs.cache new file mode 100755 index 0000000..74769d9 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +22f60058a241681277f6ead56cba5fd43212130f diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.FileListAbsolute.txt b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.FileListAbsolute.txt new file mode 100755 index 0000000..a2b9630 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.FileListAbsolute.txt @@ -0,0 +1,17 @@ +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\bin\Debug\net6.0-windows\Lab4_1_CalebFontenot.exe +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\bin\Debug\net6.0-windows\Lab4_1_CalebFontenot.deps.json +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\bin\Debug\net6.0-windows\Lab4_1_CalebFontenot.runtimeconfig.json +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\bin\Debug\net6.0-windows\Lab4_1_CalebFontenot.dll +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\bin\Debug\net6.0-windows\Lab4_1_CalebFontenot.pdb +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.csproj.AssemblyReference.cache +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.Form1.resources +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.csproj.GenerateResource.cache +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.AssemblyInfoInputs.cache +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.AssemblyInfo.cs +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.csproj.CoreCompileInputs.cache +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.dll +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\refint\Lab4_1_CalebFontenot.dll +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.pdb +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\Lab4_1_CalebFontenot.genruntimeconfig.cache +Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_1_CalebFontenot\obj\Debug\net6.0-windows\ref\Lab4_1_CalebFontenot.dll diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.GenerateResource.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.GenerateResource.cache new file mode 100755 index 0000000..a916b0c Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.csproj.GenerateResource.cache differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.deps.json b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.deps.json new file mode 100755 index 0000000..fbeaac4 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.deps.json @@ -0,0 +1,11 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": {} + }, + "libraries": {} +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.runtimeconfig.json b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.runtimeconfig.json new file mode 100755 index 0000000..4ec7c38 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.designer.runtimeconfig.json @@ -0,0 +1,22 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\caleb\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\caleb\\.nuget\\packages" + ], + "configProperties": { + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll new file mode 100755 index 0000000..7382395 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.dll differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.genruntimeconfig.cache b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.genruntimeconfig.cache new file mode 100755 index 0000000..643a3df --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.genruntimeconfig.cache @@ -0,0 +1 @@ +3580acc4d4a5f2db37b6cb0bacb19ffaabd92e7a diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb new file mode 100755 index 0000000..4729af0 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/Lab4_1_CalebFontenot.pdb differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/apphost.exe b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/apphost.exe new file mode 100755 index 0000000..b31a3a5 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/apphost.exe differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/ref/Lab4_1_CalebFontenot.dll b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/ref/Lab4_1_CalebFontenot.dll new file mode 100755 index 0000000..9c27d72 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/ref/Lab4_1_CalebFontenot.dll differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/refint/Lab4_1_CalebFontenot.dll b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/refint/Lab4_1_CalebFontenot.dll new file mode 100755 index 0000000..9c27d72 Binary files /dev/null and b/Lab4/Lab4_1_CalebFontenot/obj/Debug/net6.0-windows/refint/Lab4_1_CalebFontenot.dll differ diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.dgspec.json b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.dgspec.json new file mode 100755 index 0000000..4287846 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj": {} + }, + "projects": { + "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj", + "projectName": "Lab4_1_CalebFontenot", + "projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj", + "packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\", + "outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.props b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.props new file mode 100755 index 0000000..2a0471e --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\caleb\.nuget\packages\ + PackageReference + 6.3.0 + + + + + \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.targets b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.targets new file mode 100755 index 0000000..35a7576 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/Lab4_1_CalebFontenot.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/project.assets.json b/Lab4/Lab4_1_CalebFontenot/obj/project.assets.json new file mode 100755 index 0000000..c5596b7 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/project.assets.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "targets": { + "net6.0-windows7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0-windows7.0": [] + }, + "packageFolders": { + "C:\\Users\\caleb\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj", + "projectName": "Lab4_1_CalebFontenot", + "projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj", + "packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\", + "outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_1_CalebFontenot/obj/project.nuget.cache b/Lab4/Lab4_1_CalebFontenot/obj/project.nuget.cache new file mode 100755 index 0000000..590d043 --- /dev/null +++ b/Lab4/Lab4_1_CalebFontenot/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "b9d0T7SsvaSOgQqtRdpm1viEv+KpviSzXsdSagahR3ILvCvny6sHeEHyKvIZjwuYAIx9dMSvDIMaJq0elubbqg==", + "success": true, + "projectFilePath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_1_CalebFontenot\\Lab4_1_CalebFontenot.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/DesignTimeBuild/.dtbcache.v2 b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/DesignTimeBuild/.dtbcache.v2 new file mode 100755 index 0000000..af36fa5 Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/DesignTimeBuild/.dtbcache.v2 differ diff --git a/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.futdcache.v2 b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.futdcache.v2 new file mode 100755 index 0000000..c2c967b Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.futdcache.v2 differ diff --git a/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.suo b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.suo new file mode 100755 index 0000000..2b4ac7d Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/.vs/Lab4_2_CalebFontenot/v17/.suo differ diff --git a/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.metadata.v5 b/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.metadata.v5 new file mode 100755 index 0000000..a7bd766 Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.metadata.v5 differ diff --git a/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.projects.v5 b/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.projects.v5 new file mode 100755 index 0000000..75ebbe7 Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/.vs/ProjectEvaluation/lab4_2_calebfontenot.projects.v5 differ diff --git a/Lab4/Lab4_2_CalebFontenot/Form1.Designer.cs b/Lab4/Lab4_2_CalebFontenot/Form1.Designer.cs new file mode 100755 index 0000000..0fa3f07 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Form1.Designer.cs @@ -0,0 +1,150 @@ +namespace Lab4_2_CalebFontenot +{ + partial class Form1 + { + /// + /// 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.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.hoursWorkedTextBox = new System.Windows.Forms.TextBox(); + this.hourlyPayRateTextBox = new System.Windows.Forms.TextBox(); + this.grossPayLabel = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 32); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(86, 15); + this.label1.TabIndex = 0; + this.label1.Text = "Hours Worked:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(7, 60); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(91, 15); + this.label2.TabIndex = 1; + this.label2.Text = "Hourly pay rate:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(37, 89); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(61, 15); + this.label3.TabIndex = 2; + this.label3.Text = "Gross pay:"; + // + // hoursWorkedTextBox + // + this.hoursWorkedTextBox.Location = new System.Drawing.Point(104, 29); + this.hoursWorkedTextBox.Name = "hoursWorkedTextBox"; + this.hoursWorkedTextBox.Size = new System.Drawing.Size(113, 23); + this.hoursWorkedTextBox.TabIndex = 3; + // + // hourlyPayRateTextBox + // + this.hourlyPayRateTextBox.Location = new System.Drawing.Point(104, 57); + this.hourlyPayRateTextBox.Name = "hourlyPayRateTextBox"; + this.hourlyPayRateTextBox.Size = new System.Drawing.Size(113, 23); + this.hourlyPayRateTextBox.TabIndex = 4; + // + // grossPayLabel + // + this.grossPayLabel.Location = new System.Drawing.Point(104, 86); + this.grossPayLabel.Name = "grossPayLabel"; + this.grossPayLabel.Size = new System.Drawing.Size(113, 23); + this.grossPayLabel.TabIndex = 5; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(7, 115); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(74, 47); + this.button1.TabIndex = 6; + this.button1.Text = "Calculate Gross Pay"; + this.button1.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(87, 115); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(60, 47); + this.button2.TabIndex = 7; + this.button2.Text = "Clear"; + this.button2.UseVisualStyleBackColor = true; + // + // button3 + // + this.button3.Location = new System.Drawing.Point(153, 115); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(64, 47); + this.button3.TabIndex = 8; + this.button3.Text = "Exit"; + this.button3.UseVisualStyleBackColor = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(232, 182); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.grossPayLabel); + this.Controls.Add(this.hourlyPayRateTextBox); + this.Controls.Add(this.hoursWorkedTextBox); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "Form1"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private Label label1; + private Label label2; + private Label label3; + private TextBox hoursWorkedTextBox; + private TextBox hourlyPayRateTextBox; + private TextBox grossPayLabel; + private Button button1; + private Button button2; + private Button button3; + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/Form1.cs b/Lab4/Lab4_2_CalebFontenot/Form1.cs new file mode 100755 index 0000000..fa7b654 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Form1.cs @@ -0,0 +1,10 @@ +namespace Lab4_2_CalebFontenot +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/Form1.resx b/Lab4/Lab4_2_CalebFontenot/Form1.resx new file mode 100755 index 0000000..b5ae26c --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Form1.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj new file mode 100755 index 0000000..45de288 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj.user b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj.user new file mode 100755 index 0000000..f61322e --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.csproj.user @@ -0,0 +1,8 @@ + + + + + Form + + + diff --git a/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.sln b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.sln new file mode 100755 index 0000000..c5abc5e --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Lab4_2_CalebFontenot.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32804.467 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab4_2_CalebFontenot", "Lab4_2_CalebFontenot.csproj", "{7743C58E-36A8-4D74-A0B7-622C3AC3F721}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7743C58E-36A8-4D74-A0B7-622C3AC3F721}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7743C58E-36A8-4D74-A0B7-622C3AC3F721}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7743C58E-36A8-4D74-A0B7-622C3AC3F721}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7743C58E-36A8-4D74-A0B7-622C3AC3F721}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F9F7E116-40F4-47E5-BC20-8531F981E3F3} + EndGlobalSection +EndGlobal diff --git a/Lab4/Lab4_2_CalebFontenot/Program.cs b/Lab4/Lab4_2_CalebFontenot/Program.cs new file mode 100755 index 0000000..af315a3 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/Program.cs @@ -0,0 +1,17 @@ +namespace Lab4_2_CalebFontenot +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100755 index 0000000..32c95f9 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfo.cs b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfo.cs new file mode 100755 index 0000000..fa56652 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Lab4_2_CalebFontenot")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Lab4_2_CalebFontenot")] +[assembly: System.Reflection.AssemblyTitleAttribute("Lab4_2_CalebFontenot")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfoInputs.cache b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfoInputs.cache new file mode 100755 index 0000000..b3a075d --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9c2b9577f8ab632cd6ba56e5d714dccb9450612f diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig new file mode 100755 index 0000000..7a7917e --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,16 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net6.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Lab4_2_CalebFontenot +build_property.ProjectDir = Z:\media\DataEXT4\Documents\ASDV C#\Lab4\Lab4_2_CalebFontenot\ diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GlobalUsings.g.cs b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GlobalUsings.g.cs new file mode 100755 index 0000000..fea4009 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.GlobalUsings.g.cs @@ -0,0 +1,10 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Drawing; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; +global using global::System.Windows.Forms; diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.assets.cache b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.assets.cache new file mode 100755 index 0000000..7c280f9 Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.assets.cache differ diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.csproj.AssemblyReference.cache b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.csproj.AssemblyReference.cache new file mode 100755 index 0000000..f790783 Binary files /dev/null and b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.csproj.AssemblyReference.cache differ diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.deps.json b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.deps.json new file mode 100755 index 0000000..fbeaac4 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.deps.json @@ -0,0 +1,11 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": {} + }, + "libraries": {} +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.runtimeconfig.json b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.runtimeconfig.json new file mode 100755 index 0000000..4ec7c38 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Debug/net6.0-windows/Lab4_2_CalebFontenot.designer.runtimeconfig.json @@ -0,0 +1,22 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\caleb\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\caleb\\.nuget\\packages" + ], + "configProperties": { + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.dgspec.json b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.dgspec.json new file mode 100755 index 0000000..a5747df --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj": {} + }, + "projects": { + "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj", + "projectName": "Lab4_2_CalebFontenot", + "projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj", + "packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\", + "outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.props b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.props new file mode 100755 index 0000000..2a0471e --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\caleb\.nuget\packages\ + PackageReference + 6.3.0 + + + + + \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.targets b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.targets new file mode 100755 index 0000000..35a7576 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/Lab4_2_CalebFontenot.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/project.assets.json b/Lab4/Lab4_2_CalebFontenot/obj/project.assets.json new file mode 100755 index 0000000..617eec1 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/project.assets.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "targets": { + "net6.0-windows7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0-windows7.0": [] + }, + "packageFolders": { + "C:\\Users\\caleb\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj", + "projectName": "Lab4_2_CalebFontenot", + "projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj", + "packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\", + "outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0-windows7.0": { + "targetAlias": "net6.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Lab4/Lab4_2_CalebFontenot/obj/project.nuget.cache b/Lab4/Lab4_2_CalebFontenot/obj/project.nuget.cache new file mode 100755 index 0000000..ce5b280 --- /dev/null +++ b/Lab4/Lab4_2_CalebFontenot/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "rFgUuhsLbFoH+AjKrlbCBUknxqB9804C7Kc19YJ7gzr7wj99MIqBO9Me00DBbDpooNKDpJmot7zNxCAT44Mbcg==", + "success": true, + "projectFilePath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\Lab4\\Lab4_2_CalebFontenot\\Lab4_2_CalebFontenot.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file