Complete MP5

This commit is contained in:
2022-11-27 17:11:02 -06:00
parent 52d6e079df
commit ae12b42c28
153 changed files with 1344 additions and 215 deletions

View File

@@ -1,34 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Seating_Chart
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void displayPriceButton_Click(object sender, EventArgs e)
{
// Variables for the selected row and column
int row, col;
const int MAX_ROW = 5;
const int MAX_COL = 3;
// Create an array with the seat prices
decimal[,] prices =
{
{450m, 450m, 450m, 450m },
{425 }
}
}
}

View File

@@ -1,7 +0,0 @@
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.csproj.GenerateResource.Cache
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -33,8 +33,8 @@
this.seatPriceDescriptionLabel = new System.Windows.Forms.Label();
this.colPromptLabel = new System.Windows.Forms.Label();
this.rowPromptLabel = new System.Windows.Forms.Label();
this.txtCol = new System.Windows.Forms.TextBox();
this.txtRow = new System.Windows.Forms.TextBox();
this.colTextBox = new System.Windows.Forms.TextBox();
this.rowTextBox = new System.Windows.Forms.TextBox();
this.exitButton = new System.Windows.Forms.Button();
this.displayPriceButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.airplanePictureBox)).BeginInit();
@@ -89,19 +89,19 @@
this.rowPromptLabel.TabIndex = 18;
this.rowPromptLabel.Text = "Enter a Row";
//
// txtCol
// colTextBox
//
this.txtCol.Location = new System.Drawing.Point(92, 45);
this.txtCol.Name = "txtCol";
this.txtCol.Size = new System.Drawing.Size(64, 20);
this.txtCol.TabIndex = 17;
this.colTextBox.Location = new System.Drawing.Point(92, 45);
this.colTextBox.Name = "colTextBox";
this.colTextBox.Size = new System.Drawing.Size(64, 20);
this.colTextBox.TabIndex = 17;
//
// txtRow
// rowTextBox
//
this.txtRow.Location = new System.Drawing.Point(92, 19);
this.txtRow.Name = "txtRow";
this.txtRow.Size = new System.Drawing.Size(64, 20);
this.txtRow.TabIndex = 16;
this.rowTextBox.Location = new System.Drawing.Point(92, 19);
this.rowTextBox.Name = "rowTextBox";
this.rowTextBox.Size = new System.Drawing.Size(64, 20);
this.rowTextBox.TabIndex = 16;
//
// exitButton
//
@@ -111,6 +111,7 @@
this.exitButton.TabIndex = 23;
this.exitButton.Text = "Exit";
this.exitButton.UseVisualStyleBackColor = true;
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
//
// displayPriceButton
//
@@ -133,8 +134,8 @@
this.Controls.Add(this.seatPriceDescriptionLabel);
this.Controls.Add(this.colPromptLabel);
this.Controls.Add(this.rowPromptLabel);
this.Controls.Add(this.txtCol);
this.Controls.Add(this.txtRow);
this.Controls.Add(this.colTextBox);
this.Controls.Add(this.rowTextBox);
this.Controls.Add(this.airplanePictureBox);
this.Name = "Form1";
this.Text = "Seating Chart";
@@ -151,8 +152,8 @@
internal System.Windows.Forms.Label seatPriceDescriptionLabel;
internal System.Windows.Forms.Label colPromptLabel;
internal System.Windows.Forms.Label rowPromptLabel;
internal System.Windows.Forms.TextBox txtCol;
internal System.Windows.Forms.TextBox txtRow;
internal System.Windows.Forms.TextBox colTextBox;
internal System.Windows.Forms.TextBox rowTextBox;
internal System.Windows.Forms.Button exitButton;
internal System.Windows.Forms.Button displayPriceButton;
}

View File

