Visual C# 2012
abdon_Array-and-List/Array-and-List.sln
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Array-and-List", "Array-and-List\Array-and-List.csproj", "{802E7FDC-1708-4BF3-BF48-DB87DA5C2446}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {802E7FDC-1708-4BF3-BF48-DB87DA5C2446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {802E7FDC-1708-4BF3-BF48-DB87DA5C2446}.Debug|Any CPU.Build.0 = Debug|Any CPU {802E7FDC-1708-4BF3-BF48-DB87DA5C2446}.Release|Any CPU.ActiveCfg = Release|Any CPU {802E7FDC-1708-4BF3-BF48-DB87DA5C2446}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal
Array-and-List/Array-and-List.v11.suo
Array-and-List/Array-and-List/App.config
Array-and-List/Array-and-List/Array-and-List.csproj
Debug AnyCPU {802E7FDC-1708-4BF3-BF48-DB87DA5C2446} WinExe Properties Array_and_List Array-and-List v4.5 512 AnyCPU true full false bin\Debug\ DEBUG;TRACE prompt 4 AnyCPU pdbonly true bin\Release\ TRACE prompt 4 Form Form1.cs Form1.cs ResXFileCodeGenerator Resources.Designer.cs Designer True Resources.resx SettingsSingleFileGenerator Settings.Designer.cs True Settings.settings True
Array-and-List/Array-and-List/bin/Debug/Array-and-List.exe
Array-and-List/Array-and-List/bin/Debug/Array-and-List.exe.config
Array-and-List/Array-and-List/bin/Debug/Array-and-List.pdb
Array-and-List/Array-and-List/bin/Debug/Array-and-List.vshost.exe
Array-and-List/Array-and-List/bin/Debug/Array-and-List.vshost.exe.config
Array-and-List/Array-and-List/bin/Debug/Array-and-List.vshost.exe.manifest
Array-and-List/Array-and-List/Form1.cs
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 Array_and_List { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void arrayExitButton_Click(object sender, EventArgs e) { this.Close(); } private void listExitButton_Click(object sender, EventArgs e) { this.Close(); } private void listClearButton_Click(object sender, EventArgs e) { listListBox.Items.Clear(); } private void arrayClearButton_Click(object sender, EventArgs e) { arrayListBox.Items.Clear(); } private void goArrayButton_Click(object sender, EventArgs e) { int[] numbers = { 1, 2, 3 }; arrayListBox.Items.Add("The original array are: "); foreach (int myNumber in numbers) { arrayListBox.Items.Add(myNumber); } for (int index = 0; index <= (numbers.Length - 1); index++) { numbers[index] = 0; } arrayListBox.Items.Add("The updated are: "); foreach (int myNumber in numbers) { arrayListBox.Items.Add(myNumber); } } } }
Array-and-List/Array-and-List/Form1.Designer.cs
namespace Array_and_List { 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.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.arrayExitButton = new System.Windows.Forms.Button(); this.listExitButton = new System.Windows.Forms.Button(); this.arrayClearButton = new System.Windows.Forms.Button(); this.goArrayButton = new System.Windows.Forms.Button(); this.listClearButton = new System.Windows.Forms.Button(); this.listGoButton = new System.Windows.Forms.Button(); this.listListBox = new System.Windows.Forms.ListBox(); this.arrayListBox = new System.Windows.Forms.ListBox(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(21, 14); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(215, 222); this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.arrayListBox); this.tabPage1.Controls.Add(this.goArrayButton); this.tabPage1.Controls.Add(this.arrayClearButton); this.tabPage1.Controls.Add(this.arrayExitButton); 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(207, 196); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Array"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage2 // this.tabPage2.Controls.Add(this.listListBox); this.tabPage2.Controls.Add(this.listGoButton); this.tabPage2.Controls.Add(this.listClearButton); this.tabPage2.Controls.Add(this.listExitButton); 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(207, 196); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "List"; this.tabPage2.UseVisualStyleBackColor = true; // // arrayExitButton // this.arrayExitButton.Location = new System.Drawing.Point(138, 149); this.arrayExitButton.Name = "arrayExitButton"; this.arrayExitButton.Size = new System.Drawing.Size(52, 28); this.arrayExitButton.TabIndex = 0; this.arrayExitButton.Text = "Exit"; this.arrayExitButton.UseVisualStyleBackColor = true; this.arrayExitButton.Click += new System.EventHandler(this.arrayExitButton_Click); // // listExitButton // this.listExitButton.Location = new System.Drawing.Point(138, 149); this.listExitButton.Name = "listExitButton"; this.listExitButton.Size = new System.Drawing.Size(52, 28); this.listExitButton.TabIndex = 0; this.listExitButton.Text = "Exit"; this.listExitButton.UseVisualStyleBackColor = true; this.listExitButton.Click += new System.EventHandler(this.listExitButton_Click); // // arrayClearButton // this.arrayClearButton.Location = new System.Drawing.Point(77, 151); this.arrayClearButton.Name = "arrayClearButton"; this.arrayClearButton.Size = new System.Drawing.Size(42, 25); this.arrayClearButton.TabIndex = 1; this.arrayClearButton.Text = "Clear"; this.arrayClearButton.UseVisualStyleBackColor = true; this.arrayClearButton.Click += new System.EventHandler(this.arrayClearButton_Click); // // goArrayButton // this.goArrayButton.Location = new System.Drawing.Point(17, 151); this.goArrayButton.Name = "goArrayButton"; this.goArrayButton.Size = new System.Drawing.Size(51, 24); this.goArrayButton.TabIndex = 2; this.goArrayButton.Text = "Go"; this.goArrayButton.UseVisualStyleBackColor = true; this.goArrayButton.Click += new System.EventHandler(this.goArrayButton_Click); // // listClearButton // this.listClearButton.Location = new System.Drawing.Point(77, 151); this.listClearButton.Name = "listClearButton"; this.listClearButton.Size = new System.Drawing.Size(42, 25); this.listClearButton.TabIndex = 1; this.listClearButton.Text = "Clear"; this.listClearButton.UseVisualStyleBackColor = true; this.listClearButton.Click += new System.EventHandler(this.listClearButton_Click); // // listGoButton // this.listGoButton.Location = new System.Drawing.Point(17, 151); this.listGoButton.Name = "listGoButton"; this.listGoButton.Size = new System.Drawing.Size(51, 24); this.listGoButton.TabIndex = 2; this.listGoButton.Text = "Go"; this.listGoButton.UseVisualStyleBackColor = true; // // listListBox // this.listListBox.FormattingEnabled = true; this.listListBox.Location = new System.Drawing.Point(17, 26); this.listListBox.Name = "listListBox"; this.listListBox.Size = new System.Drawing.Size(172, 108); this.listListBox.TabIndex = 3; // // arrayListBox // this.arrayListBox.FormattingEnabled = true; this.arrayListBox.Location = new System.Drawing.Point(17, 26); this.arrayListBox.Name = "arrayListBox"; this.arrayListBox.Size = new System.Drawing.Size(172, 108); this.arrayListBox.TabIndex = 3; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.tabControl1); this.Name = "Form1"; this.Text = "Array and List"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.Button arrayExitButton; private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.Button listExitButton; private System.Windows.Forms.Button goArrayButton; private System.Windows.Forms.Button arrayClearButton; private System.Windows.Forms.Button listGoButton; private System.Windows.Forms.Button listClearButton; private System.Windows.Forms.ListBox arrayListBox; private System.Windows.Forms.ListBox listListBox; } }
Array-and-List/Array-and-List/Form1.resx
text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Array-and-List/Array-and-List/obj/Debug/Array_and_List.Form1.resources
Array-and-List/Array-and-List/obj/Debug/Array_and_List.Properties.Resources.resources
Array-and-List/Array-and-List/obj/Debug/Array-and-List.csproj.FileListAbsolute.txt
P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.exe.config P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.exe P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.pdb P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.csprojResolveAssemblyReference.cache P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array_and_List.Form1.resources P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array_and_List.Properties.Resources.resources P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.csproj.GenerateResource.Cache P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.exe P:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.pdb O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.exe.config O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.exe O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.pdb O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.csprojResolveAssemblyReference.cache O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array_and_List.Form1.resources O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array_and_List.Properties.Resources.resources O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\obj\Debug\Array-and-List.csproj.GenerateResource.Cache O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.exe O:\courses\spring2015\IFMG\IFMG230\001\instructor-only\Chp8\Array-and-List\Array-and-List\bin\Debug\Array-and-List.pdb
Array-and-List/Array-and-List/obj/Debug/Array-and-List.csproj.GenerateResource.Cache
Array-and-List/Array-and-List/obj/Debug/Array-and-List.csprojResolveAssemblyReference.cache
Array-and-List/Array-and-List/obj/Debug/Array-and-List.exe
Array-and-List/Array-and-List/obj/Debug/Array-and-List.pdb
Array-and-List/Array-and-List/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Array-and-List/Array-and-List/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Array-and-List/Array-and-List/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
Array-and-List/Array-and-List/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
Array-and-List/Array-and-List/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
Array-and-List/Array-and-List/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Array_and_List { 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()); } } }
Array-and-List/Array-and-List/Properties/AssemblyInfo.cs
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("Array-and-List")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Array-and-List")] [assembly: AssemblyCopyright("Copyright © 2015")] [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("65edac50-77b0-46f2-98e4-40ea50523f15")] // 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")]
Array-and-List/Array-and-List/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Array_and_List.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("Array_and_List.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; } } } }
Array-and-List/Array-and-List/Properties/Resources.resx
text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Array-and-List/Array-and-List/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Array_and_List.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; } } } }
Array-and-List/Array-and-List/Properties/Settings.settings