diff --git a/Notepad/.vs/Notepad/v16/.suo b/Notepad/.vs/Notepad/v16/.suo new file mode 100644 index 0000000..61af247 Binary files /dev/null and b/Notepad/.vs/Notepad/v16/.suo differ diff --git a/Notepad/Notepad.sln b/Notepad/Notepad.sln new file mode 100644 index 0000000..750ae01 --- /dev/null +++ b/Notepad/Notepad.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30804.86 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notepad", "Notepad\Notepad.csproj", "{858EB545-153B-4FC2-828E-985AD0E10A2B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {858EB545-153B-4FC2-828E-985AD0E10A2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {858EB545-153B-4FC2-828E-985AD0E10A2B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {858EB545-153B-4FC2-828E-985AD0E10A2B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {858EB545-153B-4FC2-828E-985AD0E10A2B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6687A177-446B-4A9A-BC23-6603056435A0} + EndGlobalSection +EndGlobal diff --git a/Notepad/Notepad/App.config b/Notepad/Notepad/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Notepad/Notepad/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Notepad/Notepad/Form1.Designer.cs b/Notepad/Notepad/Form1.Designer.cs new file mode 100644 index 0000000..9d7d352 --- /dev/null +++ b/Notepad/Notepad/Form1.Designer.cs @@ -0,0 +1,121 @@ + +namespace Notepad +{ + partial class Form1 + { + /// + /// Wymagana zmienna projektanta. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Wyczyść wszystkie używane zasoby. + /// + /// prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Kod generowany przez Projektanta formularzy systemu Windows + + /// + /// Metoda wymagana do obsługi projektanta — nie należy modyfikować + /// jej zawartości w edytorze kodu. + /// + private void InitializeComponent() + { + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.otwórzToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.zapiszToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.statusStrip1.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // statusStrip1 + // + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1}); + this.statusStrip1.Location = new System.Drawing.Point(0, 428); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(800, 22); + this.statusStrip1.TabIndex = 0; + this.statusStrip1.Text = "statusStrip1"; + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17); + this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.otwórzToolStripMenuItem, + this.zapiszToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(800, 24); + this.menuStrip1.TabIndex = 1; + this.menuStrip1.Text = "menuStrip1"; + // + // textBox1 + // + this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBox1.Location = new System.Drawing.Point(0, 24); + this.textBox1.MaxLength = 0; + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(800, 404); + this.textBox1.TabIndex = 2; + this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // otwórzToolStripMenuItem + // + this.otwórzToolStripMenuItem.Name = "otwórzToolStripMenuItem"; + this.otwórzToolStripMenuItem.Size = new System.Drawing.Size(57, 20); + this.otwórzToolStripMenuItem.Text = "Otwórz"; + // + // zapiszToolStripMenuItem + // + this.zapiszToolStripMenuItem.Name = "zapiszToolStripMenuItem"; + this.zapiszToolStripMenuItem.Size = new System.Drawing.Size(52, 20); + this.zapiszToolStripMenuItem.Text = "Zapisz"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.statusStrip1); + this.Controls.Add(this.menuStrip1); + this.Name = "Form1"; + this.Text = "Notecode"; + this.statusStrip1.ResumeLayout(false); + this.statusStrip1.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem otwórzToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem zapiszToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + } +} + diff --git a/Notepad/Notepad/Form1.cs b/Notepad/Notepad/Form1.cs new file mode 100644 index 0000000..d2d958e --- /dev/null +++ b/Notepad/Notepad/Form1.cs @@ -0,0 +1,24 @@ +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 Notepad +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void textBox1_TextChanged(object sender, EventArgs e) + { + } + } +} diff --git a/Notepad/Notepad/Form1.resx b/Notepad/Notepad/Form1.resx new file mode 100644 index 0000000..6beaffa --- /dev/null +++ b/Notepad/Notepad/Form1.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + + 133, 17 + + \ No newline at end of file diff --git a/Notepad/Notepad/Notepad.csproj b/Notepad/Notepad/Notepad.csproj new file mode 100644 index 0000000..0f25cc0 --- /dev/null +++ b/Notepad/Notepad/Notepad.csproj @@ -0,0 +1,82 @@ + + + + + Debug + AnyCPU + {858EB545-153B-4FC2-828E-985AD0E10A2B} + WinExe + Notepad + Notepad + v4.5 + 512 + 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 + + + + + + + \ No newline at end of file diff --git a/Notepad/Notepad/Program.cs b/Notepad/Notepad/Program.cs new file mode 100644 index 0000000..0551e31 --- /dev/null +++ b/Notepad/Notepad/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Notepad +{ + static class Program + { + /// + /// Główny punkt wejścia dla aplikacji. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Notepad/Notepad/Properties/AssemblyInfo.cs b/Notepad/Notepad/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..36c3bf7 --- /dev/null +++ b/Notepad/Notepad/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Ogólne informacje o zestawie są kontrolowane poprzez następujący +// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje +// powiązane z zestawem. +[assembly: AssemblyTitle("Notepad")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Notepad")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Ustawienie elementu ComVisible na wartość false sprawia, że typy w tym zestawie są niewidoczne +// dla składników COM. Jeśli potrzebny jest dostęp do typu w tym zestawie z +// COM, ustaw wartość true dla atrybutu ComVisible tego typu. +[assembly: ComVisible(false)] + +// Następujący identyfikator GUID jest identyfikatorem biblioteki typów w przypadku udostępnienia tego projektu w modelu COM +[assembly: Guid("858eb545-153b-4fc2-828e-985ad0e10a2b")] + +// Informacje o wersji zestawu zawierają następujące cztery wartości: +// +// Wersja główna +// Wersja pomocnicza +// Numer kompilacji +// Poprawka +// +// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki +// przy użyciu symbolu „*”, tak jak pokazano poniżej: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Notepad/Notepad/Properties/Resources.Designer.cs b/Notepad/Notepad/Properties/Resources.Designer.cs new file mode 100644 index 0000000..2b97051 --- /dev/null +++ b/Notepad/Notepad/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// Ten kod został wygenerowany przez narzędzie. +// Wersja środowiska uruchomieniowego: 4.0.30319.42000 +// +// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone +// w przypadku ponownego wygenerowania kodu. +// +//------------------------------------------------------------------------------ + + +namespace Notepad.Properties +{ + /// + /// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd. + /// + // Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder + // przez narzędzie, takie jak ResGen lub Visual Studio. + // Aby dodać lub usunąć składowe, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen + // z opcją /str lub ponownie skompiluj projekt programu VS. + [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() + { + } + + /// + /// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę. + /// + [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("Notepad.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + /// przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Notepad/Notepad/Properties/Resources.resx b/Notepad/Notepad/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Notepad/Notepad/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/Notepad/Notepad/Properties/Settings.Designer.cs b/Notepad/Notepad/Properties/Settings.Designer.cs new file mode 100644 index 0000000..682e78c --- /dev/null +++ b/Notepad/Notepad/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + +namespace Notepad.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; + } + } + } +} diff --git a/Notepad/Notepad/Properties/Settings.settings b/Notepad/Notepad/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Notepad/Notepad/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Notepad/Notepad/bin/Debug/Notepad.exe b/Notepad/Notepad/bin/Debug/Notepad.exe new file mode 100644 index 0000000..abfbf0e Binary files /dev/null and b/Notepad/Notepad/bin/Debug/Notepad.exe differ diff --git a/Notepad/Notepad/bin/Debug/Notepad.exe.config b/Notepad/Notepad/bin/Debug/Notepad.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Notepad/Notepad/bin/Debug/Notepad.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Notepad/Notepad/bin/Debug/Notepad.pdb b/Notepad/Notepad/bin/Debug/Notepad.pdb new file mode 100644 index 0000000..0315f9b Binary files /dev/null and b/Notepad/Notepad/bin/Debug/Notepad.pdb differ diff --git a/Notepad/Notepad/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/Notepad/Notepad/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs new file mode 100644 index 0000000..e5dc9b8 --- /dev/null +++ b/Notepad/Notepad/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")] diff --git a/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..241bdc3 Binary files /dev/null and b/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7dfe0ba Binary files /dev/null and b/Notepad/Notepad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.Form1.resources b/Notepad/Notepad/obj/Debug/Notepad.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.Form1.resources differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.Properties.Resources.resources b/Notepad/Notepad/obj/Debug/Notepad.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.Properties.Resources.resources differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.csproj.CoreCompileInputs.cache b/Notepad/Notepad/obj/Debug/Notepad.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..f5b326d --- /dev/null +++ b/Notepad/Notepad/obj/Debug/Notepad.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +49ddf053a8af5d6e9369e6d3a8e96ccab85129ad diff --git a/Notepad/Notepad/obj/Debug/Notepad.csproj.FileListAbsolute.txt b/Notepad/Notepad/obj/Debug/Notepad.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b472fff --- /dev/null +++ b/Notepad/Notepad/obj/Debug/Notepad.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\Krzysiek\source\repos\Notepad\Notepad\bin\Debug\Notepad.exe.config +C:\Users\Krzysiek\source\repos\Notepad\Notepad\bin\Debug\Notepad.exe +C:\Users\Krzysiek\source\repos\Notepad\Notepad\bin\Debug\Notepad.pdb +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.csprojAssemblyReference.cache +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.Form1.resources +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.Properties.Resources.resources +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.csproj.GenerateResource.cache +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.csproj.CoreCompileInputs.cache +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.exe +C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.pdb diff --git a/Notepad/Notepad/obj/Debug/Notepad.csproj.GenerateResource.cache b/Notepad/Notepad/obj/Debug/Notepad.csproj.GenerateResource.cache new file mode 100644 index 0000000..bcac11f Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.csproj.GenerateResource.cache differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.csprojAssemblyReference.cache b/Notepad/Notepad/obj/Debug/Notepad.csprojAssemblyReference.cache new file mode 100644 index 0000000..f81aff4 Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.csprojAssemblyReference.cache differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.exe b/Notepad/Notepad/obj/Debug/Notepad.exe new file mode 100644 index 0000000..abfbf0e Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.exe differ diff --git a/Notepad/Notepad/obj/Debug/Notepad.pdb b/Notepad/Notepad/obj/Debug/Notepad.pdb new file mode 100644 index 0000000..0315f9b Binary files /dev/null and b/Notepad/Notepad/obj/Debug/Notepad.pdb differ