This commit is contained in:
2022-08-30 14:15:11 -05:00
parent 1b1bb9c82c
commit 4b176b99a0
3226 changed files with 155063 additions and 60 deletions

View 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}") = "ErrorProvider Demo", "ErrorProvider Demo\ErrorProvider Demo.csproj", "{9AA7EE5F-868E-4D61-A223-985871F0DB83}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9AA7EE5F-868E-4D61-A223-985871F0DB83}.Debug|x86.ActiveCfg = Debug|x86
{9AA7EE5F-868E-4D61-A223-985871F0DB83}.Debug|x86.Build.0 = Debug|x86
{9AA7EE5F-868E-4D61-A223-985871F0DB83}.Release|x86.ActiveCfg = Release|x86
{9AA7EE5F-868E-4D61-A223-985871F0DB83}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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>{9AA7EE5F-868E-4D61-A223-985871F0DB83}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ErrorProvider_Demo</RootNamespace>
<AssemblyName>ErrorProvider Demo</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</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>
</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>
</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>
</Compile>
<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>
<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>

View File

@@ -0,0 +1,138 @@
namespace ErrorProvider_Demo
{
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.components = new System.ComponentModel.Container();
this.calcButton = new System.Windows.Forms.Button();
this.grossPayLabel = new System.Windows.Forms.Label();
this.descriptionGrossPayLabel = new System.Windows.Forms.Label();
this.promptPayRateLabel = new System.Windows.Forms.Label();
this.payRateTextBox = new System.Windows.Forms.TextBox();
this.hoursTextBox = new System.Windows.Forms.TextBox();
this.promptHoursWorkedLabel = new System.Windows.Forms.Label();
this.ErrorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).BeginInit();
this.SuspendLayout();
//
// calcButton
//
this.calcButton.Location = new System.Drawing.Point(114, 141);
this.calcButton.Name = "calcButton";
this.calcButton.Size = new System.Drawing.Size(75, 36);
this.calcButton.TabIndex = 20;
this.calcButton.Text = "Calculate Gross Pay";
this.calcButton.UseVisualStyleBackColor = true;
this.calcButton.Click += new System.EventHandler(this.calcButton_Click);
//
// grossPayLabel
//
this.grossPayLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.grossPayLabel.Location = new System.Drawing.Point(158, 95);
this.grossPayLabel.Name = "grossPayLabel";
this.grossPayLabel.Size = new System.Drawing.Size(100, 23);
this.grossPayLabel.TabIndex = 19;
//
// descriptionGrossPayLabel
//
this.descriptionGrossPayLabel.AutoSize = true;
this.descriptionGrossPayLabel.Location = new System.Drawing.Point(95, 96);
this.descriptionGrossPayLabel.Name = "descriptionGrossPayLabel";
this.descriptionGrossPayLabel.Size = new System.Drawing.Size(57, 13);
this.descriptionGrossPayLabel.TabIndex = 18;
this.descriptionGrossPayLabel.Text = "Gross pay:";
//
// promptPayRateLabel
//
this.promptPayRateLabel.AutoSize = true;
this.promptPayRateLabel.Location = new System.Drawing.Point(27, 57);
this.promptPayRateLabel.Name = "promptPayRateLabel";
this.promptPayRateLabel.Size = new System.Drawing.Size(125, 13);
this.promptPayRateLabel.TabIndex = 17;
this.promptPayRateLabel.Text = "Enter the hourly pay rate:";
//
// payRateTextBox
//
this.payRateTextBox.Location = new System.Drawing.Point(158, 54);
this.payRateTextBox.Name = "payRateTextBox";
this.payRateTextBox.Size = new System.Drawing.Size(100, 20);
this.payRateTextBox.TabIndex = 16;
//
// hoursTextBox
//
this.hoursTextBox.Location = new System.Drawing.Point(158, 17);
this.hoursTextBox.Name = "hoursTextBox";
this.hoursTextBox.Size = new System.Drawing.Size(100, 20);
this.hoursTextBox.TabIndex = 15;
//
// promptHoursWorkedLabel
//
this.promptHoursWorkedLabel.AutoSize = true;
this.promptHoursWorkedLabel.Location = new System.Drawing.Point(32, 20);
this.promptHoursWorkedLabel.Name = "promptHoursWorkedLabel";
this.promptHoursWorkedLabel.Size = new System.Drawing.Size(120, 13);
this.promptHoursWorkedLabel.TabIndex = 14;
this.promptHoursWorkedLabel.Text = "Enter the hours worked:";
//
// ErrorProvider1
//
this.ErrorProvider1.ContainerControl = this;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 194);
this.Controls.Add(this.calcButton);
this.Controls.Add(this.grossPayLabel);
this.Controls.Add(this.descriptionGrossPayLabel);
this.Controls.Add(this.promptPayRateLabel);
this.Controls.Add(this.payRateTextBox);
this.Controls.Add(this.hoursTextBox);
this.Controls.Add(this.promptHoursWorkedLabel);
this.Name = "Form1";
this.Text = "ErrorProvider Demo";
((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.Button calcButton;
internal System.Windows.Forms.Label grossPayLabel;
internal System.Windows.Forms.Label descriptionGrossPayLabel;
internal System.Windows.Forms.Label promptPayRateLabel;
internal System.Windows.Forms.TextBox payRateTextBox;
internal System.Windows.Forms.TextBox hoursTextBox;
internal System.Windows.Forms.Label promptHoursWorkedLabel;
internal System.Windows.Forms.ErrorProvider ErrorProvider1;
}
}

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ErrorProvider_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void calcButton_Click(object sender, EventArgs e)
{
// Variables for hours, pay rate, and gross pay
decimal hours, payRate, grossPay;
// Clear any existing errors.
ErrorProvider1.SetError(hoursTextBox, "");
ErrorProvider1.SetError(payRateTextBox, "");
// Get values and calculate gross pay.
if (decimal.TryParse(hoursTextBox.Text, out hours))
{
if (decimal.TryParse(payRateTextBox.Text, out payRate))
{
// Calculate the gross pay.
grossPay = hours * payRate;
// Display the gross pay.
grossPayLabel.Text = grossPay.ToString("c");
}
else
{
// Invalid pay rate
ErrorProvider1.SetError(payRateTextBox,
"Pay rate must be numeric.");
}
}
else
{
// Invalid hours
ErrorProvider1.SetError(hoursTextBox,
"Hours must be numeric.");
}
}
}
}

