work on MP3

master
Chloe Fontenot 🏳️‍⚧️ 2022-11-01 22:54:25 +07:00
parent 3c210b246e
commit ab47a38924
123 changed files with 1962 additions and 0 deletions

@ -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}") = "DiceSimulator_CalebFontenot", "DiceSimulator_CalebFontenot\DiceSimulator_CalebFontenot.csproj", "{E5539133-A6E7-4839-ACFB-7C5BB71096A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E5539133-A6E7-4839-ACFB-7C5BB71096A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5539133-A6E7-4839-ACFB-7C5BB71096A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5539133-A6E7-4839-ACFB-7C5BB71096A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5539133-A6E7-4839-ACFB-7C5BB71096A9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E5122698-A621-4CB9-923A-A28DB36C1427}
EndGlobalSection
EndGlobal

@ -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>

@ -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>

@ -0,0 +1,87 @@
namespace DiceSimulator_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.rollButton = new System.Windows.Forms.Button();
this.debugLabel = new System.Windows.Forms.Label();
this.diePicture = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.diePicture)).BeginInit();
this.SuspendLayout();
//
// rollButton
//
this.rollButton.Location = new System.Drawing.Point(12, 135);
this.rollButton.Name = "rollButton";
this.rollButton.Size = new System.Drawing.Size(124, 25);
this.rollButton.TabIndex = 0;
this.rollButton.Text = "Roll Die";
this.rollButton.UseVisualStyleBackColor = true;
this.rollButton.Click += new System.EventHandler(this.rollButton_Click);
//
// debugLabel
//
this.debugLabel.Location = new System.Drawing.Point(12, 163);
this.debugLabel.Name = "debugLabel";
this.debugLabel.Size = new System.Drawing.Size(124, 23);
this.debugLabel.TabIndex = 1;
this.debugLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// diePicture
//
this.diePicture.Image = global::DiceSimulator_CalebFontenot.Properties.Resources.Die6;
this.diePicture.Location = new System.Drawing.Point(12, 12);
this.diePicture.Name = "diePicture";
this.diePicture.Size = new System.Drawing.Size(124, 117);
this.diePicture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.diePicture.TabIndex = 2;
this.diePicture.TabStop = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(148, 186);
this.Controls.Add(this.diePicture);
this.Controls.Add(this.debugLabel);
this.Controls.Add(this.rollButton);
this.Name = "Form1";
this.Text = "Form1";
//this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.diePicture)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Button rollButton;
private Label debugLabel;
private PictureBox diePicture;
}
}

@ -0,0 +1,45 @@
namespace DiceSimulator_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void rollButton_Click(object sender, EventArgs e)
{
// Define variables
int random;
// Create a rng (random number generator) object
Random rng = new Random();
// Set random to a random number
random = rng.Next(1, 6);
debugLabel.Text = "You rolled a " + random + ".";
switch (random) {
case 1:
diePicture.Image = Properties.Resources.Die1; // Set die picture to Die1.
break;
case 2:
diePicture.Image = Properties.Resources.Die2; // Set die picture to Die2.
break;
case 3:
diePicture.Image = Properties.Resources.Die3; // Set die picture to Die3.
break;
case 4:
diePicture.Image = Properties.Resources.Die4; // Set die picture to Die4.
break;
case 5:
diePicture.Image = Properties.Resources.Die5; // Set die picture to Die5.
break;
case 6:
diePicture.Image = Properties.Resources.Die6; // Set die picture to Die6.
break;
}
}
}
}

@ -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>

@ -0,0 +1,17 @@
namespace DiceSimulator_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());
}
}
}

