It's Time to Release

This commit is contained in:
Christopher
2020-12-20 21:43:40 +01:00
parent 426ad04fbf
commit e93493b472
68 changed files with 3376 additions and 643 deletions
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Notatnik.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Notepad_v2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<Notatnik.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
</Notepad_v2.Properties.Settings>
</userSettings>
</configuration>
+632
View File
@@ -0,0 +1,632 @@
namespace Notatnik
{
partial class Form1
{
/// <summary>
/// Wymagana zmienna projektanta.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Wyczyść wszystkie używane zasoby.
/// </summary>
/// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Kod generowany przez Projektanta formularzy systemu Windows
/// <summary>
/// Metoda wymagana do obsługi projektanta — nie należy modyfikować
/// jej zawartości w edytorze kodu.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.panel1 = new System.Windows.Forms.Panel();
this.button12 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.printDialog1 = new System.Windows.Forms.PrintDialog();
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
this.button13 = new System.Windows.Forms.Button();
this.button14 = new System.Windows.Forms.Button();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.colorDialog2 = new System.Windows.Forms.ColorDialog();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.kopiujToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wklejToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wytnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cofnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.przywrócToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.zmieńKolorTłaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.zmieńKolorCzcionkiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.panel1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.panel1.Controls.Add(this.button14);
this.panel1.Controls.Add(this.button13);
this.panel1.Controls.Add(this.button12);
this.panel1.Controls.Add(this.button11);
this.panel1.Controls.Add(this.button10);
this.panel1.Controls.Add(this.button9);
this.panel1.Controls.Add(this.button8);
this.panel1.Controls.Add(this.button7);
this.panel1.Controls.Add(this.button6);
this.panel1.Controls.Add(this.button5);
this.panel1.Controls.Add(this.button4);
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.button1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(36, 537);
this.panel1.TabIndex = 0;
//
// button12
//
this.button12.FlatAppearance.BorderSize = 0;
this.button12.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button12.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button12.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button12.ForeColor = System.Drawing.Color.White;
this.button12.Location = new System.Drawing.Point(0, 370);
this.button12.Margin = new System.Windows.Forms.Padding(0);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(36, 36);
this.button12.TabIndex = 14;
this.button12.Text = "";
this.button12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button12, "Przywróć");
this.button12.UseVisualStyleBackColor = true;
this.button12.Click += new System.EventHandler(this.button12_Click);
this.button12.MouseEnter += new System.EventHandler(this.button12_MouseEnter);
this.button12.MouseLeave += new System.EventHandler(this.button12_MouseLeave);
//
// button11
//
this.button11.FlatAppearance.BorderSize = 0;
this.button11.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button11.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button11.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button11.ForeColor = System.Drawing.Color.White;
this.button11.Location = new System.Drawing.Point(0, 334);
this.button11.Margin = new System.Windows.Forms.Padding(0);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(36, 36);
this.button11.TabIndex = 13;
this.button11.Text = "";
this.button11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button11, "Cofnij");
this.button11.UseVisualStyleBackColor = true;
this.button11.Click += new System.EventHandler(this.button11_Click);
this.button11.MouseEnter += new System.EventHandler(this.button11_MouseEnter);
this.button11.MouseLeave += new System.EventHandler(this.button11_MouseLeave);
//
// button10
//
this.button10.FlatAppearance.BorderSize = 0;
this.button10.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button10.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button10.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button10.ForeColor = System.Drawing.Color.White;
this.button10.Location = new System.Drawing.Point(0, 298);
this.button10.Margin = new System.Windows.Forms.Padding(0);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(36, 36);
this.button10.TabIndex = 12;
this.button10.Text = "";
this.button10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button10, "Wklej");
this.button10.UseVisualStyleBackColor = true;
this.button10.Click += new System.EventHandler(this.button10_Click);
this.button10.MouseEnter += new System.EventHandler(this.button10_MouseEnter);
this.button10.MouseLeave += new System.EventHandler(this.button10_MouseLeave);
//
// button9
//
this.button9.FlatAppearance.BorderSize = 0;
this.button9.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button9.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button9.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button9.ForeColor = System.Drawing.Color.White;
this.button9.Location = new System.Drawing.Point(0, 262);
this.button9.Margin = new System.Windows.Forms.Padding(0);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(36, 36);
this.button9.TabIndex = 11;
this.button9.Text = "";
this.button9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button9, "Wytnij");
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
this.button9.MouseEnter += new System.EventHandler(this.button9_MouseEnter);
this.button9.MouseLeave += new System.EventHandler(this.button9_MouseLeave);
//
// button8
//
this.button8.FlatAppearance.BorderSize = 0;
this.button8.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button8.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button8.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button8.ForeColor = System.Drawing.Color.White;
this.button8.Location = new System.Drawing.Point(0, 226);
this.button8.Margin = new System.Windows.Forms.Padding(0);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(36, 36);
this.button8.TabIndex = 10;
this.button8.Text = "";
this.button8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button8, "Kopiuj");
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
this.button8.MouseEnter += new System.EventHandler(this.button8_MouseEnter);
this.button8.MouseLeave += new System.EventHandler(this.button8_MouseLeave);
//
// button7
//
this.button7.FlatAppearance.BorderSize = 0;
this.button7.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button7.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button7.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.Color.White;
this.button7.Location = new System.Drawing.Point(0, 190);
this.button7.Margin = new System.Windows.Forms.Padding(0);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(36, 36);
this.button7.TabIndex = 9;
this.button7.Text = "";
this.button7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button7, "Podgląd wydruku");
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
this.button7.MouseEnter += new System.EventHandler(this.button7_MouseEnter);
this.button7.MouseLeave += new System.EventHandler(this.button7_MouseLeave);
//
// button6
//
this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button6.FlatAppearance.BorderSize = 0;
this.button6.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button6.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button6.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.Color.White;
this.button6.Location = new System.Drawing.Point(0, 501);
this.button6.Margin = new System.Windows.Forms.Padding(0);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(36, 36);
this.button6.TabIndex = 8;
this.button6.Text = "";
this.button6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button6, "Ustawienia czcionki");
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
this.button6.MouseEnter += new System.EventHandler(this.button6_MouseEnter);
this.button6.MouseLeave += new System.EventHandler(this.button6_MouseLeave);
//
// button5
//
this.button5.FlatAppearance.BorderSize = 0;
this.button5.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button5.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button5.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button5.ForeColor = System.Drawing.Color.White;
this.button5.Location = new System.Drawing.Point(0, 154);
this.button5.Margin = new System.Windows.Forms.Padding(0);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(36, 36);
this.button5.TabIndex = 7;
this.button5.Text = "";
this.button5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button5, "Drukuj");
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.printIt);
this.button5.MouseEnter += new System.EventHandler(this.button5_MouseEnter);
this.button5.MouseLeave += new System.EventHandler(this.button5_MouseLeave);
//
// button4
//
this.button4.FlatAppearance.BorderSize = 0;
this.button4.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button4.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button4.Font = new System.Drawing.Font("Segoe MDL2 Assets", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button4.ForeColor = System.Drawing.Color.White;
this.button4.Location = new System.Drawing.Point(0, 118);
this.button4.Margin = new System.Windows.Forms.Padding(0);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(36, 36);
this.button4.TabIndex = 6;
this.button4.Text = "";
this.button4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button4, "Zapisz jako");
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
this.button4.MouseEnter += new System.EventHandler(this.button4_MouseEnter);
this.button4.MouseLeave += new System.EventHandler(this.button4_MouseLeave);
//
// button3
//
this.button3.FlatAppearance.BorderSize = 0;
this.button3.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button3.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button3.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.ForeColor = System.Drawing.Color.White;
this.button3.Location = new System.Drawing.Point(0, 82);
this.button3.Margin = new System.Windows.Forms.Padding(0);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(36, 36);
this.button3.TabIndex = 5;
this.button3.Text = "";
this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button3, "Zapisz");
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
this.button3.MouseEnter += new System.EventHandler(this.button3_MouseEnter);
this.button3.MouseLeave += new System.EventHandler(this.button3_MouseLeave);
//
// button2
//
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.ForeColor = System.Drawing.Color.White;
this.button2.Location = new System.Drawing.Point(0, 46);
this.button2.Margin = new System.Windows.Forms.Padding(0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(36, 36);
this.button2.TabIndex = 4;
this.button2.Text = "";
this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button2, "Otwórz dokument");
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
this.button2.MouseEnter += new System.EventHandler(this.button2_MouseEnter);
this.button2.MouseLeave += new System.EventHandler(this.button2_MouseLeave);
//
// button1
//
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.ForeColor = System.Drawing.Color.White;
this.button1.Location = new System.Drawing.Point(0, 10);
this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(36, 36);
this.button1.TabIndex = 3;
this.button1.Text = "";
this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button1, "Nowy dokument");
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
this.button1.MouseEnter += new System.EventHandler(this.button1_MouseEnter);
this.button1.MouseLeave += new System.EventHandler(this.button1_MouseLeave);
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(36, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(943, 10);
this.panel2.TabIndex = 1;
//
// richTextBox1
//
this.richTextBox1.AcceptsTab = true;
this.richTextBox1.AutoWordSelection = true;
this.richTextBox1.BackColor = System.Drawing.Color.White;
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.ContextMenuStrip = this.contextMenuStrip1;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.richTextBox1.ForeColor = System.Drawing.Color.Black;
this.richTextBox1.Location = new System.Drawing.Point(36, 10);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
this.richTextBox1.ShowSelectionMargin = true;
this.richTextBox1.Size = new System.Drawing.Size(943, 527);
this.richTextBox1.TabIndex = 2;
this.richTextBox1.Text = "";
this.richTextBox1.SelectionChanged += new System.EventHandler(this.richTextBox1_SelectionChanged);
this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
//
// openFileDialog1
//
this.openFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Tekst sformatowany (*.rtf)|*.rtf|Strona HTML (*.html)" +
"|*html|Arkusz stylów (*.css)|*.css|Skrypt JavaScript (*.js)|*.js|Wszystkie pliki" +
" (*.*)|*.*";
this.openFileDialog1.Title = "Wybierz plik";
//
// saveFileDialog1
//
this.saveFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Tekst sformatowany (*.rtf)|*.rtf|Strona HTML (*.html)" +
"|*html|Arkusz stylów (*.css)|*.css|Skrypt JavaScript (*.js)|*.js|Wszystkie pliki" +
" (*.*)|*.*";
this.saveFileDialog1.Title = "Zapisz plik jako...";
//
// statusStrip1
//
this.statusStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(147)))), ((int)(((byte)(69)))));
this.statusStrip1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1});
this.statusStrip1.Location = new System.Drawing.Point(0, 537);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(979, 22);
this.statusStrip1.SizingGrip = false;
this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripStatusLabel1.ForeColor = System.Drawing.Color.White;
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.toolStripStatusLabel1.Size = new System.Drawing.Size(964, 17);
this.toolStripStatusLabel1.Spring = true;
this.toolStripStatusLabel1.Text = "Liczba znaków: 0";
//
// printDialog1
//
this.printDialog1.Document = this.printDocument1;
this.printDialog1.UseEXDialog = true;
//
// printDocument1
//
this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.beginPrint);
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printPage);
//
// printPreviewDialog1
//
this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
this.printPreviewDialog1.Document = this.printDocument1;
this.printPreviewDialog1.Enabled = true;
this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false;
//
// button13
//
this.button13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button13.FlatAppearance.BorderSize = 0;
this.button13.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button13.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button13.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button13.ForeColor = System.Drawing.Color.White;
this.button13.Location = new System.Drawing.Point(0, 465);
this.button13.Margin = new System.Windows.Forms.Padding(0);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(36, 36);
this.button13.TabIndex = 15;
this.button13.Text = "";
this.button13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button13, "Kolor czcionki");
this.button13.UseVisualStyleBackColor = true;
this.button13.Click += new System.EventHandler(this.button13_Click);
this.button13.MouseEnter += new System.EventHandler(this.button13_MouseEnter);
this.button13.MouseLeave += new System.EventHandler(this.button13_MouseLeave);
//
// button14
//
this.button14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button14.FlatAppearance.BorderSize = 0;
this.button14.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button14.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button14.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button14.ForeColor = System.Drawing.Color.White;
this.button14.Location = new System.Drawing.Point(0, 429);
this.button14.Margin = new System.Windows.Forms.Padding(0);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(36, 36);
this.button14.TabIndex = 16;
this.button14.Text = "";
this.button14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button14, "Kolor tła");
this.button14.UseVisualStyleBackColor = true;
this.button14.Click += new System.EventHandler(this.button14_Click);
this.button14.MouseEnter += new System.EventHandler(this.button14_MouseEnter);
this.button14.MouseLeave += new System.EventHandler(this.button14_MouseLeave);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.kopiujToolStripMenuItem,
this.wytnijToolStripMenuItem,
this.wklejToolStripMenuItem,
this.toolStripSeparator1,
this.cofnijToolStripMenuItem,
this.przywrócToolStripMenuItem,
this.toolStripSeparator2,
this.zmieńKolorTłaToolStripMenuItem,
this.zmieńKolorCzcionkiToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(185, 170);
//
// kopiujToolStripMenuItem
//
this.kopiujToolStripMenuItem.Name = "kopiujToolStripMenuItem";
this.kopiujToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.kopiujToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.kopiujToolStripMenuItem.Text = "Kopiuj";
this.kopiujToolStripMenuItem.Click += new System.EventHandler(this.kopiujToolStripMenuItem_Click);
//
// wklejToolStripMenuItem
//
this.wklejToolStripMenuItem.Name = "wklejToolStripMenuItem";
this.wklejToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
this.wklejToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.wklejToolStripMenuItem.Text = "Wklej";
this.wklejToolStripMenuItem.Click += new System.EventHandler(this.wklejToolStripMenuItem_Click);
//
// wytnijToolStripMenuItem
//
this.wytnijToolStripMenuItem.Name = "wytnijToolStripMenuItem";
this.wytnijToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
this.wytnijToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.wytnijToolStripMenuItem.Text = "Wytnij";
this.wytnijToolStripMenuItem.Click += new System.EventHandler(this.wytnijToolStripMenuItem_Click);
//
// cofnijToolStripMenuItem
//
this.cofnijToolStripMenuItem.Name = "cofnijToolStripMenuItem";
this.cofnijToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
this.cofnijToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.cofnijToolStripMenuItem.Text = "Cofnij";
this.cofnijToolStripMenuItem.Click += new System.EventHandler(this.cofnijToolStripMenuItem_Click);
//
// przywrócToolStripMenuItem
//
this.przywrócToolStripMenuItem.Name = "przywrócToolStripMenuItem";
this.przywrócToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
this.przywrócToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.przywrócToolStripMenuItem.Text = "Przywróć";
this.przywrócToolStripMenuItem.Click += new System.EventHandler(this.przywrócToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(181, 6);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(181, 6);
//
// zmieńKolorTłaToolStripMenuItem
//
this.zmieńKolorTłaToolStripMenuItem.Name = "zmieńKolorTłaToolStripMenuItem";
this.zmieńKolorTłaToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.zmieńKolorTłaToolStripMenuItem.Text = "Zmień kolor tła";
this.zmieńKolorTłaToolStripMenuItem.Click += new System.EventHandler(this.zmieńKolorTłaToolStripMenuItem_Click);
//
// zmieńKolorCzcionkiToolStripMenuItem
//
this.zmieńKolorCzcionkiToolStripMenuItem.Name = "zmieńKolorCzcionkiToolStripMenuItem";
this.zmieńKolorCzcionkiToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.zmieńKolorCzcionkiToolStripMenuItem.Text = "Zmień kolor czcionki";
this.zmieńKolorCzcionkiToolStripMenuItem.Click += new System.EventHandler(this.zmieńKolorCzcionkiToolStripMenuItem_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.ClientSize = new System.Drawing.Size(979, 559);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.statusStrip1);
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(995, 598);
this.Name = "Form1";
this.Text = "Bez tytułu - Notatnik";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
this.panel1.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.FontDialog fontDialog1;
private System.Windows.Forms.PrintDialog printDialog1;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button10;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button12;
private System.Windows.Forms.Button button11;
private System.Windows.Forms.Button button14;
private System.Windows.Forms.Button button13;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.ColorDialog colorDialog2;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem kopiujToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem wytnijToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem wklejToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem cofnijToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem przywrócToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem zmieńKolorTłaToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem zmieńKolorCzcionkiToolStripMenuItem;
}
}
+315
View File
@@ -0,0 +1,315 @@
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;
using System.IO;
namespace Notatnik
{
public partial class Form1 : Form
{
public string filePath = "null";
private string[] lines;
private int printedLines;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
richTextBox1.Font = Properties.Settings.Default.Czcionka;
richTextBox1.BackColor = Properties.Settings.Default.Tlo;
this.Size = Properties.Settings.Default.FormSize;
wytnijToolStripMenuItem.Enabled = false;
kopiujToolStripMenuItem.Enabled = false;
button8.Enabled = false;
button9.Enabled = false;
}
#region Zmiany kolorów przycisków
private void button1_MouseEnter(object sender, EventArgs e) { button1.ForeColor = Color.FromArgb(40, 167, 69); }
private void button1_MouseLeave(object sender, EventArgs e) { button1.ForeColor = Color.White; }
private void button2_MouseEnter(object sender, EventArgs e) { button2.ForeColor = Color.FromArgb(40, 167, 69); }
private void button2_MouseLeave(object sender, EventArgs e) { button2.ForeColor = Color.White; }
private void button3_MouseEnter(object sender, EventArgs e) { button3.ForeColor = Color.FromArgb(40, 167, 69); }
private void button3_MouseLeave(object sender, EventArgs e) { button3.ForeColor = Color.White; }
private void button4_MouseEnter(object sender, EventArgs e) { button4.ForeColor = Color.FromArgb(40, 167, 69); }
private void button4_MouseLeave(object sender, EventArgs e) { button4.ForeColor = Color.White; }
private void button5_MouseEnter(object sender, EventArgs e) { button5.ForeColor = Color.FromArgb(40, 167, 69); }
private void button5_MouseLeave(object sender, EventArgs e) { button5.ForeColor = Color.White; }
private void button6_MouseEnter(object sender, EventArgs e) { button6.ForeColor = Color.FromArgb(40, 167, 69); }
private void button6_MouseLeave(object sender, EventArgs e) { button6.ForeColor = Color.White; }
private void button7_MouseEnter(object sender, EventArgs e) { button7.ForeColor = Color.FromArgb(40, 167, 69); }
private void button7_MouseLeave(object sender, EventArgs e) { button7.ForeColor = Color.White; }
private void button8_MouseEnter(object sender, EventArgs e) { button8.ForeColor = Color.FromArgb(40, 167, 69); }
private void button8_MouseLeave(object sender, EventArgs e) { button8.ForeColor = Color.White; }
private void button9_MouseEnter(object sender, EventArgs e) { button9.ForeColor = Color.FromArgb(40, 167, 69); }
private void button9_MouseLeave(object sender, EventArgs e) { button9.ForeColor = Color.White; }
private void button10_MouseEnter(object sender, EventArgs e) { button10.ForeColor = Color.FromArgb(40, 167, 69); }
private void button10_MouseLeave(object sender, EventArgs e) { button10.ForeColor = Color.White; }
private void button11_MouseEnter(object sender, EventArgs e) { button11.ForeColor = Color.FromArgb(40, 167, 69); }
private void button11_MouseLeave(object sender, EventArgs e) { button11.ForeColor = Color.White; }
private void button12_MouseEnter(object sender, EventArgs e) { button12.ForeColor = Color.FromArgb(40, 167, 69); }
private void button12_MouseLeave(object sender, EventArgs e) { button12.ForeColor = Color.White; }
private void button13_MouseEnter(object sender, EventArgs e) { button13.ForeColor = Color.FromArgb(40, 167, 69); }
private void button13_MouseLeave(object sender, EventArgs e) { button13.ForeColor = Color.White; }
private void button14_MouseEnter(object sender, EventArgs e) { button14.ForeColor = Color.FromArgb(40, 167, 69); }
private void button14_MouseLeave(object sender, EventArgs e) { button14.ForeColor = Color.White; }
#endregion
#region Drukowanie
private void printIt(object sender, EventArgs e)
{
if(richTextBox1.ForeColor != Color.Black)
{
MessageBox.Show("UWAGA! Czcionka w drukowanym dokumencie będzie miała kolor głównej czcionki, a tło dalej pozostaje białe. Dla najlepszej jakości wydruku zmień kolor czcionki na czarny, jeżeli dokument będzie drukowany na białej kartce.", "Ostrzeżenie", MessageBoxButtons.OK, MessageBoxIcon.Warning);
if (printDialog1.ShowDialog() == DialogResult.OK)
printDocument1.Print();
} else
{
if (printDialog1.ShowDialog() == DialogResult.OK)
printDocument1.Print();
}
}
private void beginPrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
char[] param = { '\n' };
char[] trimParam = { '\r' };
int i = 0;
if (printDialog1.PrinterSettings.PrintRange == System.Drawing.Printing.PrintRange.Selection)
lines = richTextBox1.SelectedText.Split(param);
else
lines = richTextBox1.Text.Split(param);
foreach (string s in lines)
lines[i++] = s.TrimEnd(trimParam);
}
private void printPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
float x = e.MarginBounds.Left;
float y = e.MarginBounds.Top;
Brush brush = new SolidBrush(richTextBox1.ForeColor);
while (printedLines < lines.Length)
{
e.Graphics.DrawString(lines[printedLines++], richTextBox1.Font, brush, x, y);
y += richTextBox1.Font.Size * 1.2f;
if (y >= e.MarginBounds.Bottom)
{
e.HasMorePages = true;
return;
}
}
printedLines = 0;
e.HasMorePages = false;
}
#endregion
#region Zadania
void newFile()
{
TextReader textReader = new StreamReader(filePath);
if (filePath != "null" && richTextBox1.Text == "")
{
if (richTextBox1.Text == textReader.ReadToEnd())
{
this.Text = "Bez tytułu - Notatnik";
richTextBox1.Text = "";
filePath = "null";
}
else
{
if (MessageBox.Show("W tym pliku zostały wprowadzone zmiany. Czy chcesz je zapisać", "Notatnik", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (filePath == "null")
saveAsFile();
else
saveFile();
this.Text = "Bez tytułu - Notatnik";
richTextBox1.Text = "";
filePath = "null";
}
else
{
this.Text = "Bez tytułu - Notatnik";
richTextBox1.Text = "";
filePath = "null";
}
}
} else
{
this.Text = "Bez tytułu - Notatnik";
richTextBox1.Text = "";
filePath = "null";
}
}
void openFile()
{
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
filePath = openFileDialog1.FileName;
this.Text = openFileDialog1.FileName + " - Notatnik";
var fileStream = openFileDialog1.OpenFile();
TextReader textReader = new StreamReader(fileStream);
richTextBox1.Text = textReader.ReadToEnd();
}
toolStripStatusLabel1.Text = "Otwarto plik " + openFileDialog1.FileName + "!";
}
void saveFile()
{
TextWriter textWriter = new StreamWriter(filePath);
textWriter.Write(richTextBox1.Text);
textWriter.Close();
toolStripStatusLabel1.Text = "Zapisano!";
}
void saveAsFile()
{
if(saveFileDialog1.ShowDialog() == DialogResult.OK)
{
filePath = saveFileDialog1.FileName;
saveFile();
this.Text = saveFileDialog1.FileName + " - Notatnik";
}
toolStripStatusLabel1.Text = "Zapisano!";
}
void copySelected()
{
richTextBox1.Copy();
toolStripStatusLabel1.Text = "Skopiowano!";
}
void pasteText() { richTextBox1.Paste(); }
void cutSelected()
{
richTextBox1.Cut();
toolStripStatusLabel1.Text = "Wycięto!";
}
void undoChanges() { richTextBox1.Undo(); }
void redoChanges() { richTextBox1.Redo(); }
void changeFontColor()
{
if(colorDialog1.ShowDialog() == DialogResult.OK)
{
if (richTextBox1.SelectedText.Length == 0 | richTextBox1.SelectedText.Length == richTextBox1.Text.Length)
richTextBox1.ForeColor = colorDialog1.Color;
else
richTextBox1.SelectionColor = colorDialog1.Color;
}
}
void changeBackgroundColor()
{
if (colorDialog2.ShowDialog() == DialogResult.OK)
richTextBox1.BackColor = colorDialog2.Color;
Properties.Settings.Default.Tlo = colorDialog2.Color;
Properties.Settings.Default.Save();
}
#endregion
#region Skrypty odpowiadające za przyciski
private void button1_Click(object sender, EventArgs e) { newFile(); }
private void button2_Click(object sender, EventArgs e) { openFile(); }
private void button3_Click(object sender, EventArgs e)
{
if (filePath == "null")
saveAsFile();
else
saveFile();
}
private void button4_Click(object sender, EventArgs e) { saveAsFile(); }
private void button6_Click(object sender, EventArgs e)
{
fontDialog1.Font = Properties.Settings.Default.Czcionka;
if (fontDialog1.ShowDialog() == DialogResult.OK)
{
richTextBox1.Font = fontDialog1.Font;
Properties.Settings.Default.Czcionka = fontDialog1.Font;
Properties.Settings.Default.Save();
}
}
private void button7_Click(object sender, EventArgs e) { printPreviewDialog1.ShowDialog(); }
private void button8_Click(object sender, EventArgs e) { copySelected(); }
private void button9_Click(object sender, EventArgs e) { cutSelected(); }
private void button10_Click(object sender, EventArgs e) { pasteText(); }
private void button11_Click(object sender, EventArgs e) { undoChanges(); }
private void button12_Click(object sender, EventArgs e) { redoChanges(); }
private void button13_Click(object sender, EventArgs e) { changeFontColor(); }
private void button14_Click(object sender, EventArgs e) { changeBackgroundColor(); }
#endregion
#region Skrypty ToolStripa
private void kopiujToolStripMenuItem_Click(object sender, EventArgs e) { copySelected(); }
private void wytnijToolStripMenuItem_Click(object sender, EventArgs e) { cutSelected(); }
private void wklejToolStripMenuItem_Click(object sender, EventArgs e) { pasteText(); }
private void cofnijToolStripMenuItem_Click(object sender, EventArgs e) { undoChanges(); }
private void przywrócToolStripMenuItem_Click(object sender, EventArgs e) { redoChanges(); }
private void zmieńKolorTłaToolStripMenuItem_Click(object sender, EventArgs e) { changeBackgroundColor(); }
private void zmieńKolorCzcionkiToolStripMenuItem_Click(object sender, EventArgs e) { changeFontColor(); }
#endregion
private void Form1_SizeChanged(object sender, EventArgs e)
{
Properties.Settings.Default.FormSize = this.Size;
Properties.Settings.Default.Save();
}
private void richTextBox1_SelectionChanged(object sender, EventArgs e)
{
if(richTextBox1.SelectedText.Length != 0)
{
wytnijToolStripMenuItem.Enabled = true;
kopiujToolStripMenuItem.Enabled = true;
button8.Enabled = true;
button9.Enabled = true;
}
else
{
wytnijToolStripMenuItem.Enabled = false;
kopiujToolStripMenuItem.Enabled = false;
button8.Enabled = false;
button9.Enabled = false;
}
}
private void richTextBox1_TextChanged(object sender, EventArgs e) { toolStripStatusLabel1.Text = "Liczba znaków: " + richTextBox1.TextLength; }
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
TextReader textReader = new StreamReader(filePath);
if (filePath != "null" && richTextBox1.Text == "")
{
if (richTextBox1.Text == textReader.ReadToEnd())
{
if (MessageBox.Show("W tym pliku zostały wprowadzone zmiany. Czy chcesz je zapisać", "Notatnik", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (filePath == "null")
saveAsFile();
else
saveFile();
}
else
Application.Exit();
}
else
Application.Exit();
}
else
Application.Exit();
}
}
}
File diff suppressed because it is too large Load Diff
+89
View File
@@ -0,0 +1,89 @@
<?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>{D2745284-0A2A-4A72-8FEC-C907C5B1771F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Notatnik</RootNamespace>
<AssemblyName>Notatnik</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<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>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
</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="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</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>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Notatnik
{
static class Program
{
/// <summary>
/// Główny punkt wejścia dla aplikacji.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
@@ -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("Notatnik")]
[assembly: AssemblyDescription("Najzwyklejszy notatnik")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")]
[assembly: AssemblyProduct("Notatnik")]
[assembly: AssemblyCopyright("Copyright © Krzysztof Smaga 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("d2745284-0a2a-4a72-8fec-c907c5b1771f")]
// 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")]
+63
View File
@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja wykonawcza:4.0.30319.42000
//
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
// kod zostanie ponownie wygenerowany.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Notatnik.Properties {
using System;
/// <summary>
/// Klasa zasobu wymagająca zdefiniowania typu do wyszukiwania zlokalizowanych ciągów itd.
/// </summary>
// Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder
// przez narzędzie, takie jak ResGen lub Visual Studio.
// Aby dodać lub usunąć składową, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
// z opcją /str lub ponownie utwórz projekt VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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>
/// Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Notatnik.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
/// przypadków przeszukiwania zasobów za pomocą tej klasy zasobów wymagającej zdefiniowania typu.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
+62
View File
@@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja wykonawcza:4.0.30319.42000
//
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
// kod zostanie ponownie wygenerowany.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Notatnik.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.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;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Calibri, 12pt")]
public global::System.Drawing.Font Czcionka {
get {
return ((global::System.Drawing.Font)(this["Czcionka"]));
}
set {
this["Czcionka"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("900, 512")]
public global::System.Drawing.Size FormSize {
get {
return ((global::System.Drawing.Size)(this["FormSize"]));
}
set {
this["FormSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("White")]
public global::System.Drawing.Color Tlo {
get {
return ((global::System.Drawing.Color)(this["Tlo"]));
}
set {
this["Tlo"] = value;
}
}
}
}
@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Notatnik.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="Czcionka" Type="System.Drawing.Font" Scope="User">
<Value Profile="(Default)">Calibri, 12pt</Value>
</Setting>
<Setting Name="FormSize" Type="System.Drawing.Size" Scope="User">
<Value Profile="(Default)">900, 512</Value>
</Setting>
<Setting Name="Tlo" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">White</Value>
</Setting>
</Settings>
</SettingsFile>
Binary file not shown.
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Notatnik.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Notepad_v2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<Notatnik.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
</Notepad_v2.Properties.Settings>
</userSettings>
</configuration>
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
null
Binary file not shown.
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Notatnik.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Notepad_v2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<Notatnik.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
<value>Calibri, 12pt</value>
</setting>
</Notepad_v2.Properties.Settings>
</userSettings>
</configuration>
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
49ddf053a8af5d6e9369e6d3a8e96ccab85129ad
@@ -0,0 +1,10 @@
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notepad v2.csprojAssemblyReference.cache
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notepad v2.csproj.GenerateResource.cache
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notepad v2.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notatnik.Form1.resources
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notatnik.Properties.Resources.resources
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\bin\Debug\Notatnik.exe.config
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\bin\Debug\Notatnik.exe
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\bin\Debug\Notatnik.pdb
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notatnik.exe
C:\Users\Krzysiek\source\repos\Notepad v2\Notepad v2\obj\Debug\Notatnik.pdb
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
42fc91b920426e379a4ce720848eb9d703449fc4
@@ -0,0 +1,10 @@
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Release\Notatnik.exe.config
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Release\Notatnik.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Release\Notatnik.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notepad v2.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notatnik.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notatnik.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notepad v2.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notepad v2.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notatnik.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notatnik.pdb