View File

@@ -0,0 +1,123 @@
<?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>
<metadata name="ErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ErrorProvider_Demo
{
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());
}
}
}

View 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("ErrorProvider Demo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("ErrorProvider Demo")]
[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("ccf749a4-3b1b-455e-8c3d-d982eed0a5a9")]
// 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")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ErrorProvider_Demo.Properties
{
/// <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", "4.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 ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ErrorProvider_Demo.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ErrorProvider_Demo.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.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;
}
}
}
}

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

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

View File

@@ -0,0 +1,23 @@
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\GenerateResource.read.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.csproj.GenerateResource.Cache
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\bin\Debug\ErrorProvider Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\ErrorProvider Demo\ErrorProvider Demo\obj\x86\Debug\ErrorProvider Demo.csproj.GenerateResource.Cache

View 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}") = "HScrollBar Demo", "HScrollBar Demo\HScrollBar Demo.csproj", "{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}.Debug|x86.ActiveCfg = Debug|x86
{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}.Debug|x86.Build.0 = Debug|x86
{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}.Release|x86.ActiveCfg = Release|x86
{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,96 @@
namespace HScrollBar_Demo
{
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.outputDescriptionLabel = new System.Windows.Forms.Label();
this.promptLabel = new System.Windows.Forms.Label();
this.valueLabel = new System.Windows.Forms.Label();
this.hScrollBar = new System.Windows.Forms.HScrollBar();
this.SuspendLayout();
//
// outputDescriptionLabel
//
this.outputDescriptionLabel.AutoSize = true;
this.outputDescriptionLabel.Location = new System.Drawing.Point(79, 26);
this.outputDescriptionLabel.Name = "outputDescriptionLabel";
this.outputDescriptionLabel.Size = new System.Drawing.Size(37, 13);
this.outputDescriptionLabel.TabIndex = 11;
this.outputDescriptionLabel.Text = "Value:";
//
// promptLabel
//
this.promptLabel.AutoSize = true;
this.promptLabel.Location = new System.Drawing.Point(72, 101);
this.promptLabel.Name = "promptLabel";
this.promptLabel.Size = new System.Drawing.Size(123, 13);
this.promptLabel.TabIndex = 10;
this.promptLabel.Text = "Slide to adjust the value.";
//
// valueLabel
//
this.valueLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.valueLabel.Location = new System.Drawing.Point(122, 21);
this.valueLabel.Name = "valueLabel";
this.valueLabel.Size = new System.Drawing.Size(65, 23);
this.valueLabel.TabIndex = 9;
//
// hScrollBar
//
this.hScrollBar.Location = new System.Drawing.Point(30, 68);
this.hScrollBar.Name = "hScrollBar";
this.hScrollBar.Size = new System.Drawing.Size(206, 23);
this.hScrollBar.TabIndex = 8;
this.hScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_Scroll);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(267, 134);
this.Controls.Add(this.outputDescriptionLabel);
this.Controls.Add(this.promptLabel);
this.Controls.Add(this.valueLabel);
this.Controls.Add(this.hScrollBar);
this.Name = "Form1";
this.Text = "HScrollBar Demo";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.Label outputDescriptionLabel;
internal System.Windows.Forms.Label promptLabel;
internal System.Windows.Forms.Label valueLabel;
internal System.Windows.Forms.HScrollBar hScrollBar;
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HScrollBar_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
hScrollBar.Value = 0;
hScrollBar.Minimum = 0;
hScrollBar.Maximum = 100;
hScrollBar.LargeChange = 10;
hScrollBar.SmallChange = 1;
// Display the scroll bar's initial value
// in the label control.
valueLabel.Text = hScrollBar.Value.ToString();
}
private void hScrollBar_Scroll(object sender, ScrollEventArgs e)
{
// Display the scroll bar value.
valueLabel.Text = hScrollBar.Value.ToString();
}
}
}

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

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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>{828A1947-D56B-4EBA-8ABE-EEE66549E6B8}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HScrollBar_Demo</RootNamespace>
<AssemblyName>HScrollBar Demo</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</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>
</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>
</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>
</Compile>
<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>
<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>

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace HScrollBar_Demo
{
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());
}
}
}