@@ -0,0 +1,83 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Seating_Chart
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void displayPriceButton_Click(object sender, EventArgs e)
{
// Variables for the selected row and column
int row, col;
const int MAX_ROW = 5;
const int MAX_COL = 3;
// Create an array with the seat prices
decimal[,] prices =
{
{ 450m, 450m, 450m, 450m },
{ 425m, 425m, 425m, 425m },
{ 400m, 400m, 400m, 400m },
{ 375m, 375m, 375m, 475m },
{ 375m, 375m, 375m, 475m },
{ 350m, 350m, 350m, 450m }
};
// Get the selected row number.
if (int.TryParse(rowTextBox.Text, out row))
{
// Get the selected column number.
if (int.TryParse(colTextBox.Text, out col))
{
// Make sure the row is within range.
if (row >= 0 && row <= MAX_ROW)
{
if (col >= 0 && col <= MAX_COL)
{
// Display the selected seat's price.
priceLabel.Text = prices[row, col].ToString("c");
}
else
{
// Error message for invalid column.
MessageBox.Show("Column must be 0 through " + MAX_COL);
}
}
else
{
// Error message for invalid row.
MessageBox.Show("Column must be 0 through " + MAX_ROW);
}
}
else
{
// Display an error message for noninteger column.
MessageBox.Show("Enter an integer for the column.");
}
}
else
{
// Display an error message for noninteger row.
MessageBox.Show("Enter an integer for the row.");
}
}
private void exitButton_Click(object sender, EventArgs e)
{
// Close the form.
this.Close();
}
}
}

View File

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

View File

@@ -0,0 +1 @@
21a18ec2dcff4dc749995cd776cef5ae1dc795b4

View File

@@ -0,0 +1,18 @@
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.csproj.GenerateResource.Cache
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\bin\Debug\lab7_3_CalebFontenot.exe.config
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\bin\Debug\lab7_3_CalebFontenot.exe
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\bin\Debug\lab7_3_CalebFontenot.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating Chart.csproj.AssemblyReference.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating Chart.csproj.SuggestedBindingRedirects.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating_Chart.Form1.resources
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating_Chart.Properties.Resources.resources
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating Chart.csproj.GenerateResource.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\Seating Chart.csproj.CoreCompileInputs.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\lab7_3_CalebFontenot.exe
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_3_CalebFontenot\Seating Chart\obj\x86\Debug\lab7_3_CalebFontenot.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab7_4_CalebFontenot", "lab7_4_CalebFontenot\lab7_4_CalebFontenot.csproj", "{E129FCA3-802F-40ED-B8C8-8CD60995001E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E129FCA3-802F-40ED-B8C8-8CD60995001E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E129FCA3-802F-40ED-B8C8-8CD60995001E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E129FCA3-802F-40ED-B8C8-8CD60995001E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E129FCA3-802F-40ED-B8C8-8CD60995001E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {78307BD1-9D11-445F-9110-1E7E85396DBA}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,155 @@
namespace lab7_4_CalebFontenot
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.testScoresListBox = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.averageTextBox = new System.Windows.Forms.TextBox();
this.aboveAverageTextBox = new System.Windows.Forms.TextBox();
this.belowAverageTextBox = new System.Windows.Forms.TextBox();
this.getScoresButton = new System.Windows.Forms.Button();
this.exitButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// testScoresListBox
//
this.testScoresListBox.FormattingEnabled = true;
this.testScoresListBox.ItemHeight = 15;
this.testScoresListBox.Location = new System.Drawing.Point(12, 12);
this.testScoresListBox.Name = "testScoresListBox";
this.testScoresListBox.Size = new System.Drawing.Size(196, 139);
this.testScoresListBox.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(351, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(85, 15);
this.label1.TabIndex = 1;
this.label1.Text = "Average Score:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(250, 49);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(188, 15);
this.label2.TabIndex = 2;
this.label2.Text = "Number of Scores Above Average:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(250, 83);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(186, 15);
this.label3.TabIndex = 3;
this.label3.Text = "Number of Scores Below Average:";
//
// averageTextBox
//
this.averageTextBox.Location = new System.Drawing.Point(454, 12);
this.averageTextBox.Name = "averageTextBox";
this.averageTextBox.ReadOnly = true;
this.averageTextBox.Size = new System.Drawing.Size(100, 23);
this.averageTextBox.TabIndex = 4;
//
// aboveAverageTextBox
//
this.aboveAverageTextBox.Location = new System.Drawing.Point(454, 46);
this.aboveAverageTextBox.Name = "aboveAverageTextBox";
this.aboveAverageTextBox.ReadOnly = true;
this.aboveAverageTextBox.Size = new System.Drawing.Size(100, 23);
this.aboveAverageTextBox.TabIndex = 5;
//
// belowAverageTextBox
//
this.belowAverageTextBox.Location = new System.Drawing.Point(454, 80);
this.belowAverageTextBox.Name = "belowAverageTextBox";
this.belowAverageTextBox.ReadOnly = true;
this.belowAverageTextBox.Size = new System.Drawing.Size(100, 23);
this.belowAverageTextBox.TabIndex = 6;
//
// getScoresButton
//
this.getScoresButton.Location = new System.Drawing.Point(218, 155);
this.getScoresButton.Name = "getScoresButton";
this.getScoresButton.Size = new System.Drawing.Size(75, 23);
this.getScoresButton.TabIndex = 7;
this.getScoresButton.Text = "Get Scores";
this.getScoresButton.UseVisualStyleBackColor = true;
this.getScoresButton.Click += new System.EventHandler(this.getScoresButton_Click);
//
// exitButton
//
this.exitButton.Location = new System.Drawing.Point(299, 155);
this.exitButton.Name = "exitButton";
this.exitButton.Size = new System.Drawing.Size(75, 23);
this.exitButton.TabIndex = 8;
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(564, 188);
this.Controls.Add(this.exitButton);
this.Controls.Add(this.getScoresButton);
this.Controls.Add(this.belowAverageTextBox);
this.Controls.Add(this.aboveAverageTextBox);
this.Controls.Add(this.averageTextBox);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.testScoresListBox);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private ListBox testScoresListBox;
private Label label1;
private Label label2;
private Label label3;
private TextBox averageTextBox;
private TextBox aboveAverageTextBox;
private TextBox belowAverageTextBox;
private Button getScoresButton;
private Button exitButton;
}
}

