This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2022-11-10 14:18:08 -06:00
parent 7023883b85
commit 0c59f6a0b2
139 changed files with 2237 additions and 0 deletions

Binary file not shown.

101
lab6/lab6_1_CalebFontenot/Form1.Designer.cs generated Executable file
View File

@ -0,0 +1,101 @@
namespace lab6_1_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.lightPictureBox = new System.Windows.Forms.PictureBox();
this.lightStateLabel = new System.Windows.Forms.Label();
this.switchButton = new System.Windows.Forms.Button();
this.exitButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.lightPictureBox)).BeginInit();
this.SuspendLayout();
//
// lightPictureBox
//
this.lightPictureBox.Image = global::lab6_1_CalebFontenot.Properties.Resources.LightOff;
this.lightPictureBox.Location = new System.Drawing.Point(12, 12);
this.lightPictureBox.Name = "lightPictureBox";
this.lightPictureBox.Size = new System.Drawing.Size(199, 252);
this.lightPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.lightPictureBox.TabIndex = 0;
this.lightPictureBox.TabStop = false;
//
// lightStateLabel
//
this.lightStateLabel.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
this.lightStateLabel.Location = new System.Drawing.Point(12, 267);
this.lightStateLabel.Name = "lightStateLabel";
this.lightStateLabel.Size = new System.Drawing.Size(199, 36);
this.lightStateLabel.TabIndex = 1;
this.lightStateLabel.Text = "OFF";
this.lightStateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// switchButton
//
this.switchButton.Location = new System.Drawing.Point(12, 306);
this.switchButton.Name = "switchButton";
this.switchButton.Size = new System.Drawing.Size(95, 23);
this.switchButton.TabIndex = 2;
this.switchButton.Text = "Switch Light";
this.switchButton.UseVisualStyleBackColor = true;
this.switchButton.Click += new System.EventHandler(this.switchButton_Click);
//
// exitButton
//
this.exitButton.Location = new System.Drawing.Point(115, 306);
this.exitButton.Name = "exitButton";
this.exitButton.Size = new System.Drawing.Size(95, 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(222, 356);
this.Controls.Add(this.exitButton);
this.Controls.Add(this.switchButton);
this.Controls.Add(this.lightStateLabel);
this.Controls.Add(this.lightPictureBox);
this.Name = "Form1";
this.Text = "Light - Caleb Fontenot";
((System.ComponentModel.ISupportInitialize)(this.lightPictureBox)).EndInit();
this.ResumeLayout(false);
}
#endregion
private PictureBox lightPictureBox;
private Label lightStateLabel;
private Button switchButton;
private Button exitButton;
}
}

View File

