C#
BreakC/.vs/BreakC/v15/.suo
BreakC/.vs/BreakC/v15/Server/sqlite3/db.lock
BreakC/.vs/BreakC/v15/Server/sqlite3/storage.ide
BreakC/.vs/BreakC/v15/Server/sqlite3/storage.ide-shm
BreakC/.vs/BreakC/v15/Server/sqlite3/storage.ide-wal
BreakC/BreakC.sln
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.28010.2036 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BreakC", "BreakC\BreakC.csproj", "{02FE4DF2-052F-4412-8E28-7B6ED9FC1C10}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {02FE4DF2-052F-4412-8E28-7B6ED9FC1C10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {02FE4DF2-052F-4412-8E28-7B6ED9FC1C10}.Debug|Any CPU.Build.0 = Debug|Any CPU {02FE4DF2-052F-4412-8E28-7B6ED9FC1C10}.Release|Any CPU.ActiveCfg = Release|Any CPU {02FE4DF2-052F-4412-8E28-7B6ED9FC1C10}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2DA417D8-9ED8-4824-A693-940511022017} EndGlobalSection EndGlobal
BreakC/BreakC/App.config
BreakC/BreakC/bin/Debug/BreakC.exe
BreakC/BreakC/bin/Debug/BreakC.exe.config
BreakC/BreakC/bin/Debug/BreakC.pdb
BreakC/BreakC/BreakC.csproj
Debug AnyCPU {02FE4DF2-052F-4412-8E28-7B6ED9FC1C10} WinExe BreakC BreakC v4.6.1 512 true true 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
BreakC/BreakC/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.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; namespace BreakC { public partial class Form1 : Form { List<String> list = new List<String>(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { if ( textBox2.Text == "" ) { list.Add("First name is blank"); } if (textBox3.Text == "" ) { list.Add("Second name is blank"); } if (textBox6.Text.Length != 5 || textBox6.Text == "") { if (textBox6.Text == "") { list.Add("Zip code is blank"); } if (textBox6.Text.Length != 5&& textBox6.Text != "") { list.Add("zip code does not contain 5 digit"); } } if (textBox7.Text == "") { list.Add("Email is blank"); } bool contains = Regex.IsMatch(textBox7.Text, @"\b@\b"); if (contains == false&& textBox7.Text != "") { list.Add("email is wrong"); } string line = string.Join("\n", list.ToArray()); if (line == "") { line = "no error detect"; } Console.WriteLine(line); } private void Form1_Load(object sender, EventArgs e) { } } }
BreakC/BreakC/Form1.Designer.cs
namespace BreakC { 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.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(105, 2); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(100, 20); this.textBox1.TabIndex = 0; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(105, 38); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(100, 20); this.textBox2.TabIndex = 1; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(105, 76); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(100, 20); this.textBox3.TabIndex = 2; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(105, 115); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(100, 20); this.textBox4.TabIndex = 3; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(105, 192); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(100, 20); this.textBox5.TabIndex = 4; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(105, 155); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(100, 20); this.textBox6.TabIndex = 5; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(105, 223); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(100, 20); this.textBox7.TabIndex = 6; // // button1 // this.button1.Location = new System.Drawing.Point(66, 336); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 7; this.button1.Text = "Save"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(105, 296); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(15, 14); this.checkBox1.TabIndex = 8; this.checkBox1.UseVisualStyleBackColor = true; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "MO", "IL", "LHR", "KAR", "ISL"}); this.comboBox1.Location = new System.Drawing.Point(84, 255); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 21); this.comboBox1.TabIndex = 9; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 13); this.label1.TabIndex = 10; this.label1.Text = "Mr/Mrs"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(-2, 45); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(55, 13); this.label2.TabIndex = 11; this.label2.Text = "First name"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(-2, 76); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 13); this.label3.TabIndex = 12; this.label3.Text = "Last name"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(-2, 118); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(76, 13); this.label4.TabIndex = 13; this.label4.Text = "Street Address"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(12, 196); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(24, 13); this.label5.TabIndex = 14; this.label5.Text = "City"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(3, 158); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(50, 13); this.label6.TabIndex = 15; this.label6.Text = "Zip Code"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(5, 230); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(32, 13); this.label7.TabIndex = 16; this.label7.Text = "Email"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(7, 296); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(28, 13); this.label8.TabIndex = 17; this.label8.Text = "Club"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(3, 258); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(32, 13); this.label9.TabIndex = 18; this.label9.Text = "State"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(234, 371); this.Controls.Add(this.label9); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.comboBox1); this.Controls.Add(this.checkBox1); this.Controls.Add(this.button1); this.Controls.Add(this.textBox7); this.Controls.Add(this.textBox6); this.Controls.Add(this.textBox5); this.Controls.Add(this.textBox4); this.Controls.Add(this.textBox3); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Name = "Form1"; this.Text = "Bread Co"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.Button button1; private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label9; } }
BreakC/BreakC/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
BreakC/BreakC/obj/Debug/BreakC.csproj.CoreCompileInputs.cache
6b7efdb870db0550f347347ef7093fc46a5e87ea
BreakC/BreakC/obj/Debug/BreakC.csproj.FileListAbsolute.txt
C:\Users\skynet\source\repos\BreakC\BreakC\bin\Debug\BreakC.exe.config C:\Users\skynet\source\repos\BreakC\BreakC\bin\Debug\BreakC.exe C:\Users\skynet\source\repos\BreakC\BreakC\bin\Debug\BreakC.pdb C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.csprojAssemblyReference.cache C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.Form1.resources C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.Properties.Resources.resources C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.csproj.GenerateResource.cache C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.csproj.CoreCompileInputs.cache C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.exe C:\Users\skynet\source\repos\BreakC\BreakC\obj\Debug\BreakC.pdb
BreakC/BreakC/obj/Debug/BreakC.csproj.GenerateResource.cache
BreakC/BreakC/obj/Debug/BreakC.csprojAssemblyReference.cache
BreakC/BreakC/obj/Debug/BreakC.exe
BreakC/BreakC/obj/Debug/BreakC.Form1.resources
BreakC/BreakC/obj/Debug/BreakC.pdb
BreakC/BreakC/obj/Debug/BreakC.Properties.Resources.resources
BreakC/BreakC/obj/Debug/DesignTimeResolveAssemblyReferences.cache
BreakC/BreakC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
BreakC/BreakC/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
BreakC/BreakC/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
BreakC/BreakC/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
BreakC/BreakC/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace BreakC { 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()); } } }
BreakC/BreakC/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("BreakC")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("BreakC")] [assembly: AssemblyCopyright("Copyright © 2018")] [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("02fe4df2-052f-4412-8e28-7b6ed9fc1c10")] // 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")]
BreakC/BreakC/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------ // <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 BreakC.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("BreakC.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; } } } }
BreakC/BreakC/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
BreakC/BreakC/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------ // <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 BreakC.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; } } } }
BreakC/BreakC/Properties/Settings.settings