View 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("HScrollBar Demo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("HScrollBar Demo")]
[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("60c6afa2-d96b-410b-8512-78fb93487bce")]
// 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")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace HScrollBar_Demo.Properties
{
/// <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", "4.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 ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HScrollBar_Demo.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace HScrollBar_Demo.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.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;
}
}
}
}

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

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

View File

@@ -0,0 +1,25 @@
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\GenerateResource.read.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.csprojResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.csproj.GenerateResource.Cache
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\bin\Debug\HScrollBar Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.csprojResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\HScrollBar Demo\HScrollBar Demo\obj\x86\Debug\HScrollBar Demo.csproj.GenerateResource.Cache

View 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}") = "Selected Text Demo", "Selected Text Demo\Selected Text Demo.csproj", "{81351D20-21C8-43D9-9D45-269B17C2C141}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{81351D20-21C8-43D9-9D45-269B17C2C141}.Debug|x86.ActiveCfg = Debug|x86
{81351D20-21C8-43D9-9D45-269B17C2C141}.Debug|x86.Build.0 = Debug|x86
{81351D20-21C8-43D9-9D45-269B17C2C141}.Release|x86.ActiveCfg = Release|x86
{81351D20-21C8-43D9-9D45-269B17C2C141}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,138 @@
namespace Selected_Text_Demo
{
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.components = new System.ComponentModel.Container();
this.ErrorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
this.calcButton = new System.Windows.Forms.Button();
this.grossPayLabel = new System.Windows.Forms.Label();
this.descriptionGrossPayLabel = new System.Windows.Forms.Label();
this.promptPayRateLabel = new System.Windows.Forms.Label();
this.payRateTextBox = new System.Windows.Forms.TextBox();
this.hoursTextBox = new System.Windows.Forms.TextBox();
this.promptHoursWorkedLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).BeginInit();
this.SuspendLayout();
//
// ErrorProvider1
//
this.ErrorProvider1.ContainerControl = this;
//
// calcButton
//
this.calcButton.Location = new System.Drawing.Point(114, 141);
this.calcButton.Name = "calcButton";
this.calcButton.Size = new System.Drawing.Size(75, 36);
this.calcButton.TabIndex = 27;
this.calcButton.Text = "Calculate Gross Pay";
this.calcButton.UseVisualStyleBackColor = true;
this.calcButton.Click += new System.EventHandler(this.calcButton_Click);
//
// grossPayLabel
//
this.grossPayLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.grossPayLabel.Location = new System.Drawing.Point(158, 95);
this.grossPayLabel.Name = "grossPayLabel";
this.grossPayLabel.Size = new System.Drawing.Size(100, 23);
this.grossPayLabel.TabIndex = 26;
//
// descriptionGrossPayLabel
//
this.descriptionGrossPayLabel.AutoSize = true;
this.descriptionGrossPayLabel.Location = new System.Drawing.Point(95, 96);
this.descriptionGrossPayLabel.Name = "descriptionGrossPayLabel";
this.descriptionGrossPayLabel.Size = new System.Drawing.Size(57, 13);
this.descriptionGrossPayLabel.TabIndex = 25;
this.descriptionGrossPayLabel.Text = "Gross pay:";
//
// promptPayRateLabel
//
this.promptPayRateLabel.AutoSize = true;
this.promptPayRateLabel.Location = new System.Drawing.Point(27, 57);
this.promptPayRateLabel.Name = "promptPayRateLabel";
this.promptPayRateLabel.Size = new System.Drawing.Size(125, 13);
this.promptPayRateLabel.TabIndex = 24;
this.promptPayRateLabel.Text = "Enter the hourly pay rate:";
//
// payRateTextBox
//
this.payRateTextBox.Location = new System.Drawing.Point(158, 54);
this.payRateTextBox.Name = "payRateTextBox";
this.payRateTextBox.Size = new System.Drawing.Size(100, 20);
this.payRateTextBox.TabIndex = 23;
//
// hoursTextBox
//
this.hoursTextBox.Location = new System.Drawing.Point(158, 17);
this.hoursTextBox.Name = "hoursTextBox";
this.hoursTextBox.Size = new System.Drawing.Size(100, 20);
this.hoursTextBox.TabIndex = 22;
//
// promptHoursWorkedLabel
//
this.promptHoursWorkedLabel.AutoSize = true;
this.promptHoursWorkedLabel.Location = new System.Drawing.Point(32, 20);
this.promptHoursWorkedLabel.Name = "promptHoursWorkedLabel";
this.promptHoursWorkedLabel.Size = new System.Drawing.Size(120, 13);
this.promptHoursWorkedLabel.TabIndex = 21;
this.promptHoursWorkedLabel.Text = "Enter the hours worked:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 194);
this.Controls.Add(this.calcButton);
this.Controls.Add(this.grossPayLabel);
this.Controls.Add(this.descriptionGrossPayLabel);
this.Controls.Add(this.promptPayRateLabel);
this.Controls.Add(this.payRateTextBox);
this.Controls.Add(this.hoursTextBox);
this.Controls.Add(this.promptHoursWorkedLabel);
this.Name = "Form1";
this.Text = "Selected Text Demo";
((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.ErrorProvider ErrorProvider1;
internal System.Windows.Forms.Button calcButton;
internal System.Windows.Forms.Label grossPayLabel;
internal System.Windows.Forms.Label descriptionGrossPayLabel;
internal System.Windows.Forms.Label promptPayRateLabel;
internal System.Windows.Forms.TextBox payRateTextBox;
internal System.Windows.Forms.TextBox hoursTextBox;
internal System.Windows.Forms.Label promptHoursWorkedLabel;
}
}