@ -0,0 +1,123 @@
//------------------------------------------------------------------------------
// <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 DiceSimulator_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("DiceSimulator_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 Die1 {
get {
object obj = ResourceManager.GetObject("Die1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Die2 {
get {
object obj = ResourceManager.GetObject("Die2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Die3 {
get {
object obj = ResourceManager.GetObject("Die3", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Die4 {
get {
object obj = ResourceManager.GetObject("Die4", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Die5 {
get {
object obj = ResourceManager.GetObject("Die5", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Die6 {
get {
object obj = ResourceManager.GetObject("Die6", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

@ -0,0 +1,139 @@
<?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="Die1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Die2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die2.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Die3" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die3.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Die4" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die4.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Die5" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die5.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Die6" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Die6.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: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

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

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

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

@ -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("DiceSimulator_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("DiceSimulator_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("DiceSimulator_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.

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

@ -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;

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

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

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

@ -0,0 +1,70 @@
{
"format": 1,
"restore": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj",
"projectName": "DiceSimulator_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_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"
}
}
}
}
}

@ -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>

@ -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" />

@ -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\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj",
"projectName": "DiceSimulator_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_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"
}
}
}
}

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "Q1FlZHJ/7ppTgkjkbGix2i45Xihks0yf4ppnKIcwbGxb3dXsk2Jwe8uj9rT/sDJksrB8OMrGy+S1jmH/yoeb8Q==",
"success": true,
"projectFilePath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot\\DiceSimulator_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}

@ -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}") = "Factorial_CalebFontenot", "Factorial_CalebFontenot\Factorial_CalebFontenot.csproj", "{1BF58C61-0EBA-48B6-8C76-3FC7FEA375EB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1BF58C61-0EBA-48B6-8C76-3FC7FEA375EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1BF58C61-0EBA-48B6-8C76-3FC7FEA375EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BF58C61-0EBA-48B6-8C76-3FC7FEA375EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BF58C61-0EBA-48B6-8C76-3FC7FEA375EB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3092B6F6-EAF4-4AAD-A4BA-C873C175DBAF}
EndGlobalSection
EndGlobal

@ -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>

@ -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>

@ -0,0 +1,59 @@
namespace Factorial_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.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(200, 100);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
#endregion
private GroupBox groupBox1;
}
}

@ -0,0 +1,10 @@
namespace Factorial_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

@ -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>

@ -0,0 +1,17 @@
namespace Factorial_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());
}
}
}

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

@ -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("Factorial_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("Factorial_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("Factorial_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.

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

@ -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;

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

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

@ -0,0 +1,70 @@
{
"format": 1,
"restore": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj",
"projectName": "Factorial_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_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"
}
}
}
}
}

@ -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>

@ -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" />

@ -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\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj",
"projectName": "Factorial_CalebFontenot",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_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"
}
}
}
}

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "7WvA2SPszjxrqlfLKbSju43AiLsNDiFRvVgYDaUAnI0+wBF9JRdMnK8fQ3LG89WhiZZaAk32zIx4DkZK21uiDA==",
"success": true,
"projectFilePath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP3\\Factorial_CalebFontenot\\Factorial_CalebFontenot\\Factorial_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}

@ -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}") = "RandomNumberGuessing_CalebFontenot", "RandomNumberGuessing_CalebFontenot\RandomNumberGuessing_CalebFontenot.csproj", "{9ED51449-E951-4E2B-A029-97DEAA8353A0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9ED51449-E951-4E2B-A029-97DEAA8353A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9ED51449-E951-4E2B-A029-97DEAA8353A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9ED51449-E951-4E2B-A029-97DEAA8353A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9ED51449-E951-4E2B-A029-97DEAA8353A0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CCFB6FB9-00E1-4D2B-A2AE-7FCD5363DAC1}
EndGlobalSection
EndGlobal