View File

@@ -0,0 +1,151 @@
namespace lab7_4_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
/*
* The Scores method reads the scores from the
* TestScores.txt file into the scoresList parameter.
*/
private void ReadScores(List<int> scoresList)
{
try
{
// Open the TestScores.txt file.
StreamReader inputFile = File.OpenText("TestScores.txt");
// Read the scores into the list.
while (!inputFile.EndOfStream)
{
scoresList.Add(int.Parse(inputFile.ReadLine()));
}
// Close the file.
inputFile.Close();
} catch (Exception ex)
{
// Display an error message.
MessageBox.Show(ex.Message);
}
}
/*
* The DisplayScores method displayes the contents of the
* scoresList parameter in the ListBox control.
*/
private void DisplayScores(List<int> scoresList)
{
testScoresListBox.Items.Clear();
foreach (int score in scoresList)
{
testScoresListBox.Items.Add(score);
}
}
/*
* The Average method displayes the contents of the
* scoresList parameter in the ListBox control.
*/
private double Average(List<int> scoresList)
{
int total = 0; // Accumulator
double average; // To hold the average
// Calculate the total of the scores.
foreach (int score in scoresList)
{
total += score;
}
// Calculate the average of the scores.
average = (double)total / scoresList.Count;
// Return the average.
return average;
}
/*
* The AboveAverage method returns the number of
* above average scores in scoresList.
*/
private int AboveAverage(List<int> scoresList)
{
int numAbove = 0; // Accumulator
// Get the average score.
double avg = Average(scoresList);
// Count the number of above average scores.
foreach (int score in scoresList)
{
if (score > avg)
{
numAbove++;
}
}
// Return the number of above average scores.
return numAbove;
}
/*
* The BelowAverage method returns the number of below average scores in scoresList.
*/
private int BelowAverage(List<int> scoresList)
{
int numBelow = 0; // Accumulator
// Get the average score.
double avg = Average(scoresList);
// Count the number of below average scores.
foreach (int score in scoresList)
{
if (score < avg)
{
numBelow++;
}
}
// Return the number of below average scores.
return numBelow;
}
private void getScoresButton_Click(object sender, EventArgs e)
{
double averageScore; // To hold the average score
// Create a List to hold the scores.
List<int> scoresList = new List<int>();
// Read the scores from the file into the List.
ReadScores(scoresList);
int numAboveAverage = AboveAverage(scoresList); // Number of above average scores
int numBelowAverage = BelowAverage(scoresList); // Number of below average scores
// Display the scores.
DisplayScores(scoresList);
// Display the average score.
averageScore = Average(scoresList);
averageTextBox.Text = averageScore.ToString("n1");
// Display the number of above average scores.
numAboveAverage = AboveAverage(scoresList);
aboveAverageTextBox.Text = numAboveAverage.ToString();
// Display the number of below average scores.
numBelowAverage = BelowAverage(scoresList);
belowAverageTextBox.Text = numBelowAverage.ToString();
}
private void exitButton_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,17 @@
namespace lab7_4_CalebFontenot
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[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());
}
}
}