View File

@@ -0,0 +1,67 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Selected_Text_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void calcButton_Click(object sender, EventArgs e)
{
// Variables for hours, pay rate, and gross pay
decimal hours, payRate, grossPay;
// Clear any existing errors.
ErrorProvider1.SetError(hoursTextBox, "");
ErrorProvider1.SetError(payRateTextBox, "");
// Get values and calculate gross pay.
if (decimal.TryParse(hoursTextBox.Text, out hours))
{
if (decimal.TryParse(payRateTextBox.Text, out payRate))
{
// Calculate the gross pay.
grossPay = hours * payRate;
// Display the gross pay.
grossPayLabel.Text = grossPay.ToString("c");
}
else
{
// Invalid pay rate
ErrorProvider1.SetError(payRateTextBox,
"Pay rate must be numeric.");
// Select the invalid input.
payRateTextBox.Focus();
payRateTextBox.SelectionStart = 0;
payRateTextBox.SelectionLength =
payRateTextBox.Text.Length;
}
}
else
{
// Invalid hours
ErrorProvider1.SetError(hoursTextBox,
"Hours must be numeric.");
// Select the invalid input.
hoursTextBox.Focus();
hoursTextBox.SelectionStart = 0;
hoursTextBox.SelectionLength =
hoursTextBox.Text.Length;
}
}
}
}

