Delete projectFixedForm/Project Code Backups/03 01 2021 1651/A2Cw_Clark0 directory

master
Crimson Tome 2021-09-29 12:13:22 +01:00 committed by GitHub
parent 947af31084
commit e2e72daca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 0 additions and 1766 deletions

View File

@ -1,25 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29424.173
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "A2Cw_Clark0", "A2Cw_Clark0\A2Cw_Clark0.csproj", "{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {53CC11B7-B3E1-4C11-8970-ECCB6566C047}
EndGlobalSection
EndGlobal

View File

@ -1,83 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5AAC2E12-701A-4BFE-A159-9CC1BC649C4A}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>A2Cw_Clark0</RootNamespace>
<AssemblyName>A2Cw_Clark0</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</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|AnyCPU' ">
<PlatformTarget>AnyCPU</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.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="sortsAndSearches.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sortsAndSearches.Designer.cs">
<DependentUpon>sortsAndSearches.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="sortsAndSearches.resx">
<DependentUpon>sortsAndSearches.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>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

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

View File

@ -1,22 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace A2Cw_Clark0
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new sortsAndSearches());
}
}
}

View File

@ -1,36 +0,0 @@
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("A2Cw_Clark0")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("A2Cw_Clark0")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[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("5aac2e12-701a-4bfe-a159-9cc1bc649c4a")]
// 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

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace A2Cw_Clark0.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("A2Cw_Clark0.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

@ -1,117 +0,0 @@
<?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

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

@ -1,7 +0,0 @@
<?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

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

View File

@ -1,79 +0,0 @@
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Form1.resources
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\4matt\source\repos\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Form1.resources
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\Downloads\A2Cw_Clark0-20201112T090430Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Form1.resources
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\source\repos\A2Cw_Clark0-20201115T202002Z-001\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Form1.resources
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\4matt\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Form1.resources
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\CS\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.sortsAndSearches.resources
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
F:\project\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
F:\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
F:\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
F:\project\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.sortsAndSearches.resources
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\4matt\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csprojAssemblyReference.cache
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.sortsAndSearches.resources
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.Properties.Resources.resources
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.GenerateResource.cache
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.csproj.CoreCompileInputs.cache
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\obj\Debug\A2Cw_Clark0.pdb
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe.config
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.exe
C:\Users\matthew-clark\OneDrive - York College\CS\projectFixedForm\A2Cw_Clark0\A2Cw_Clark0\bin\Debug\A2Cw_Clark0.pdb

View File

@ -1,411 +0,0 @@
using System;
namespace A2Cw_Clark0
{
partial class sortsAndSearches
{
/// <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.btnStart = new System.Windows.Forms.Button();
this.btnExit = new System.Windows.Forms.Button();
this.txtInput = new System.Windows.Forms.TextBox();
this.lblInput = new System.Windows.Forms.Label();
this.btnShowList = new System.Windows.Forms.Button();
this.btnAddNumber = new System.Windows.Forms.Button();
this.txtArraySize = new System.Windows.Forms.TextBox();
this.lblArraySize = new System.Windows.Forms.Label();
this.lblArrayData = new System.Windows.Forms.Label();
this.btnArrayHelp = new System.Windows.Forms.Button();
this.btnDrawBars = new System.Windows.Forms.Button();
this.btnBubbleSort = new System.Windows.Forms.Button();
this.btnLinearSearch = new System.Windows.Forms.Button();
this.txtSearchData = new System.Windows.Forms.TextBox();
this.lblSearch = new System.Windows.Forms.Label();
this.lblhelp = new System.Windows.Forms.Label();
this.btnInsertionSort = new System.Windows.Forms.Button();
this.btnMergeSort = new System.Windows.Forms.Button();
this.btnQuickSort = new System.Windows.Forms.Button();
this.btnBinarySearch = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.lblShowSteps = new System.Windows.Forms.Label();
this.chkShowSteps = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// btnStart
//
this.btnStart.BackColor = System.Drawing.Color.Gray;
this.btnStart.Font = new System.Drawing.Font("Comic Sans MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnStart.ForeColor = System.Drawing.Color.Yellow;
this.btnStart.Location = new System.Drawing.Point(565, 285);
this.btnStart.Name = "btnStart";
this.btnStart.Size = new System.Drawing.Size(234, 124);
this.btnStart.TabIndex = 0;
this.btnStart.Text = "Start";
this.btnStart.UseVisualStyleBackColor = false;
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// btnExit
//
this.btnExit.BackColor = System.Drawing.Color.Gray;
this.btnExit.Font = new System.Drawing.Font("Comic Sans MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExit.ForeColor = System.Drawing.Color.Yellow;
this.btnExit.Location = new System.Drawing.Point(325, 285);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(234, 124);
this.btnExit.TabIndex = 1;
this.btnExit.Text = "Exit";
this.btnExit.UseVisualStyleBackColor = false;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// txtInput
//
this.txtInput.BackColor = System.Drawing.Color.White;
this.txtInput.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtInput.ForeColor = System.Drawing.Color.Yellow;
this.txtInput.Location = new System.Drawing.Point(129, 197);
this.txtInput.Name = "txtInput";
this.txtInput.Size = new System.Drawing.Size(324, 26);
this.txtInput.TabIndex = 2;
this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
//
// lblInput
//
this.lblInput.AutoSize = true;
this.lblInput.BackColor = System.Drawing.Color.Black;
this.lblInput.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblInput.ForeColor = System.Drawing.Color.Yellow;
this.lblInput.Location = new System.Drawing.Point(27, 108);
this.lblInput.Name = "lblInput";
this.lblInput.Size = new System.Drawing.Size(765, 18);
this.lblInput.TabIndex = 3;
this.lblInput.Text = "If you are using your own data please enter it below then press start when ready " +
"or if using random numbers just press start";
this.lblInput.Click += new System.EventHandler(this.lblInput_Click);
//
// btnShowList
//
this.btnShowList.BackColor = System.Drawing.Color.Gray;
this.btnShowList.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnShowList.ForeColor = System.Drawing.Color.Yellow;
this.btnShowList.Location = new System.Drawing.Point(129, 229);
this.btnShowList.Name = "btnShowList";
this.btnShowList.Size = new System.Drawing.Size(108, 39);
this.btnShowList.TabIndex = 4;
this.btnShowList.Text = "Show list";
this.btnShowList.UseVisualStyleBackColor = false;
this.btnShowList.Click += new System.EventHandler(this.btnShowList_Click);
//
// btnAddNumber
//
this.btnAddNumber.BackColor = System.Drawing.Color.Gray;
this.btnAddNumber.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnAddNumber.ForeColor = System.Drawing.Color.Yellow;
this.btnAddNumber.Location = new System.Drawing.Point(243, 229);
this.btnAddNumber.Name = "btnAddNumber";
this.btnAddNumber.Size = new System.Drawing.Size(158, 39);
this.btnAddNumber.TabIndex = 5;
this.btnAddNumber.Text = "Add number to list";
this.btnAddNumber.UseVisualStyleBackColor = false;
this.btnAddNumber.Click += new System.EventHandler(this.btnAddNumber_Click);
//
// txtArraySize
//
this.txtArraySize.BackColor = System.Drawing.Color.White;
this.txtArraySize.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtArraySize.ForeColor = System.Drawing.Color.Yellow;
this.txtArraySize.Location = new System.Drawing.Point(129, 165);
this.txtArraySize.Name = "txtArraySize";
this.txtArraySize.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.txtArraySize.Size = new System.Drawing.Size(324, 26);
this.txtArraySize.TabIndex = 6;
this.txtArraySize.TextChanged += new System.EventHandler(this.txtArraySize_TextChanged);
//
// lblArraySize
//
this.lblArraySize.AutoSize = true;
this.lblArraySize.BackColor = System.Drawing.Color.Black;
this.lblArraySize.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblArraySize.ForeColor = System.Drawing.Color.Yellow;
this.lblArraySize.Location = new System.Drawing.Point(29, 168);
this.lblArraySize.Name = "lblArraySize";
this.lblArraySize.Size = new System.Drawing.Size(94, 23);
this.lblArraySize.TabIndex = 7;
this.lblArraySize.Text = "Array size:";
//
// lblArrayData
//
this.lblArrayData.AutoSize = true;
this.lblArrayData.BackColor = System.Drawing.Color.Black;
this.lblArrayData.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblArrayData.ForeColor = System.Drawing.Color.Yellow;
this.lblArrayData.Location = new System.Drawing.Point(26, 196);
this.lblArrayData.Name = "lblArrayData";
this.lblArrayData.Size = new System.Drawing.Size(97, 23);
this.lblArrayData.TabIndex = 8;
this.lblArrayData.Text = "Array data:";
//
// btnArrayHelp
//
this.btnArrayHelp.BackColor = System.Drawing.Color.Gray;
this.btnArrayHelp.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnArrayHelp.ForeColor = System.Drawing.Color.Yellow;
this.btnArrayHelp.Location = new System.Drawing.Point(30, 285);
this.btnArrayHelp.Name = "btnArrayHelp";
this.btnArrayHelp.Size = new System.Drawing.Size(121, 124);
this.btnArrayHelp.TabIndex = 10;
this.btnArrayHelp.Text = "Array config help";
this.btnArrayHelp.UseVisualStyleBackColor = false;
this.btnArrayHelp.Click += new System.EventHandler(this.btnArrayHelp_Click);
//
// btnDrawBars
//
this.btnDrawBars.BackColor = System.Drawing.Color.Gray;
this.btnDrawBars.Font = new System.Drawing.Font("Comic Sans MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnDrawBars.ForeColor = System.Drawing.Color.Yellow;
this.btnDrawBars.Location = new System.Drawing.Point(157, 285);
this.btnDrawBars.Name = "btnDrawBars";
this.btnDrawBars.Size = new System.Drawing.Size(162, 124);
this.btnDrawBars.TabIndex = 11;
this.btnDrawBars.Text = "Draw bars";
this.btnDrawBars.UseVisualStyleBackColor = false;
this.btnDrawBars.Click += new System.EventHandler(this.btnDrawBars_Click);
//
// btnBubbleSort
//
this.btnBubbleSort.BackColor = System.Drawing.Color.Gray;
this.btnBubbleSort.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnBubbleSort.ForeColor = System.Drawing.Color.Yellow;
this.btnBubbleSort.Location = new System.Drawing.Point(26, 12);
this.btnBubbleSort.Name = "btnBubbleSort";
this.btnBubbleSort.Size = new System.Drawing.Size(118, 81);
this.btnBubbleSort.TabIndex = 12;
this.btnBubbleSort.Text = "Bubble Sort";
this.btnBubbleSort.UseVisualStyleBackColor = false;
this.btnBubbleSort.Click += new System.EventHandler(this.btnBubbleSort_Click);
//
// btnLinearSearch
//
this.btnLinearSearch.BackColor = System.Drawing.Color.Gray;
this.btnLinearSearch.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnLinearSearch.ForeColor = System.Drawing.Color.Yellow;
this.btnLinearSearch.Location = new System.Drawing.Point(538, 12);
this.btnLinearSearch.Name = "btnLinearSearch";
this.btnLinearSearch.Size = new System.Drawing.Size(118, 81);
this.btnLinearSearch.TabIndex = 13;
this.btnLinearSearch.Text = "Linear search";
this.btnLinearSearch.UseVisualStyleBackColor = false;
this.btnLinearSearch.Click += new System.EventHandler(this.btnLinearSearch_Click);
//
// txtSearchData
//
this.txtSearchData.BackColor = System.Drawing.Color.White;
this.txtSearchData.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSearchData.ForeColor = System.Drawing.Color.Yellow;
this.txtSearchData.Location = new System.Drawing.Point(565, 169);
this.txtSearchData.Name = "txtSearchData";
this.txtSearchData.Size = new System.Drawing.Size(100, 23);
this.txtSearchData.TabIndex = 14;
this.txtSearchData.TextChanged += new System.EventHandler(this.txtSearchData_TextChanged);
//
// lblSearch
//
this.lblSearch.AutoSize = true;
this.lblSearch.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblSearch.ForeColor = System.Drawing.Color.Yellow;
this.lblSearch.Location = new System.Drawing.Point(459, 165);
this.lblSearch.Name = "lblSearch";
this.lblSearch.Size = new System.Drawing.Size(103, 23);
this.lblSearch.TabIndex = 15;
this.lblSearch.Text = "Search data:";
//
// lblhelp
//
this.lblhelp.AutoSize = true;
this.lblhelp.BackColor = System.Drawing.Color.Black;
this.lblhelp.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblhelp.ForeColor = System.Drawing.Color.Yellow;
this.lblhelp.Location = new System.Drawing.Point(23, 126);
this.lblhelp.Name = "lblhelp";
this.lblhelp.Size = new System.Drawing.Size(428, 18);
this.lblhelp.TabIndex = 16;
this.lblhelp.Text = "Put your number in array size box and press start for a random array";
this.lblhelp.Click += new System.EventHandler(this.lblhelp_Click);
//
// btnInsertionSort
//
this.btnInsertionSort.BackColor = System.Drawing.Color.Gray;
this.btnInsertionSort.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnInsertionSort.ForeColor = System.Drawing.Color.Yellow;
this.btnInsertionSort.Location = new System.Drawing.Point(150, 12);
this.btnInsertionSort.Name = "btnInsertionSort";
this.btnInsertionSort.Size = new System.Drawing.Size(118, 81);
this.btnInsertionSort.TabIndex = 17;
this.btnInsertionSort.Text = "Insertion sort";
this.btnInsertionSort.UseVisualStyleBackColor = false;
this.btnInsertionSort.Click += new System.EventHandler(this.btnInsertionSort_Click);
//
// btnMergeSort
//
this.btnMergeSort.BackColor = System.Drawing.Color.Gray;
this.btnMergeSort.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnMergeSort.ForeColor = System.Drawing.Color.Yellow;
this.btnMergeSort.Location = new System.Drawing.Point(274, 12);
this.btnMergeSort.Name = "btnMergeSort";
this.btnMergeSort.Size = new System.Drawing.Size(118, 81);
this.btnMergeSort.TabIndex = 18;
this.btnMergeSort.Text = "Merge sort";
this.btnMergeSort.UseVisualStyleBackColor = false;
this.btnMergeSort.Click += new System.EventHandler(this.btnMergeSort_Click);
//
// btnQuickSort
//
this.btnQuickSort.BackColor = System.Drawing.Color.Gray;
this.btnQuickSort.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnQuickSort.ForeColor = System.Drawing.Color.Yellow;
this.btnQuickSort.Location = new System.Drawing.Point(398, 12);
this.btnQuickSort.Name = "btnQuickSort";
this.btnQuickSort.Size = new System.Drawing.Size(118, 81);
this.btnQuickSort.TabIndex = 19;
this.btnQuickSort.Text = "Quick sort";
this.btnQuickSort.UseVisualStyleBackColor = false;
this.btnQuickSort.Click += new System.EventHandler(this.btnQuickSort_Click);
//
// btnBinarySearch
//
this.btnBinarySearch.BackColor = System.Drawing.Color.Gray;
this.btnBinarySearch.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnBinarySearch.ForeColor = System.Drawing.Color.Yellow;
this.btnBinarySearch.Location = new System.Drawing.Point(662, 12);
this.btnBinarySearch.Name = "btnBinarySearch";
this.btnBinarySearch.Size = new System.Drawing.Size(118, 81);
this.btnBinarySearch.TabIndex = 20;
this.btnBinarySearch.Text = "Binary search";
this.btnBinarySearch.UseVisualStyleBackColor = false;
this.btnBinarySearch.Click += new System.EventHandler(this.btnBinarySearch_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(503, 209);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 13);
this.label1.TabIndex = 21;
this.label1.Text = "label1";
//
// lblShowSteps
//
this.lblShowSteps.AutoSize = true;
this.lblShowSteps.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblShowSteps.ForeColor = System.Drawing.Color.Yellow;
this.lblShowSteps.Location = new System.Drawing.Point(459, 202);
this.lblShowSteps.Name = "lblShowSteps";
this.lblShowSteps.Size = new System.Drawing.Size(100, 23);
this.lblShowSteps.TabIndex = 22;
this.lblShowSteps.Text = "Show steps?";
this.lblShowSteps.Click += new System.EventHandler(this.lblShowSteps_Click);
//
// chkShowSteps
//
this.chkShowSteps.AutoSize = true;
this.chkShowSteps.Location = new System.Drawing.Point(576, 209);
this.chkShowSteps.Name = "chkShowSteps";
this.chkShowSteps.Size = new System.Drawing.Size(80, 17);
this.chkShowSteps.TabIndex = 23;
this.chkShowSteps.Text = "checkBox1";
this.chkShowSteps.UseVisualStyleBackColor = true;
this.chkShowSteps.CheckedChanged += new System.EventHandler(this.chkShowSteps_CheckedChanged);
//
// sortsAndSearches
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.chkShowSteps);
this.Controls.Add(this.lblShowSteps);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnBinarySearch);
this.Controls.Add(this.btnQuickSort);
this.Controls.Add(this.btnMergeSort);
this.Controls.Add(this.btnInsertionSort);
this.Controls.Add(this.lblhelp);
this.Controls.Add(this.lblSearch);
this.Controls.Add(this.txtSearchData);
this.Controls.Add(this.btnLinearSearch);
this.Controls.Add(this.btnBubbleSort);
this.Controls.Add(this.btnDrawBars);
this.Controls.Add(this.btnArrayHelp);
this.Controls.Add(this.lblArrayData);
this.Controls.Add(this.lblArraySize);
this.Controls.Add(this.txtArraySize);
this.Controls.Add(this.btnAddNumber);
this.Controls.Add(this.btnShowList);
this.Controls.Add(this.lblInput);
this.Controls.Add(this.txtInput);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.btnStart);
this.Name = "sortsAndSearches";
this.Text = "Sorts and Searches";
this.Load += new System.EventHandler(this.sortsAndSearches_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnStart;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.TextBox txtInput;
private System.Windows.Forms.Label lblInput;
private System.Windows.Forms.Button btnShowList;
private System.Windows.Forms.Button btnAddNumber;
private System.Windows.Forms.TextBox txtArraySize;
private System.Windows.Forms.Label lblArraySize;
private System.Windows.Forms.Label lblArrayData;
private System.Windows.Forms.Button btnArrayHelp;
private System.Windows.Forms.Button btnDrawBars;
private System.Windows.Forms.Button btnBubbleSort;
private System.Windows.Forms.Button btnLinearSearch;
private System.Windows.Forms.TextBox txtSearchData;
private System.Windows.Forms.Label lblSearch;
private System.Windows.Forms.Label lblhelp;
private System.Windows.Forms.Button btnInsertionSort;
private System.Windows.Forms.Button btnMergeSort;
private System.Windows.Forms.Button btnQuickSort;
private System.Windows.Forms.Button btnBinarySearch;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblShowSteps;
private System.Windows.Forms.CheckBox chkShowSteps;
}
}

View File

@ -1,748 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace A2Cw_Clark0
{
public partial class sortsAndSearches : Form
{
public sortsAndSearches()
{
InitializeComponent();
}
private void sortsAndSearches_Load(object sender, EventArgs e)
{
btnBubbleSort.Visible = false; //hides the buttons and labels at the start
btnLinearSearch.Visible = false;
btnInsertionSort.Visible = false;
btnMergeSort.Visible = false;
btnQuickSort.Visible = false;
btnBinarySearch.Visible = false;
btnDrawBars.Visible = false;
lblSearch.Visible = false;
txtSearchData.Visible = false;
lblArrayData.Visible = false;
txtInput.Visible = false;
btnShowList.Visible = false;
btnAddNumber.Visible = false;
btnArrayHelp.Visible = false;
lblInput.Visible = false;
lblShowSteps.Visible = false;
chkShowSteps.Visible = false;
btnStart.Enabled = false;
}
private void btnExit_Click(object sender, EventArgs e) //if the exit button is clicked
{
MessageBox.Show("Closing program"); //opens a message box telling the user the program is going to close
Application.Exit(); //closes the program
}
//not currently used. will return to when done with random array side
private int[] createArray() //function is called when the user clicks the create array button
{
int arraySize = int.Parse(txtArraySize.Text); //takes the input from the array size text box and converts it to an integer
int[] arrayData = new int[arraySize]; //sets the array to have the size of what the user specified
return (arrayData); //returns the array - will be all 0 when created
}
//only array creating function working (18.11.20)
private int[] createRandomArray() //function for creating a random array
{
int arraySize = int.Parse(txtArraySize.Text); //sets the size of the array to the number in the array size text box chosen by the user
int[] arrayData = new int[arraySize]; //creates the array with the size made above
int min = 1; //sets min number to 1
int max = 100; //sets max number to 100
Random randNum = new Random(); //initialises the random class
for (int k = 0; k < arrayData.Length; k++) //for the length of the array
{
arrayData[k] = randNum.Next(min, max); //generates a random number between 1 and 100 for each position in the array. for example size 4: 3,87,14,8
}
return (arrayData); //returns the new array
}
//particularly important as is is used for both user input array and random array
private void txtArraySize_TextChanged(object sender, EventArgs e)
{
//int parsedValue; //temporary variable for parsing statement
//if (txtArraySize.Text == string.Empty) //if the box is empty
//{
// MessageBox.Show("This box cannot be empty"); //tells the user the box should not be empty empty
// txtArraySize.BackColor = Color.Red; //changes the box colour to red
// btnAddNumber.Enabled = false; //disables the button
// btnShowList.Enabled = false;
// btnStart.Enabled = false;
//}
//else if (!int.TryParse(txtArraySize.Text, out parsedValue)) //this statement was adapted from: https://stackoverflow.com/questions/15399323/validating-whether-a-textbox-contains-only-numbers - it checks if the text in the box is an not an integer
//{
// MessageBox.Show("This is a whole number only box. Please enter a whole number"); //tells the user they need to enter an integer
// txtArraySize.BackColor = Color.Red;
// btnAddNumber.Enabled = false; //disables the button
// btnShowList.Enabled = false;
// btnStart.Enabled = false;
//}
//else if (int.TryParse(txtArraySize.Text, out parsedValue))
//{
// int arraySize = int.Parse(txtArraySize.Text);
// if (arraySize <= 0 || arraySize > 100)
// {
// MessageBox.Show("Number must be between 1 and 100");
// txtArraySize.BackColor = Color.Red;
// btnAddNumber.Enabled = false; //disables the button
// btnShowList.Enabled = false;
// btnStart.Enabled = false;
// }
// else
// {
// txtArraySize.BackColor = Color.Green; //changes the box colour to green
// btnAddNumber.Enabled = true; //enables the button
// btnShowList.Enabled = true;
// btnStart.Enabled = true;
// }
//}
validateInput(sender);
}
//not used at this stage
private void txtInput_TextChanged(object sender, EventArgs e)
{
int parsedValue;
if (txtInput.Text == string.Empty)
{
MessageBox.Show("This box cannot be empty");
txtInput.BackColor = Color.Red;
btnAddNumber.Enabled = false;
btnShowList.Enabled = false;
btnStart.Enabled = false;
}
else if (!int.TryParse(txtInput.Text, out parsedValue))
{
MessageBox.Show("This is a whole number only box. Please enter a whole number between 1 and 100");
txtInput.BackColor = Color.Red;
btnAddNumber.Enabled = false;
btnShowList.Enabled = false;
btnStart.Enabled = false;
}
else if (int.TryParse(txtInput.Text, out parsedValue))
{
int arrayItem = int.Parse(txtInput.Text);
if (arrayItem <= 0 || arrayItem > 100)
{
MessageBox.Show("Number must be between 1 and 100");
txtInput.BackColor = Color.Red;
btnAddNumber.Enabled = false;
btnShowList.Enabled = false;
btnStart.Enabled = false;
}
else
{
txtInput.BackColor = Color.Green;
btnAddNumber.Enabled = true;
btnShowList.Enabled = true;
btnStart.Enabled = true;
}
}
}
//not currently being used. will go back to once random array is done
private void btnAddNumber_Click(object sender, EventArgs e)
{
if (txtInput.Text == string.Empty)
{
MessageBox.Show("Box is empty");
}
else
{
string displayArray = string.Join(",", updateArray()); //creates a new variable that stores all of the numbers in the array and seperates them with ',' to make it easier to read
MessageBox.Show(displayArray); //displays the formatted array
}
}
//not working as intended. need to look into this once random array side is finished
private int[] updateArray() //this will be used to update the array when the user adds a number
{
//int i =0; //variable for array positioning
int arraySize = int.Parse(txtArraySize.Text); //redefines the array size to the number in the size box
int[] arrayData = new int[arraySize]; //recreates the array with size specified
//arrayData[0] = 1;
for (int i = 0; i < arraySize; i++)
{
while (arrayData[i] != 0)
{
i++;
}
arrayData[i] = int.Parse(txtInput.Text);
i = arraySize;
}
return (arrayData);
}
//at the moment this only works with the random array due to issues with creating the user array. need to look into passing arrays to functions properly. will come back to that once random array functionality is complete/working sufficiently
private void btnStart_Click(object sender, EventArgs e) //when the user presses start
{
if (txtArraySize.Text == string.Empty)
{
MessageBox.Show("Box is empty"); //not needed anymore
}
else
{
// string displayArray = string.Join(",", createRandomArray()); //creates a new variable that stores all of the numbers in the array and seperates them with ',' to make it easier to read
//MessageBox.Show(displayArray); //displays the formatted array
//next section hides all unneccessary parts that won't be used beyond this point
//along with making new areas (sort and search) visible
lblArrayData.Visible = false; //hides the labels
lblArraySize.Visible = false;
lblInput.Visible = false;
txtArraySize.Visible = false; //hides the text boxes
txtInput.Visible = false;
btnAddNumber.Visible = false; //hides the buttons
btnArrayHelp.Visible = false;
btnShowList.Visible = false;
btnStart.Visible = false; //hides the start button when you press it
btnDrawBars.Visible = false; //shows the draw bars button as that option can now be used --keeps false for now
btnBubbleSort.Visible = true; //shows the bubble sort button as that option can now be used
btnLinearSearch.Visible = true; ////shows the linear search button as that option can now be used
btnInsertionSort.Visible = true;
btnMergeSort.Visible = true;
btnQuickSort.Visible = true;
lblSearch.Visible = true;
txtSearchData.Visible = true;
btnStart.Visible = false;
lblhelp.Visible = false;
lblShowSteps.Visible = true;
chkShowSteps.Visible = true;
}
}
//not used at this point. will return to once random array side is done
private void btnShowList_Click(object sender, EventArgs e)
{
if (txtArraySize.Text == string.Empty)
{
MessageBox.Show("Box is empty");
}
else
{
string displayArray = string.Join(",", createArray()); //creates a new variable that stores all of the numbers in the array and seperates them with ',' to make it easier to read
MessageBox.Show(displayArray); //displays the formatted array
}
}
//not used at this point because development of the random array side doesn't involve arrayData. array size is still used
private void btnArrayHelp_Click(object sender, EventArgs e) //when the user presses the help button
{
MessageBox.Show("This is where you can find help on how to create your own array (list) \nFirst you should enter a number between 1 and 100 in the text box marked array size. Please make sure you enter in a number and nothing else or the program won't work. \nNext enter in the numbers you want to add to your array in the array data text box. Enter them in one by one, pressing add number to list after each one. \nYou can see what the array will look like at any point by pressing the show list button. If there is no data in the array then pressing show list will bring up '0' as the items.");
}
//still in development (18.11.20)
private void btnDrawBars_Click(object sender, EventArgs e) //draws a bar when the button is clicked
{
//int Min = 1; //used for testing random line lengths
//int Max = 100;
//Random randNum = new Random();
//int x1 = randNum.Next(Min, Max);
//int y1 = randNum.Next(Min, Max);
//int x2 = randNum.Next(Min, Max);
//int y2 = randNum.Next(Min, Max);
drawBars(createRandomArray()); //issue with this is that you will always get a new random array. need to look into passing arrays more. (18.11.20)
}
private void drawBars(int[] arrayData)
{
Graphics line = CreateGraphics(); //adapted from https://www.homeandlearn.co.uk/extras/graphics/graphics-paint-event.html
Pen pen = new Pen(Color.White, 1); //creates the pen with colour white and width 2
Point a = new Point(100, 100); //sets co-ords of first point (x,y)
Point b = new Point(100, 500); //sets co-ords of second point (x,y)
line.DrawLine(pen, a, b);
line.DrawLine(pen, 50, 50, 50, 200);
line.DrawLine(pen, 60, 60, 60, 200);
line.DrawLine(pen, 70, 70, 70, 200);
line.DrawLine(pen, 80, 80, 80, 200);
line.DrawLine(pen, 90, 90, 90, 200);
line.Dispose();
string displayArray = string.Join(",", arrayData); //creates a new variable that stores all of the numbers in the array and seperates them with ',' to make it easier to read
MessageBox.Show(displayArray); //displays the formatted array
}
//unused code
//private int [] test()
//{
// int arraySize = int.Parse(txtArraySize.Text);
// int[] arrayData = new int[arraySize];
// int Min = 1;
// int Max = 100;
// Random randNum = new Random();
// for (int k = 0; k < arrayData.Length; k++)
// {
// arrayData[k] = randNum.Next(Min, Max);
// }
// return (arrayData);
//}
private void btnBubbleSort_Click(object sender, EventArgs e)
{
int[] arrayData = createRandomArray();
bubbleSort(arrayData);
}
private void bubbleSort(int[] arrayData)
{
int temp; //temporary value used for swapping two values
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Unsorted array is " + displayArray);
for (int i = 0; i < arrayData.Length - 1; i++) //loop will repeat as many times as length of array -1
{
for (int j = 0; j < arrayData.Length - 1; j++) //loop will repeat as many times as length of array -1
{
if (arrayData[j] > arrayData[j + 1]) //if first number is larger than second number
{
temp = arrayData[j]; //sets temp to the first (larger) number
arrayData[j] = arrayData[j + 1]; //sets the first number to the second (smaller) number
arrayData[j + 1] = temp; //sets the second number to the temp number (first number) which comletes the swap
showSteps(arrayData);
}
}
}
displayArray = string.Join(",", arrayData);
MessageBox.Show("The sorted array is " + displayArray); //shows the (hopefully) sorted array
}
private void btnLinearSearch_Click(object sender, EventArgs e)
{
if (txtSearchData.Text == string.Empty)
{
MessageBox.Show("Box is empty");
}
else
{
int[] arrayData = createRandomArray();
linearSearch(arrayData);
}
}
private void linearSearch(int[] arrayData)
{
int search = int.Parse(txtSearchData.Text); //sets the variable used to hold what we search for to the number the user put in the text box specified
string displayArray = string.Join(",", arrayData); //formats the array to a single string
MessageBox.Show("searching for: " + search + " in " + displayArray); //tells the user what they are searching for and what the array is
bool found = false; //sets found to false
for (int i = 0; i < arrayData.Length; i++) //for length of the array
{
if (arrayData[i] == search) //if the current position holds the number we are looking for
{
found = true; //sets found to true
MessageBox.Show("found " + search + " at position " + i); //tells the user the number has been found along wih its position
}
}
if (found == false) //if found is false
{
MessageBox.Show(search + " not found"); //tells the user the number was not found
}
}
private void txtSearchData_TextChanged(object sender, EventArgs e)
{
int parsedValue; //temporary variable for parsing statement
if (txtSearchData.Text == string.Empty) //if the box is empty
{
MessageBox.Show("This box cannot be empty"); //tells the user the box should not be empty empty
txtSearchData.BackColor = Color.Red; //changes the box colour to red
btnLinearSearch.Enabled = false;
}
else if (!int.TryParse(txtSearchData.Text, out parsedValue))
{
MessageBox.Show("This is a whole number only box. Please enter a whole number"); //tells the user they need to enter an integer
txtSearchData.BackColor = Color.Red;
btnLinearSearch.Enabled = false;
}
else if (int.TryParse(txtSearchData.Text, out parsedValue))
{
int searchData = int.Parse(txtSearchData.Text);
if (searchData <= 0 || searchData > 100)
{
MessageBox.Show("Number must be between 1 and 100");
txtSearchData.BackColor = Color.Red;
btnLinearSearch.Enabled = false;
}
else
{
txtSearchData.BackColor = Color.Green; //changes the box colour to green
btnLinearSearch.Enabled = true;
}
}
}
private void lblInput_Click(object sender, EventArgs e)
{
}
private void lblhelp_Click(object sender, EventArgs e)
{
}
private void btnInsertionSort_Click(object sender, EventArgs e)
{
int[] arrayData = createRandomArray();
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Original array is " + displayArray);
insertionSort(arrayData);
}
private void insertionSort(int[] arrayData)
{
int i = 0;
int j = 0;
int temp = 0;
string displayArray = string.Join(",", arrayData);
while (i < arrayData.Length) //while i is smaller than the length of the array
{
j = i;
while (j > 0 && arrayData[j - 1] > arrayData[j])
{
temp = arrayData[j]; // }
arrayData[j] = arrayData[j - 1]; // } swaps the two numbers
arrayData[j - 1] = temp; // }
showSteps(arrayData);
j -= 1;
}
i += 1;
}
displayArray = string.Join(",", arrayData);
MessageBox.Show("Sorted array is " + displayArray);
}
private void btnMergeSort_Click(object sender, EventArgs e)
{
int[] arrayData = createRandomArray();
int[] sortedArrayData = new int[arrayData.Length];
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Original array is " + displayArray);
sortedArrayData = mergeSort(arrayData);
displayArray = string.Join(",", sortedArrayData);
MessageBox.Show("Sorted array is " + displayArray); //comment this out to stop showing steps
}
private static int[] mergeSort(int[] arrayData)
{
int[] left; //creates 'left' array
int[] right; //creates 'right' array
if (arrayData.Length <= 1) //if there is one element
{
return arrayData; //returns the array as it is just one element so is already sorted
}
int midpoint = arrayData.Length / 2; //sets midpont to half of the array size
left = new int[midpoint]; //sets the length of the left array to the midpoint value, so half of the numbers
if (arrayData.Length % 2 == 0) //if there are an even number of elements in the array
{
right = new int[midpoint]; //sets the size of right to be midpoint value
}
else
{
right = new int[midpoint + 1]; //sets right size to one more than midpoint
}
for (int i = 0; i < midpoint; i++)
{
left[i] = arrayData[i]; //fills the left array with numbers up to midpoint
}
int j = 0;
for (int i = midpoint; i < arrayData.Length; i++)
{
right[j] = arrayData[i]; // fills the right array with numbers from midpoint to the end
j++;
}
left = mergeSort(left); //recursively splits
right = mergeSort(right); //recursively splits
string displayLeft = string.Join(",", left);
string displayRight = string.Join(",", right);
MessageBox.Show("Splitting " + displayLeft + " " + displayRight); //comment this out to stop showing steps
return merge(left, right); //calls merge function to merge the lists and sort them, passing the left and right arrays
}
private static int[] merge(int[] left, int[] right)
{
int sortedArrayLength = right.Length + left.Length;
int[] sortedArray = new int[sortedArrayLength];
int leftPos = 0;
int rightPos = 0;
int sortedArrayPos = 0;
//while either array still has an element
while (leftPos < left.Length || rightPos < right.Length)
{
//if both arrays have elements
if (leftPos < left.Length && rightPos < right.Length)
{
//If item on left array is less than item on right array, add that item to the sortedArray array
if (left[leftPos] <= right[rightPos])
{
sortedArray[sortedArrayPos] = left[leftPos];
leftPos++;
sortedArrayPos++;
}
// else the item in the right array wll be added to the sortedArrays array
else
{
sortedArray[sortedArrayPos] = right[rightPos];
rightPos++;
sortedArrayPos++;
}
}
//if only the left array still has elements, add all its items to the sortedArrays array
else if (leftPos < left.Length)
{
sortedArray[sortedArrayPos] = left[leftPos];
leftPos++;
sortedArrayPos++;
}
//if only the right array still has elements, add all its items to the sortedArrays array
else if (rightPos < right.Length)
{
sortedArray[sortedArrayPos] = right[rightPos];
rightPos++;
sortedArrayPos++;
}
string displayArray = string.Join(",", sortedArray);
MessageBox.Show("Merging " + displayArray);
}
return sortedArray;
}
private void btnQuickSort_Click(object sender, EventArgs e)
{
int[] arrayData = createRandomArray();
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Original array is " + displayArray);
quickSort(arrayData, 0, arrayData.Length - 1); //passes the array, start position and end position
displayArray = string.Join(",", arrayData);
MessageBox.Show("Sorted array is: " + displayArray);
}
//following two functions adapted from https://www.w3resource.com/csharp-exercises/searching-and-sorting-algorithm/searching-and-sorting-algorithm-exercise-9.php
private static void quickSort(int[] arrayData, int start, int end)
{
if (start < end)
{
int pivot = partition(arrayData, start, end);
if (pivot > 1)
{
quickSort(arrayData, start, pivot - 1);
}
if (pivot + 1 < end)
{
quickSort(arrayData, pivot + 1, end);
}
}
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Sorting " + displayArray);
}
private static int partition(int[] arrayData, int start, int end)
{
int pivot = arrayData[start];
while (true)
{
while (arrayData[start] < pivot)
{
start++;
}
while (arrayData[end] > pivot)
{
end--;
}
if (start < end)
{
int temp = arrayData[start];
arrayData[start] = arrayData[end];
arrayData[end] = temp;
if (arrayData[start] == arrayData[end])
{
start++;
}
}
else
{
return end;
}
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Partitioning " + displayArray);
}
}
private void btnBinarySearch_Click(object sender, EventArgs e)
{
if (txtSearchData.Text == string.Empty)
{
MessageBox.Show("Box is empty");
}
int[] arrayData = createRandomArray();
binarySearch(arrayData);
}
private void binarySearch(int[] arrayData)
{
}
private void validateInput(object sender)
{
var textBox = (TextBox)sender;
int parsedValue;
if (textBox.Text == string.Empty) //if the box is empty - presence check
{
MessageBox.Show("This box cannot be empty"); //tells the user the box should not be empty empty
textBox.BackColor = Color.Red; //changes the box colour to red
btnStart.Enabled = false;
}
else if (!int.TryParse(textBox.Text, out parsedValue)) //format check -- this statement was adapted from: https://stackoverflow.com/questions/15399323/validating-whether-a-textbox-contains-only-numbers - it checks if the text in the box is an not an integer
{
MessageBox.Show("This is a whole number only box. Please enter a whole number"); //tells the user they need to enter an integer
textBox.BackColor = Color.Red;
btnStart.Enabled = false;
}
else if (int.TryParse(textBox.Text, out parsedValue)) //range check
{
int arraySize = int.Parse(textBox.Text);
if (arraySize <= 0 || arraySize > 100)
{
MessageBox.Show("Number must be between 1 and 100");
textBox.BackColor = Color.Red;
btnStart.Enabled = false;
}
else
{
textBox.BackColor = Color.Green; //changes the box colour to green
btnStart.Enabled = true;
}
}
}
private void chkShowSteps_CheckedChanged(object sender, EventArgs e)
{
//does nothing on its own
}
private void showSteps(int [] arrayData)
{
if (chkShowSteps.Checked == true) //if user has chosen to not show steps
{
string displayArray = string.Join(",", arrayData);
MessageBox.Show("Sorting: " + displayArray);
}
}
private void lblShowSteps_Click(object sender, EventArgs e)
{
//does nothing on its own
}
}
}

View File

@ -1,120 +0,0 @@
<?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

@ -1,4 +0,0 @@
[ViewState]
Mode=
Vid=
FolderType=Generic