View File

@@ -0,0 +1,5 @@
70
65
88
100
90

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"lab7_4_CalebFontenot/1.0.0": {
"runtime": {
"lab7_4_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"lab7_4_CalebFontenot/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -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"
}
]
}
}

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("lab7_4_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("lab7_4_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("lab7_4_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.

View File

@@ -0,0 +1 @@
99e1fdb8131f7723134361615955df9492c27e45

View File

@@ -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 = lab7_4_CalebFontenot
build_property.ProjectDir = Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\

View File

@@ -0,0 +1,10 @@
// <auto-generated/>
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;

View File

@@ -0,0 +1 @@
1f2f5310b1d76d414bcfec1a11ff2efb49fa104e

View File

@@ -0,0 +1,17 @@
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\bin\Debug\net6.0-windows\lab7_4_CalebFontenot.exe
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\bin\Debug\net6.0-windows\lab7_4_CalebFontenot.deps.json
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\bin\Debug\net6.0-windows\lab7_4_CalebFontenot.runtimeconfig.json
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\bin\Debug\net6.0-windows\lab7_4_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\bin\Debug\net6.0-windows\lab7_4_CalebFontenot.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.csproj.AssemblyReference.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.Form1.resources
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.csproj.GenerateResource.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.AssemblyInfoInputs.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.AssemblyInfo.cs
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.csproj.CoreCompileInputs.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\refint\lab7_4_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\lab7_4_CalebFontenot.genruntimeconfig.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\lab7_2\lab7_4_CalebFontenot\lab7_4_CalebFontenot\obj\Debug\net6.0-windows\ref\lab7_4_CalebFontenot.dll

View File

@@ -0,0 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {}
},
"libraries": {}
}

View File

@@ -0,0 +1,23 @@
{
"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",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

View File

@@ -0,0 +1 @@
920844cf97aedce8a468998a3ff20b26b12ff7fe

View File

@@ -0,0 +1,70 @@
{
"format": 1,
"restore": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj",
"projectName": "lab7_4_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.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.402\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\caleb\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\caleb\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,76 @@
{
"version": 3,
"targets": {
"net6.0-windows7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net6.0-windows7.0": []
},
"packageFolders": {
"C:\\Users\\caleb\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj",
"projectName": "lab7_4_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.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.402\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "qui/Z9VFpAe2u2ioQcaV+yVnWk7AXc1Kq9Ll/zvs0ZqaTXAUOzUxQr5ts4IUPqxzqabOpw53UfG2Aey1F5R7Tg==",
"success": true,
"projectFilePath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\lab7_2\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot\\lab7_4_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}