View File

@@ -0,0 +1,123 @@
<?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>
<metadata name="ErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Selected_Text_Demo
{
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());
}
}
}

View 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("Selected Text Demo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Selected Text Demo")]
[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("1f93570a-86f9-4ccc-8bf9-7584ecac3243")]
// 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")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Selected_Text_Demo.Properties
{
/// <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", "4.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 ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Selected_Text_Demo.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Selected_Text_Demo.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.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;
}
}
}
}

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

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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>{81351D20-21C8-43D9-9D45-269B17C2C141}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Selected_Text_Demo</RootNamespace>
<AssemblyName>Selected Text Demo</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</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>
</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>
</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>
</Compile>
<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>
<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>

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

View File

@@ -0,0 +1,18 @@
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\bin\Debug\Selected Text Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\bin\Debug\Selected Text Demo.pdb
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected_Text_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected_Text_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\GenerateResource.read.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\bin\Debug\Selected Text Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\bin\Debug\Selected Text Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected_Text_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected_Text_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\Selected Text Demo\Selected Text Demo\obj\x86\Debug\Selected Text Demo.csproj.GenerateResource.Cache

View 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}") = "TabControl Demo", "TabControl Demo\TabControl Demo.csproj", "{1A6C3A49-91F3-431A-86EB-36C4350B6748}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1A6C3A49-91F3-431A-86EB-36C4350B6748}.Debug|x86.ActiveCfg = Debug|x86
{1A6C3A49-91F3-431A-86EB-36C4350B6748}.Debug|x86.Build.0 = Debug|x86
{1A6C3A49-91F3-431A-86EB-36C4350B6748}.Release|x86.ActiveCfg = Release|x86
{1A6C3A49-91F3-431A-86EB-36C4350B6748}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,151 @@
namespace TabControl_Demo
{
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.TabControl1 = new System.Windows.Forms.TabControl();
this.TabPage1 = new System.Windows.Forms.TabPage();
this.PictureBox1 = new System.Windows.Forms.PictureBox();
this.TabPage2 = new System.Windows.Forms.TabPage();
this.PictureBox2 = new System.Windows.Forms.PictureBox();
this.TabPage3 = new System.Windows.Forms.TabPage();
this.PictureBox3 = new System.Windows.Forms.PictureBox();
this.TabControl1.SuspendLayout();
this.TabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
this.TabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit();
this.TabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit();
this.SuspendLayout();
//
// TabControl1
//
this.TabControl1.Controls.Add(this.TabPage1);
this.TabControl1.Controls.Add(this.TabPage2);
this.TabControl1.Controls.Add(this.TabPage3);
this.TabControl1.Location = new System.Drawing.Point(1, -1);
this.TabControl1.Name = "TabControl1";
this.TabControl1.SelectedIndex = 0;
this.TabControl1.Size = new System.Drawing.Size(283, 266);
this.TabControl1.TabIndex = 2;
//
// TabPage1
//
this.TabPage1.Controls.Add(this.PictureBox1);
this.TabPage1.Location = new System.Drawing.Point(4, 22);
this.TabPage1.Name = "TabPage1";
this.TabPage1.Padding = new System.Windows.Forms.Padding(3);
this.TabPage1.Size = new System.Drawing.Size(275, 240);
this.TabPage1.TabIndex = 0;
this.TabPage1.Text = "Beach";
this.TabPage1.UseVisualStyleBackColor = true;
//
// PictureBox1
//
this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image")));
this.PictureBox1.Location = new System.Drawing.Point(23, 25);
this.PictureBox1.Name = "PictureBox1";
this.PictureBox1.Size = new System.Drawing.Size(219, 185);
this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.PictureBox1.TabIndex = 0;
this.PictureBox1.TabStop = false;
//
// TabPage2
//
this.TabPage2.Controls.Add(this.PictureBox2);
this.TabPage2.Location = new System.Drawing.Point(4, 22);
this.TabPage2.Name = "TabPage2";
this.TabPage2.Padding = new System.Windows.Forms.Padding(3);
this.TabPage2.Size = new System.Drawing.Size(275, 240);
this.TabPage2.TabIndex = 1;
this.TabPage2.Text = "City";
this.TabPage2.UseVisualStyleBackColor = true;
//
// PictureBox2
//
this.PictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox2.Image")));
this.PictureBox2.Location = new System.Drawing.Point(28, 28);
this.PictureBox2.Name = "PictureBox2";
this.PictureBox2.Size = new System.Drawing.Size(219, 185);
this.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.PictureBox2.TabIndex = 1;
this.PictureBox2.TabStop = false;
//
// TabPage3
//
this.TabPage3.Controls.Add(this.PictureBox3);
this.TabPage3.Location = new System.Drawing.Point(4, 22);
this.TabPage3.Name = "TabPage3";
this.TabPage3.Size = new System.Drawing.Size(275, 240);
this.TabPage3.TabIndex = 2;
this.TabPage3.Text = "Mountains";
this.TabPage3.UseVisualStyleBackColor = true;
//
// PictureBox3
//
this.PictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox3.Image")));
this.PictureBox3.Location = new System.Drawing.Point(28, 28);
this.PictureBox3.Name = "PictureBox3";
this.PictureBox3.Size = new System.Drawing.Size(219, 185);
this.PictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.PictureBox3.TabIndex = 2;
this.PictureBox3.TabStop = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 264);
this.Controls.Add(this.TabControl1);
this.Name = "Form1";
this.Text = "TabControl Demo";
this.TabControl1.ResumeLayout(false);
this.TabPage1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
this.TabPage2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit();
this.TabPage3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit();
this.ResumeLayout(false);
}
#endregion
internal System.Windows.Forms.TabControl TabControl1;
internal System.Windows.Forms.TabPage TabPage1;
internal System.Windows.Forms.PictureBox PictureBox1;
internal System.Windows.Forms.TabPage TabPage2;
internal System.Windows.Forms.PictureBox PictureBox2;
internal System.Windows.Forms.TabPage TabPage3;
internal System.Windows.Forms.PictureBox PictureBox3;
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TabControl_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TabControl_Demo
{
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());
}
}
}