@ -0,0 +1,138 @@
namespace RandomNumberGuessing_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.cheatFeedback = new System.Windows.Forms.Label();
this.feedbackLabel = new System.Windows.Forms.Label();
this.userInputTextBox = new System.Windows.Forms.TextBox();
this.guessButton = new System.Windows.Forms.Button();
this.cheatingEnabled = new System.Windows.Forms.CheckBox();
this.startGame = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.cheatFeedback);
this.groupBox1.Controls.Add(this.feedbackLabel);
this.groupBox1.Controls.Add(this.userInputTextBox);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(170, 134);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Guess a number 0-100";
//
// cheatFeedback
//
this.cheatFeedback.Location = new System.Drawing.Point(6, 111);
this.cheatFeedback.Name = "cheatFeedback";
this.cheatFeedback.Size = new System.Drawing.Size(158, 20);
this.cheatFeedback.TabIndex = 3;
this.cheatFeedback.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// feedbackLabel
//
this.feedbackLabel.Location = new System.Drawing.Point(6, 48);
this.feedbackLabel.Name = "feedbackLabel";
this.feedbackLabel.Size = new System.Drawing.Size(158, 51);
this.feedbackLabel.TabIndex = 2;
this.feedbackLabel.Text = "Ready.";
this.feedbackLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// userInputTextBox
//
this.userInputTextBox.Location = new System.Drawing.Point(6, 22);
this.userInputTextBox.Name = "userInputTextBox";
this.userInputTextBox.Size = new System.Drawing.Size(158, 23);
this.userInputTextBox.TabIndex = 1;
this.userInputTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// guessButton
//
this.guessButton.Enabled = false;
this.guessButton.Location = new System.Drawing.Point(12, 152);
this.guessButton.Name = "guessButton";
this.guessButton.Size = new System.Drawing.Size(83, 23);
this.guessButton.TabIndex = 1;
this.guessButton.Text = "Guess";
this.guessButton.UseVisualStyleBackColor = true;
this.guessButton.Click += new System.EventHandler(this.guessButton_Click);
//
// cheatingEnabled
//
this.cheatingEnabled.AutoSize = true;
this.cheatingEnabled.Location = new System.Drawing.Point(61, 181);
this.cheatingEnabled.Name = "cheatingEnabled";
this.cheatingEnabled.Size = new System.Drawing.Size(89, 19);
this.cheatingEnabled.TabIndex = 2;
this.cheatingEnabled.Text = "cheat mode";
this.cheatingEnabled.UseVisualStyleBackColor = true;
this.cheatingEnabled.CheckedChanged += new System.EventHandler(this.cheatingEnabled_CheckedChanged);
//
// startGame
//
this.startGame.Location = new System.Drawing.Point(101, 152);
this.startGame.Name = "startGame";
this.startGame.Size = new System.Drawing.Size(81, 23);
this.startGame.TabIndex = 3;
this.startGame.Text = "New Game";
this.startGame.UseVisualStyleBackColor = true;
this.startGame.Click += new System.EventHandler(this.startGame_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(194, 206);
this.Controls.Add(this.startGame);
this.Controls.Add(this.cheatingEnabled);
this.Controls.Add(this.guessButton);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Form1";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private GroupBox groupBox1;
private Label cheatFeedback;
private Label feedbackLabel;
private TextBox userInputTextBox;
private Button guessButton;
private CheckBox cheatingEnabled;
private Button startGame;
}
}

@ -0,0 +1,82 @@
namespace RandomNumberGuessing_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void updateCheating()
{
// Check if cheating is enabled.
if (cheatingEnabled.Checked)
{
cheatFeedback.Text = "The number is " + random;
}
}
private void cheatingEnabled_CheckedChanged(object sender, EventArgs e)
{
if (!cheatingEnabled.Checked)
{
cheatFeedback.Text = "";
} else
{
updateCheating();
}
}
int numberOfTries = 0, random;
private void startGame_Click(object sender, EventArgs e)
{
// Create rng object.
Random rng = new Random();
// Reset try counter.
numberOfTries = 0;
// Generate a random number between 0 and 100.
random = rng.Next(0, 100);
// Disable startGame, enable guessButton.
startGame.Enabled = false;
guessButton.Enabled = true;
feedbackLabel.Text = "Guess a number!";
updateCheating();
}
private void guessButton_Click(object sender, EventArgs e)
{
// Define variables
int userInput;
updateCheating();
// Get input from textbox.
if (!int.TryParse(userInputTextBox.Text, out userInput))
{
MessageBox.Show("You didn't enter a number!");
}
if (userInput < random)
{
feedbackLabel.Text = "Guess Higher.";
numberOfTries++;
} else if (userInput > random)
{
feedbackLabel.Text = "Guess Lower.";
numberOfTries++;
} else
{
feedbackLabel.Text = "Correct! It took you " + numberOfTries + " tries to guess the number.";
startGame.Enabled = true;
guessButton.Enabled = false;
}
}
}
}

@ -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>

@ -0,0 +1,17 @@
namespace RandomNumberGuessing_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());
}
}
}

@ -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>

@ -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>

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

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

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

@ -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("RandomNumberGuessing_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("RandomNumberGuessing_CalebFontenot")]
[assembly: System.Reflection.AssemblyTitleAttribute("RandomNumberGuessing_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.

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