@ -0,0 +1,45 @@
namespace lab6_1_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void exitButton_Click(object sender, EventArgs e)
{
this.Close();
}
bool isLit = false;
private void switchButton_Click(object sender, EventArgs e)
{
// Update the light state according to what state we are currently in
if (isLit)
{
isLit = false;
} else
{
isLit = true;
}
lightState(isLit);
}
private void lightState(bool lightState)
{
if (lightState)
{
// Update the label
lightStateLabel.Text = "ON";
// Update the image.
lightPictureBox.Image = Properties.Resources.LightOn;
}
else
{
// Update the label
lightStateLabel.Text = "OFF";
// Update the image.
lightPictureBox.Image = Properties.Resources.LightOff;
}
}
}
}

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 lab6_1_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,83 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace lab6_1_CalebFontenot.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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", "17.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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("lab6_1_CalebFontenot.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap LightOff {
get {
object obj = ResourceManager.GetObject("LightOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap LightOn {
get {
object obj = ResourceManager.GetObject("LightOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -0,0 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LightOff" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LightOff.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LightOn" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LightOn.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"lab6_1_CalebFontenot/1.0.0": {
"runtime": {
"lab6_1_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"lab6_1_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,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</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,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}") = "lab6_1_CalebFontenot", "lab6_1_CalebFontenot.csproj", "{942178FD-17F2-4E0C-9D30-0AEC68DEBA43}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{942178FD-17F2-4E0C-9D30-0AEC68DEBA43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{942178FD-17F2-4E0C-9D30-0AEC68DEBA43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{942178FD-17F2-4E0C-9D30-0AEC68DEBA43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{942178FD-17F2-4E0C-9D30-0AEC68DEBA43}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {100BFB48-9E6E-458B-A456-355ADD885FDE}
EndGlobalSection
EndGlobal

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("lab6_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("lab6_1_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("lab6_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.

View File

@ -0,0 +1 @@
bae15dc81faad155e18b30dfef5507d4d356dfe6

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 = lab6_1_CalebFontenot
build_property.ProjectDir = Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_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 @@
a333a7561f7bc122ff057f17b7f163f5bee540ee

View File

@ -0,0 +1,18 @@
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\bin\Debug\net6.0-windows\lab6_1_CalebFontenot.exe
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\bin\Debug\net6.0-windows\lab6_1_CalebFontenot.deps.json
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\bin\Debug\net6.0-windows\lab6_1_CalebFontenot.runtimeconfig.json
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\bin\Debug\net6.0-windows\lab6_1_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\bin\Debug\net6.0-windows\lab6_1_CalebFontenot.pdb
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.csproj.AssemblyReference.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.Form1.resources
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.Properties.Resources.resources
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.csproj.GenerateResource.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.AssemblyInfoInputs.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.AssemblyInfo.cs
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.csproj.CoreCompileInputs.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\refint\lab6_1_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.pdb
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\lab6_1_CalebFontenot.genruntimeconfig.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_1_CalebFontenot\obj\Debug\net6.0-windows\ref\lab6_1_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,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
}
}
}

View File

@ -0,0 +1 @@
bf3a8b3373a9a0e0e07af3bb2fe2c710a2fc7115

View File

@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj",
"projectName": "lab6_1_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_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"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?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\</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\" />
</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,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#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj",
"projectName": "lab6_1_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_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"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "1TobQ5oUGdUP056xqZJxAQTJRRCDdUxs2UbbVfkwjUBsNjSEfcQSAIPrIa5SRn+KcPVdaC1/m9vLLPPhJYXA/Q==",
"success": true,
"projectFilePath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_1_CalebFontenot\\lab6_1_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}

Binary file not shown.

118
lab6/lab6_2_CalebFontenot/Form1.Designer.cs generated Executable file
View File

@ -0,0 +1,118 @@
namespace lab6_2_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.groupBox1 = new System.Windows.Forms.GroupBox();
this.playingCardPictureBox = new System.Windows.Forms.PictureBox();
this.cardListBox = new System.Windows.Forms.ListBox();
this.showCardButton = new System.Windows.Forms.Button();
this.exitButton = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.playingCardPictureBox)).BeginInit();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.playingCardPictureBox);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(184, 196);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Current Card";
//
// playingCardPictureBox
//
this.playingCardPictureBox.Image = global::lab6_2_CalebFontenot.Properties.Resources.Ace_Spades;
this.playingCardPictureBox.Location = new System.Drawing.Point(6, 22);
this.playingCardPictureBox.Name = "playingCardPictureBox";
this.playingCardPictureBox.Size = new System.Drawing.Size(172, 168);
this.playingCardPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.playingCardPictureBox.TabIndex = 0;
this.playingCardPictureBox.TabStop = false;
//
// cardListBox
//
this.cardListBox.FormattingEnabled = true;
this.cardListBox.ItemHeight = 15;
this.cardListBox.Items.AddRange(new object[] {
"Ace of Spades",
"10 of Hearts",
"King of Clubs"});
this.cardListBox.Location = new System.Drawing.Point(12, 214);
this.cardListBox.Name = "cardListBox";
this.cardListBox.Size = new System.Drawing.Size(178, 64);
this.cardListBox.TabIndex = 1;
//
// showCardButton
//
this.showCardButton.Location = new System.Drawing.Point(12, 284);
this.showCardButton.Name = "showCardButton";
this.showCardButton.Size = new System.Drawing.Size(89, 23);
this.showCardButton.TabIndex = 2;
this.showCardButton.Text = "Show Card";
this.showCardButton.UseVisualStyleBackColor = true;
this.showCardButton.Click += new System.EventHandler(this.showCardButton_Click);
//
// exitButton
//
this.exitButton.Location = new System.Drawing.Point(107, 284);
this.exitButton.Name = "exitButton";
this.exitButton.Size = new System.Drawing.Size(89, 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(208, 316);
this.Controls.Add(this.exitButton);
this.Controls.Add(this.showCardButton);
this.Controls.Add(this.cardListBox);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Form1";
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.playingCardPictureBox)).EndInit();
this.ResumeLayout(false);
}
#endregion
private GroupBox groupBox1;
private PictureBox playingCardPictureBox;
private ListBox cardListBox;
private Button showCardButton;
private Button exitButton;
}
}

