lab 7
This commit is contained in:
Binary file not shown.
0
lab7_2/.vs/lab7_3_CalebFontenot/FileContentIndex/read.lock
Executable file
0
lab7_2/.vs/lab7_3_CalebFontenot/FileContentIndex/read.lock
Executable file
BIN
lab7_2/.vs/lab7_3_CalebFontenot/v17/.suo
Executable file
BIN
lab7_2/.vs/lab7_3_CalebFontenot/v17/.suo
Executable file
Binary file not shown.
160
lab7_2/Seating Chart/Form1.Designer.cs
generated
Executable file
160
lab7_2/Seating Chart/Form1.Designer.cs
generated
Executable file
@@ -0,0 +1,160 @@
|
||||
namespace Seating_Chart
|
||||
{
|
||||
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.airplanePictureBox = new System.Windows.Forms.PictureBox();
|
||||
this.priceLabel = new System.Windows.Forms.Label();
|
||||
this.seatPriceDescriptionLabel = new System.Windows.Forms.Label();
|
||||
this.colPromptLabel = new System.Windows.Forms.Label();
|
||||
this.rowPromptLabel = new System.Windows.Forms.Label();
|
||||
this.txtCol = new System.Windows.Forms.TextBox();
|
||||
this.txtRow = new System.Windows.Forms.TextBox();
|
||||
this.exitButton = new System.Windows.Forms.Button();
|
||||
this.displayPriceButton = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.airplanePictureBox)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// airplanePictureBox
|
||||
//
|
||||
this.airplanePictureBox.Image = global::Seating_Chart.Properties.Resources.Airplane;
|
||||
this.airplanePictureBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.airplanePictureBox.Name = "airplanePictureBox";
|
||||
this.airplanePictureBox.Size = new System.Drawing.Size(432, 540);
|
||||
this.airplanePictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.airplanePictureBox.TabIndex = 0;
|
||||
this.airplanePictureBox.TabStop = false;
|
||||
//
|
||||
// priceLabel
|
||||
//
|
||||
this.priceLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.priceLabel.Location = new System.Drawing.Point(335, 26);
|
||||
this.priceLabel.Name = "priceLabel";
|
||||
this.priceLabel.Size = new System.Drawing.Size(76, 23);
|
||||
this.priceLabel.TabIndex = 21;
|
||||
this.priceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// seatPriceDescriptionLabel
|
||||
//
|
||||
this.seatPriceDescriptionLabel.AutoSize = true;
|
||||
this.seatPriceDescriptionLabel.BackColor = System.Drawing.Color.White;
|
||||
this.seatPriceDescriptionLabel.Location = new System.Drawing.Point(273, 31);
|
||||
this.seatPriceDescriptionLabel.Name = "seatPriceDescriptionLabel";
|
||||
this.seatPriceDescriptionLabel.Size = new System.Drawing.Size(56, 13);
|
||||
this.seatPriceDescriptionLabel.TabIndex = 20;
|
||||
this.seatPriceDescriptionLabel.Text = "Seat Price";
|
||||
//
|
||||
// colPromptLabel
|
||||
//
|
||||
this.colPromptLabel.AutoSize = true;
|
||||
this.colPromptLabel.BackColor = System.Drawing.Color.White;
|
||||
this.colPromptLabel.Location = new System.Drawing.Point(7, 48);
|
||||
this.colPromptLabel.Name = "colPromptLabel";
|
||||
this.colPromptLabel.Size = new System.Drawing.Size(79, 13);
|
||||
this.colPromptLabel.TabIndex = 19;
|
||||
this.colPromptLabel.Text = "Enter a Column";
|
||||
//
|
||||
// rowPromptLabel
|
||||
//
|
||||
this.rowPromptLabel.AutoSize = true;
|
||||
this.rowPromptLabel.BackColor = System.Drawing.Color.White;
|
||||
this.rowPromptLabel.Location = new System.Drawing.Point(20, 23);
|
||||
this.rowPromptLabel.Name = "rowPromptLabel";
|
||||
this.rowPromptLabel.Size = new System.Drawing.Size(66, 13);
|
||||
this.rowPromptLabel.TabIndex = 18;
|
||||
this.rowPromptLabel.Text = "Enter a Row";
|
||||
//
|
||||
// txtCol
|
||||
//
|
||||
this.txtCol.Location = new System.Drawing.Point(92, 45);
|
||||
this.txtCol.Name = "txtCol";
|
||||
this.txtCol.Size = new System.Drawing.Size(64, 20);
|
||||
this.txtCol.TabIndex = 17;
|
||||
//
|
||||
// txtRow
|
||||
//
|
||||
this.txtRow.Location = new System.Drawing.Point(92, 19);
|
||||
this.txtRow.Name = "txtRow";
|
||||
this.txtRow.Size = new System.Drawing.Size(64, 20);
|
||||
this.txtRow.TabIndex = 16;
|
||||
//
|
||||
// exitButton
|
||||
//
|
||||
this.exitButton.Location = new System.Drawing.Point(220, 554);
|
||||
this.exitButton.Name = "exitButton";
|
||||
this.exitButton.Size = new System.Drawing.Size(75, 38);
|
||||
this.exitButton.TabIndex = 23;
|
||||
this.exitButton.Text = "Exit";
|
||||
this.exitButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// displayPriceButton
|
||||
//
|
||||
this.displayPriceButton.Location = new System.Drawing.Point(139, 554);
|
||||
this.displayPriceButton.Name = "displayPriceButton";
|
||||
this.displayPriceButton.Size = new System.Drawing.Size(75, 38);
|
||||
this.displayPriceButton.TabIndex = 22;
|
||||
this.displayPriceButton.Text = "Display Price";
|
||||
this.displayPriceButton.UseVisualStyleBackColor = true;
|
||||
this.displayPriceButton.Click += new System.EventHandler(this.displayPriceButton_Click);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(434, 604);
|
||||
this.Controls.Add(this.exitButton);
|
||||
this.Controls.Add(this.displayPriceButton);
|
||||
this.Controls.Add(this.priceLabel);
|
||||
this.Controls.Add(this.seatPriceDescriptionLabel);
|
||||
this.Controls.Add(this.colPromptLabel);
|
||||
this.Controls.Add(this.rowPromptLabel);
|
||||
this.Controls.Add(this.txtCol);
|
||||
this.Controls.Add(this.txtRow);
|
||||
this.Controls.Add(this.airplanePictureBox);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Seating Chart";
|
||||
((System.ComponentModel.ISupportInitialize)(this.airplanePictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox airplanePictureBox;
|
||||
internal System.Windows.Forms.Label priceLabel;
|
||||
internal System.Windows.Forms.Label seatPriceDescriptionLabel;
|
||||
internal System.Windows.Forms.Label colPromptLabel;
|
||||
internal System.Windows.Forms.Label rowPromptLabel;
|
||||
internal System.Windows.Forms.TextBox txtCol;
|
||||
internal System.Windows.Forms.TextBox txtRow;
|
||||
internal System.Windows.Forms.Button exitButton;
|
||||
internal System.Windows.Forms.Button displayPriceButton;
|
||||
}
|
||||
}
|
||||
|
34
lab7_2/Seating Chart/Form1.cs
Executable file
34
lab7_2/Seating Chart/Form1.cs
Executable file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Seating_Chart
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void displayPriceButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Variables for the selected row and column
|
||||
int row, col;
|
||||
|
||||
const int MAX_ROW = 5;
|
||||
const int MAX_COL = 3;
|
||||
|
||||
// Create an array with the seat prices
|
||||
decimal[,] prices =
|
||||
{
|
||||
{450m, 450m, 450m, 450m },
|
||||
{425 }
|
||||
}
|
||||
}
|
||||
}
|
120
lab7_2/Seating Chart/Form1.resx
Executable file
120
lab7_2/Seating Chart/Form1.resx
Executable file
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
21
lab7_2/Seating Chart/Program.cs
Executable file
21
lab7_2/Seating Chart/Program.cs
Executable file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Seating_Chart
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
36
lab7_2/Seating Chart/Properties/AssemblyInfo.cs
Executable file
36
lab7_2/Seating Chart/Properties/AssemblyInfo.cs
Executable file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Seating Chart")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("Seating Chart")]
|
||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("4d5a95c9-3fa2-4730-87c3-002433cc51e4")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
73
lab7_2/Seating Chart/Properties/Resources.Designer.cs
generated
Executable file
73
lab7_2/Seating Chart/Properties/Resources.Designer.cs
generated
Executable file
@@ -0,0 +1,73 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 Seating_Chart.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("Seating_Chart.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 Airplane {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Airplane", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
124
lab7_2/Seating Chart/Properties/Resources.resx
Executable file
124
lab7_2/Seating Chart/Properties/Resources.resx
Executable file
@@ -0,0 +1,124 @@
|
||||
<?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="Airplane" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Airplane.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
26
lab7_2/Seating Chart/Properties/Settings.Designer.cs
generated
Executable file
26
lab7_2/Seating Chart/Properties/Settings.Designer.cs
generated
Executable file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 Seating_Chart.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
lab7_2/Seating Chart/Properties/Settings.settings
Executable file
7
lab7_2/Seating Chart/Properties/Settings.settings
Executable file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
BIN
lab7_2/Seating Chart/Resources/Airplane.bmp
Executable file
BIN
lab7_2/Seating Chart/Resources/Airplane.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
95
lab7_2/Seating Chart/Seating Chart.csproj
Executable file
95
lab7_2/Seating Chart/Seating Chart.csproj
Executable file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Seating_Chart</RootNamespace>
|
||||
<AssemblyName>lab7_3_CalebFontenot</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="app.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Airplane.bmp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
3
lab7_2/Seating Chart/app.config
Executable file
3
lab7_2/Seating Chart/app.config
Executable file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.exe
Executable file
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.exe
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.pdb
Executable file
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.pdb
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.vshost.exe
Executable file
BIN
lab7_2/Seating Chart/bin/Debug/Seating Chart.vshost.exe
Executable file
Binary file not shown.
11
lab7_2/Seating Chart/bin/Debug/Seating Chart.vshost.exe.manifest
Executable file
11
lab7_2/Seating Chart/bin/Debug/Seating Chart.vshost.exe.manifest
Executable file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
BIN
lab7_2/Seating Chart/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Executable file
Binary file not shown.
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.csproj.AssemblyReference.cache
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.csproj.AssemblyReference.cache
Executable file
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.exe
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\bin\Debug\Seating Chart.pdb
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Form1.resources
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating_Chart.Properties.Resources.resources
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.csproj.GenerateResource.Cache
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.exe
|
||||
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Chap07\Seating Chart\Seating Chart\obj\x86\Debug\Seating Chart.pdb
|
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.csproj.GenerateResource.Cache
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.csproj.GenerateResource.Cache
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.exe
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.exe
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.pdb
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating Chart.pdb
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating_Chart.Form1.resources
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating_Chart.Form1.resources
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating_Chart.Properties.Resources.resources
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/Seating_Chart.Properties.Resources.resources
Executable file
Binary file not shown.
BIN
lab7_2/Seating Chart/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll
Executable file
BIN
lab7_2/Seating Chart/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll
Executable file
Binary file not shown.
22
lab7_2/lab7_3_CalebFontenot.sln
Executable file
22
lab7_2/lab7_3_CalebFontenot.sln
Executable file
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27703.2042
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Seating Chart", "Seating Chart\Seating Chart.csproj", "{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}.Debug|x86.Build.0 = Debug|x86
|
||||
{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}.Release|x86.ActiveCfg = Release|x86
|
||||
{1B6E3ECD-DD32-4450-A28B-3072AFB79B28}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Reference in New Issue
Block a user