View 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("TabControl Demo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("TabControl Demo")]
[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("5947287c-ebb9-4ba9-b70a-c8949fb3608c")]
// 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")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TabControl_Demo.Properties
{
/// <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", "4.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 ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TabControl_Demo.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TabControl_Demo.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.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;
}
}
}
}

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

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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>{1A6C3A49-91F3-431A-86EB-36C4350B6748}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TabControl_Demo</RootNamespace>
<AssemblyName>TabControl Demo</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</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>
</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>
</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>
</Compile>
<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>
<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>

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

View File

@@ -0,0 +1,18 @@
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\bin\Debug\TabControl Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\bin\Debug\TabControl Demo.pdb
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\GenerateResource.read.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.exe
C:\Users\Tony\Documents\Books\C#\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.pdb
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.exe
C:\Users\Tony\Documents\Books\C#\3rd Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\bin\Debug\TabControl Demo.exe
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\bin\Debug\TabControl Demo.pdb
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl_Demo.Form1.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl_Demo.Properties.Resources.resources
C:\Users\Tony\Documents\Books\C#\4th Edition\Student Sample Programs\Appendix B\TabControl Demo\TabControl Demo\obj\x86\Debug\TabControl Demo.csproj.GenerateResource.Cache

View 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}") = "ToolTip Demo", "ToolTip Demo\ToolTip Demo.csproj", "{FD68F599-8C12-482E-82E9-2CCB5DB08B3A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FD68F599-8C12-482E-82E9-2CCB5DB08B3A}.Debug|x86.ActiveCfg = Debug|x86
{FD68F599-8C12-482E-82E9-2CCB5DB08B3A}.Debug|x86.Build.0 = Debug|x86
{FD68F599-8C12-482E-82E9-2CCB5DB08B3A}.Release|x86.ActiveCfg = Release|x86
{FD68F599-8C12-482E-82E9-2CCB5DB08B3A}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

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