View File

@ -0,0 +1,39 @@
namespace lab6_2_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void exitButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void showCardButton_Click(object sender, EventArgs e)
{
// If a card is selected in the List Box, display it.
if (cardListBox.SelectedIndex != -1)
{
showCard(cardListBox.SelectedItem.ToString());
}
}
private void showCard (string card)
{
switch (card)
{
case "Ace of Spades":
playingCardPictureBox.Image = Properties.Resources.Ace_Spades;
break;
case "10 of Hearts":
playingCardPictureBox.Image = Properties.Resources._10_Hearts;
break;
case "King of Clubs":
playingCardPictureBox.Image = Properties.Resources.King_Clubs;
break;
}
}
}
}

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 lab6_2_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,93 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace lab6_2_CalebFontenot.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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", "17.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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("lab6_2_CalebFontenot.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap _10_Hearts {
get {
object obj = ResourceManager.GetObject("10_Hearts", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Ace_Spades {
get {
object obj = ResourceManager.GetObject("Ace_Spades", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap King_Clubs {
get {
object obj = ResourceManager.GetObject("King_Clubs", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="10_Hearts" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\10_Hearts.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Ace_Spades" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Ace_Spades.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="King_Clubs" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\King_Clubs.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"lab6_2_CalebFontenot/1.0.0": {
"runtime": {
"lab6_2_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"lab6_2_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,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</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,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}") = "lab6_2_CalebFontenot", "lab6_2_CalebFontenot.csproj", "{0AFE0F09-80D1-48FA-8891-FF270074F48F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0AFE0F09-80D1-48FA-8891-FF270074F48F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0AFE0F09-80D1-48FA-8891-FF270074F48F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0AFE0F09-80D1-48FA-8891-FF270074F48F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0AFE0F09-80D1-48FA-8891-FF270074F48F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AAE607F4-0923-4338-BD44-DCB6B04FEABE}
EndGlobalSection
EndGlobal

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("lab6_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("lab6_2_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("lab6_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.

View File

@ -0,0 +1 @@
89c1d85f70704e0a862873f1be95bd6cf20c1287

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 = lab6_2_CalebFontenot
build_property.ProjectDir = Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_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 @@
cdc22a4dce11af7f2d8803a793b50fefe5796a2c

View File

@ -0,0 +1,18 @@
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\bin\Debug\net6.0-windows\lab6_2_CalebFontenot.exe
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\bin\Debug\net6.0-windows\lab6_2_CalebFontenot.deps.json
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\bin\Debug\net6.0-windows\lab6_2_CalebFontenot.runtimeconfig.json
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\bin\Debug\net6.0-windows\lab6_2_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\bin\Debug\net6.0-windows\lab6_2_CalebFontenot.pdb
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.csproj.AssemblyReference.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.Form1.resources
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.Properties.Resources.resources
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.csproj.GenerateResource.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.AssemblyInfoInputs.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.AssemblyInfo.cs
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.csproj.CoreCompileInputs.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\refint\lab6_2_CalebFontenot.dll
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.pdb
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\lab6_2_CalebFontenot.genruntimeconfig.cache
Z:\media\DataEXT4\Documents\ASDV C#\lab6\lab6_2_CalebFontenot\obj\Debug\net6.0-windows\ref\lab6_2_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,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
}
}
}

View File

@ -0,0 +1 @@
306d41e8ef37d26e4c6cd2d82db16a1ba825e573

View File

@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj",
"projectName": "lab6_2_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_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"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?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\</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\" />
</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,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#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj",
"projectName": "lab6_2_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_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"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "fOF7CLl1qDFRmlKPTsbfQEzjeRkPMWyOPczaL1GT2a3G2jCZWLzJcIG7BJhKytbFYs1wBUTBlEMxg/W2iw820w==",
"success": true,
"projectFilePath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\lab6\\lab6_2_CalebFontenot\\lab6_2_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}

Some files were not shown because too many files have changed in this diff Show More