34 Commits
Author SHA1 Message Date
ChristopherandGitHub f74b9e5f87 Update changelog 2021-01-26 08:10:57 +01:00
ChristopherandGitHub 73f206d52d Update version 2021-01-26 08:10:08 +01:00
Christopher 1c7b32e783 Merge branch 'main' of https://github.com/KrzysiekSiemv/Notepad into main 2021-01-26 08:06:56 +01:00
Christopher d43616384c Wersja wydania 1.0.3.0 2021-01-26 08:06:22 +01:00
ChristopherandGitHub 5506eee9d6 Update changelog 2021-01-26 00:48:16 +01:00
ChristopherandGitHub 2d848119c7 Update download 2021-01-26 00:47:23 +01:00
ChristopherandGitHub 00dd1c7db9 Update version 2021-01-26 00:47:03 +01:00
ChristopherandGitHub 0a59cf2434 Update download 2021-01-26 00:06:35 +01:00
ChristopherandGitHub fa3ff913ff Update version 2021-01-26 00:05:56 +01:00
ChristopherandGitHub c5abc8d24f Update version 2021-01-26 00:01:53 +01:00
ChristopherandGitHub 1dc8f39ae1 Update version 2021-01-26 00:01:11 +01:00
Christopher 4ef651f0eb któryś tam update 2021-01-22 13:17:54 +01:00
Christopher 10fecc540c Update plików
Kontynuacja pracy z 20 stycznia
2021-01-21 20:40:14 +01:00
ChristopherandGitHub 6f058dfd2f Rename version.txt to update/version 2021-01-20 22:58:55 +01:00
ChristopherandGitHub e2fe8e3185 Rename update.txt to update/download 2021-01-20 22:58:35 +01:00
ChristopherandGitHub 37e142c8cb Rename changelog to update/changelog 2021-01-20 22:58:18 +01:00
ChristopherandGitHub f1b09e637a Rename changelog.txt to changelog 2021-01-20 22:57:55 +01:00
ChristopherandGitHub ee9edfcde4 Update version.txt 2021-01-20 22:50:43 +01:00
ChristopherandGitHub f9f5378c2c Update changelog.txt 2021-01-20 22:41:37 +01:00
ChristopherandGitHub aad431e861 Update update.txt 2021-01-20 22:39:13 +01:00
ChristopherandGitHub 0c30441c2d Create update.txt 2021-01-20 22:38:42 +01:00
ChristopherandGitHub 5c749fa3d1 Create changelog.txt 2021-01-20 22:22:50 +01:00
ChristopherandGitHub 8fc4f4a647 Create version.txt 2021-01-20 22:07:52 +01:00
Christopher a7de590bbc Merge branch 'main' of https://github.com/KrzysiekSiemv/Notepad into main 2021-01-20 22:05:17 +01:00
Christopher cecd55435b blep 2021-01-20 22:04:40 +01:00
ChristopherandGitHub f345d84185 Update version.txt 2021-01-13 15:01:49 +01:00
ChristopherandGitHub c60f42ef56 Create version.txt 2021-01-13 14:55:02 +01:00
ChristopherandGitHub d05d36bae3 Update README.md 2020-12-21 08:45:31 +01:00
ChristopherandGitHub b903ca9dac Update README.md 2020-12-21 08:44:34 +01:00
ChristopherandGitHub 5ed6f3da87 Update README.md 2020-12-21 08:21:16 +01:00
Christopher 549e578fe1 Zmiana wersji 2020-12-21 08:18:45 +01:00
Christopher 0e076c46bb Merge branch 'main' of https://github.com/KrzysiekSiemv/Notepad into main 2020-12-21 08:15:13 +01:00
Christopher ae03621cf0 Dodanie stylów do czcionek 2020-12-21 08:13:57 +01:00
ChristopherandGitHub a0bdcb9de5 Update README.md 2020-12-20 21:56:19 +01:00
79 changed files with 5626 additions and 208 deletions
Binary file not shown.
+7 -1
View File
@@ -15,11 +15,17 @@
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
<value>1044, 700</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
<setting name="FirstRun" serializeAs="String">
<value>True</value>
</setting>
<setting name="KolorCzcionki" serializeAs="String">
<value />
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
+304 -162
View File
@@ -32,6 +32,11 @@ namespace Notatnik
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.panel1 = new System.Windows.Forms.Panel();
this.button15 = new System.Windows.Forms.Button();
this.button16 = new System.Windows.Forms.Button();
this.button17 = new System.Windows.Forms.Button();
this.button14 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
@@ -46,6 +51,22 @@ namespace Notatnik
this.button1 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.kopiujToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wytnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wklejToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.cofnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.przywrócToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
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.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.pogrubienieToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.kursywaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.podkreślenieToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.updateSeparator = new System.Windows.Forms.ToolStripSeparator();
this.updateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
@@ -55,28 +76,20 @@ namespace Notatnik
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.informacjeOProgramieToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.panel1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.statusStrip1.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.button15);
this.panel1.Controls.Add(this.button16);
this.panel1.Controls.Add(this.button17);
this.panel1.Controls.Add(this.button14);
this.panel1.Controls.Add(this.button13);
this.panel1.Controls.Add(this.button12);
@@ -94,47 +107,153 @@ namespace Notatnik
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.Size = new System.Drawing.Size(44, 639);
this.panel1.TabIndex = 0;
//
// button15
//
this.button15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button15.FlatAppearance.BorderSize = 0;
this.button15.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button15.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button15.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button15.ForeColor = System.Drawing.Color.White;
this.button15.Location = new System.Drawing.Point(5, 481);
this.button15.Margin = new System.Windows.Forms.Padding(0);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(36, 36);
this.button15.TabIndex = 19;
this.button15.Text = "";
this.button15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button15, "Podkreślenie");
this.button15.UseVisualStyleBackColor = true;
this.button15.Click += new System.EventHandler(this.button15_Click);
//
// button16
//
this.button16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button16.FlatAppearance.BorderSize = 0;
this.button16.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button16.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button16.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button16.ForeColor = System.Drawing.Color.White;
this.button16.Location = new System.Drawing.Point(5, 445);
this.button16.Margin = new System.Windows.Forms.Padding(0);
this.button16.Name = "button16";
this.button16.Size = new System.Drawing.Size(36, 36);
this.button16.TabIndex = 18;
this.button16.Text = "";
this.button16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button16, "Kursywa");
this.button16.UseVisualStyleBackColor = true;
this.button16.Click += new System.EventHandler(this.button16_Click);
//
// button17
//
this.button17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button17.FlatAppearance.BorderSize = 0;
this.button17.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button17.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button17.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button17.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button17.ForeColor = System.Drawing.Color.White;
this.button17.Location = new System.Drawing.Point(5, 409);
this.button17.Margin = new System.Windows.Forms.Padding(0);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(36, 36);
this.button17.TabIndex = 17;
this.button17.Text = "";
this.button17.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.button17, "Pobrugienie");
this.button17.UseVisualStyleBackColor = true;
this.button17.Click += new System.EventHandler(this.button17_Click);
//
// 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(4, 529);
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);
//
// 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(4, 565);
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);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.Transparent;
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.Font = new System.Drawing.Font("Segoe MDL2 Assets", 8.25F, 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.Location = new System.Drawing.Point(22, 334);
this.button12.Margin = new System.Windows.Forms.Padding(0);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(36, 36);
this.button12.Size = new System.Drawing.Size(18, 18);
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.UseVisualStyleBackColor = false;
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.BackColor = System.Drawing.Color.Transparent;
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.Font = new System.Drawing.Font("Segoe MDL2 Assets", 8.25F, 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.Size = new System.Drawing.Size(18, 18);
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.UseVisualStyleBackColor = false;
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);
@@ -147,7 +266,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 298);
this.button10.Margin = new System.Windows.Forms.Padding(0);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(36, 36);
@@ -168,7 +287,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 262);
this.button9.Margin = new System.Windows.Forms.Padding(0);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(36, 36);
@@ -189,7 +308,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 226);
this.button8.Margin = new System.Windows.Forms.Padding(0);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(36, 36);
@@ -210,7 +329,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 190);
this.button7.Margin = new System.Windows.Forms.Padding(0);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(36, 36);
@@ -232,7 +351,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 601);
this.button6.Margin = new System.Windows.Forms.Padding(0);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(36, 36);
@@ -253,7 +372,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 154);
this.button5.Margin = new System.Windows.Forms.Padding(0);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(36, 36);
@@ -274,7 +393,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 118);
this.button4.Margin = new System.Windows.Forms.Padding(0);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(36, 36);
@@ -295,7 +414,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 82);
this.button3.Margin = new System.Windows.Forms.Padding(0);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(36, 36);
@@ -316,7 +435,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 46);
this.button2.Margin = new System.Windows.Forms.Padding(0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(36, 36);
@@ -337,7 +456,7 @@ namespace Notatnik
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.Location = new System.Drawing.Point(4, 9);
this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(36, 36);
@@ -354,9 +473,9 @@ namespace Notatnik
//
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.Location = new System.Drawing.Point(44, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(943, 10);
this.panel2.Size = new System.Drawing.Size(984, 10);
this.panel2.TabIndex = 1;
//
// richTextBox1
@@ -369,16 +488,145 @@ namespace Notatnik
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.Location = new System.Drawing.Point(44, 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.Size = new System.Drawing.Size(984, 629);
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);
//
// 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.toolStripSeparator3,
this.pogrubienieToolStripMenuItem,
this.kursywaToolStripMenuItem,
this.podkreślenieToolStripMenuItem,
this.updateSeparator,
this.informacjeOProgramieToolStripMenuItem,
this.updateToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(200, 314);
//
// 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(199, 22);
this.kopiujToolStripMenuItem.Text = "Kopiuj";
this.kopiujToolStripMenuItem.Click += new System.EventHandler(this.kopiujToolStripMenuItem_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(199, 22);
this.wytnijToolStripMenuItem.Text = "Wytnij";
this.wytnijToolStripMenuItem.Click += new System.EventHandler(this.wytnijToolStripMenuItem_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(199, 22);
this.wklejToolStripMenuItem.Text = "Wklej";
this.wklejToolStripMenuItem.Click += new System.EventHandler(this.wklejToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(196, 6);
//
// 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(199, 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(199, 22);
this.przywrócToolStripMenuItem.Text = "Przywróć";
this.przywrócToolStripMenuItem.Click += new System.EventHandler(this.przywrócToolStripMenuItem_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(196, 6);
//
// zmieńKolorTłaToolStripMenuItem
//
this.zmieńKolorTłaToolStripMenuItem.Name = "zmieńKolorTłaToolStripMenuItem";
this.zmieńKolorTłaToolStripMenuItem.Size = new System.Drawing.Size(199, 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(199, 22);
this.zmieńKolorCzcionkiToolStripMenuItem.Text = "Zmień kolor czcionki";
this.zmieńKolorCzcionkiToolStripMenuItem.Click += new System.EventHandler(this.zmieńKolorCzcionkiToolStripMenuItem_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(196, 6);
//
// pogrubienieToolStripMenuItem
//
this.pogrubienieToolStripMenuItem.Name = "pogrubienieToolStripMenuItem";
this.pogrubienieToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B)));
this.pogrubienieToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
this.pogrubienieToolStripMenuItem.Text = "Pogrubienie";
this.pogrubienieToolStripMenuItem.Click += new System.EventHandler(this.pogrubienieToolStripMenuItem_Click);
//
// kursywaToolStripMenuItem
//
this.kursywaToolStripMenuItem.Name = "kursywaToolStripMenuItem";
this.kursywaToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
this.kursywaToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
this.kursywaToolStripMenuItem.Text = "Kursywa";
this.kursywaToolStripMenuItem.Click += new System.EventHandler(this.kursywaToolStripMenuItem_Click);
//
// podkreślenieToolStripMenuItem
//
this.podkreślenieToolStripMenuItem.Name = "podkreślenieToolStripMenuItem";
this.podkreślenieToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)));
this.podkreślenieToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
this.podkreślenieToolStripMenuItem.Text = "Podkreślenie";
this.podkreślenieToolStripMenuItem.Click += new System.EventHandler(this.podkreślenieToolStripMenuItem_Click);
//
// updateSeparator
//
this.updateSeparator.Name = "updateSeparator";
this.updateSeparator.Size = new System.Drawing.Size(196, 6);
//
// updateToolStripMenuItem
//
this.updateToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.updateToolStripMenuItem.Name = "updateToolStripMenuItem";
this.updateToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
this.updateToolStripMenuItem.Text = "Update!";
this.updateToolStripMenuItem.Visible = false;
this.updateToolStripMenuItem.Click += new System.EventHandler(this.updateToolStripMenuItem_Click);
//
// openFileDialog1
//
this.openFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Tekst sformatowany (*.rtf)|*.rtf|Strona HTML (*.html)" +
@@ -399,9 +647,9 @@ namespace Notatnik
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.Location = new System.Drawing.Point(0, 639);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(979, 22);
this.statusStrip1.Size = new System.Drawing.Size(1028, 22);
this.statusStrip1.SizingGrip = false;
this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1";
@@ -412,7 +660,7 @@ namespace Notatnik
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.Size = new System.Drawing.Size(1013, 17);
this.toolStripStatusLabel1.Spring = true;
this.toolStripStatusLabel1.Text = "Liczba znaków: 0";
//
@@ -437,151 +685,35 @@ namespace Notatnik
this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false;
//
// button13
// informacjeOProgramieToolStripMenuItem
//
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);
this.informacjeOProgramieToolStripMenuItem.Name = "informacjeOProgramieToolStripMenuItem";
this.informacjeOProgramieToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
this.informacjeOProgramieToolStripMenuItem.Text = "Informacje o programie";
this.informacjeOProgramieToolStripMenuItem.Click += new System.EventHandler(this.informacjeOProgramieToolStripMenuItem_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.ClientSize = new System.Drawing.Size(1028, 661);
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.MinimumSize = new System.Drawing.Size(1044, 700);
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.contextMenuStrip1.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -627,6 +759,16 @@ namespace Notatnik
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem zmieńKolorTłaToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem zmieńKolorCzcionkiToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripMenuItem pogrubienieToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem kursywaToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem podkreślenieToolStripMenuItem;
private System.Windows.Forms.Button button15;
private System.Windows.Forms.Button button16;
private System.Windows.Forms.Button button17;
private System.Windows.Forms.ToolStripSeparator updateSeparator;
private System.Windows.Forms.ToolStripMenuItem updateToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem informacjeOProgramieToolStripMenuItem;
}
}
+141 -28
View File
@@ -8,6 +8,9 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Diagnostics;
namespace Notatnik
{
@@ -16,6 +19,7 @@ namespace Notatnik
public string filePath = Path.GetTempPath() + "null.txt";
private string[] lines;
private int printedLines;
public Form1()
{
InitializeComponent();
@@ -25,15 +29,20 @@ namespace Notatnik
{
richTextBox1.Font = Properties.Settings.Default.Czcionka;
richTextBox1.BackColor = Properties.Settings.Default.Tlo;
richTextBox1.ForeColor = Properties.Settings.Default.KolorCzcionki;
this.Size = Properties.Settings.Default.FormSize;
wytnijToolStripMenuItem.Enabled = false;
kopiujToolStripMenuItem.Enabled = false;
button8.Enabled = false;
button9.Enabled = false;
if(NetworkInterface.GetIsNetworkAvailable())
checkUpdate();
}
TextWriter textWriter = new StreamWriter(filePath);
textWriter.Write("null");
textWriter.Close();
public void openFile_FromExplorer(String[] file) {
filePath = file[0];
openFile(true);
}
#region Zmiany kolorów przycisków
@@ -156,18 +165,28 @@ namespace Notatnik
}
}
void openFile()
void openFile(bool fromCmd)
{
if (openFileDialog1.ShowDialog() == DialogResult.OK)
if (fromCmd)
{
filePath = openFileDialog1.FileName;
this.Text = openFileDialog1.FileName + " - Notatnik";
var fileStream = openFileDialog1.OpenFile();
TextReader textReader = new StreamReader(fileStream);
richTextBox1.Text = textReader.ReadToEnd();
this.Text = filePath + " - Notatnik";
StreamReader streamReader = new StreamReader(filePath);
richTextBox1.Text = streamReader.ReadToEnd();
streamReader.Close();
}
else
{
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 + "!";
}
toolStripStatusLabel1.Text = "Otwarto plik " + openFileDialog1.FileName + "!";
}
void saveFile()
@@ -212,7 +231,11 @@ namespace Notatnik
if(colorDialog1.ShowDialog() == DialogResult.OK)
{
if (richTextBox1.SelectedText.Length == 0 | richTextBox1.SelectedText.Length == richTextBox1.Text.Length)
{
richTextBox1.ForeColor = colorDialog1.Color;
Properties.Settings.Default.KolorCzcionki = colorDialog1.Color;
Properties.Settings.Default.Save();
}
else
richTextBox1.SelectionColor = colorDialog1.Color;
}
@@ -226,10 +249,65 @@ namespace Notatnik
Properties.Settings.Default.Tlo = colorDialog2.Color;
Properties.Settings.Default.Save();
}
void boldText()
{
if (richTextBox1.SelectedText.Length == 0 | richTextBox1.SelectedText.Length == richTextBox1.Text.Length)
{
if (!richTextBox1.Font.Bold)
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Bold);
else
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Regular);
}
else
{
if (!richTextBox1.Font.Bold)
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Bold);
else
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Regular);
}
}
void italicText()
{
if (richTextBox1.SelectedText.Length == 0 | richTextBox1.SelectedText.Length == richTextBox1.Text.Length)
{
if (!richTextBox1.Font.Italic)
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Italic);
else
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Regular);
}
else
{
if (!richTextBox1.Font.Italic)
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Italic);
else
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Regular);
}
}
void underlineText()
{
if (richTextBox1.SelectedText.Length == 0 | richTextBox1.SelectedText.Length == richTextBox1.Text.Length)
{
if (!richTextBox1.Font.Underline)
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Underline);
else
richTextBox1.Font = new Font(richTextBox1.Font, FontStyle.Regular);
}
else
{
if (!richTextBox1.Font.Underline)
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Underline);
else
richTextBox1.SelectionFont = new Font(richTextBox1.Font, FontStyle.Regular);
}
}
#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 button2_Click(object sender, EventArgs e) { openFile(false); }
private void button3_Click(object sender, EventArgs e)
{
if (filePath == Path.GetTempPath() + "null.txt")
@@ -256,6 +334,9 @@ namespace Notatnik
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(); }
private void button15_Click(object sender, EventArgs e) { underlineText(); }
private void button16_Click(object sender, EventArgs e) { italicText(); }
private void button17_Click(object sender, EventArgs e) { boldText(); }
#endregion
#region Skrypty ToolStripa
private void kopiujToolStripMenuItem_Click(object sender, EventArgs e) { copySelected(); }
@@ -265,6 +346,9 @@ namespace Notatnik
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(); }
private void pogrubienieToolStripMenuItem_Click(object sender, EventArgs e) { boldText(); }
private void kursywaToolStripMenuItem_Click(object sender, EventArgs e) { italicText(); }
private void podkreślenieToolStripMenuItem_Click(object sender, EventArgs e) { underlineText(); }
#endregion
private void Form1_SizeChanged(object sender, EventArgs e)
@@ -294,26 +378,55 @@ namespace Notatnik
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
TextReader textReader = new StreamReader(filePath);
if (filePath != Path.GetTempPath() + "null.txt" && richTextBox1.Text == "")
if(richTextBox1.Text != "")
{
if (richTextBox1.Text == textReader.ReadToEnd())
if (MessageBox.Show("Czy chcesz zapisać plik?", "Notatnik", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (MessageBox.Show("W tym pliku zostały wprowadzone zmiany. Czy chcesz je zapisać", "Notatnik", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (filePath == Path.GetTempPath() + "null.txt")
saveAsFile();
else
saveFile();
}
if (filePath == Path.GetTempPath() + "null.txt")
saveAsFile();
else
Application.Exit();
saveFile();
}
else
Application.Exit();
}
}
void checkUpdate()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
string urlVersion = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/update/version";
WebClient webClient = new WebClient();
Stream stream = webClient.OpenRead(urlVersion);
StreamReader reader = new StreamReader(stream);
string content = reader.ReadLine();
if(Application.ProductVersion != content)
{
toolStripStatusLabel1.Text = "Jest dostępna nowa wersja! Jeżeli chcesz zainstalować, wybierz w Context Menu: Pobierz update!";
statusStrip1.BackColor = Color.FromArgb(255, 202, 81, 0);
updateToolStripMenuItem.Visible = true;
}
else
Application.Exit();
}
private void updateToolStripMenuItem_Click(object sender, EventArgs e)
{
if (File.Exists(Application.StartupPath + "\\updater.exe"))
{
Process.Start("updater.exe");
this.Close();
} else
{
if(MessageBox.Show("Nie posiadasz programu do aktualizacji Notatnika. Być może dlatego, że jest to wersja Portable lub plik \"updater.exe\" został usunięty.", "Nie ma pliku updater.exe!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
Process.Start("https://github.com/KrzysiekSiemv/Notepad/releases");
}
}
}
private void informacjeOProgramieToolStripMenuItem_Click(object sender, EventArgs e)
{
Info info = new Info();
info.Show();
}
}
}
+3 -3
View File
@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1285, 17</value>
</metadata>
@@ -318,9 +321,6 @@
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
</value>
</data>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="colorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1043, 17</value>
</metadata>
+136
View File
@@ -0,0 +1,136 @@
namespace Notatnik
{
partial class Info
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Info));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.label4 = new System.Windows.Forms.Label();
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
this.SuspendLayout();
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(284, 30);
this.label1.TabIndex = 0;
this.label1.Text = "Notatnik";
this.label1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// label2
//
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label2.Location = new System.Drawing.Point(12, 30);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(70, 20);
this.label2.TabIndex = 1;
this.label2.Text = "Twórca:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label3
//
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label3.Location = new System.Drawing.Point(12, 50);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(70, 20);
this.label3.TabIndex = 2;
this.label3.Text = "Wersja:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(88, 34);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(166, 13);
this.linkLabel1.TabIndex = 3;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "Krzysztof \"KrzysiekSiemv\" Smaga";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(88, 54);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(35, 13);
this.label4.TabIndex = 4;
this.label4.Text = "label4";
//
// linkLabel2
//
this.linkLabel2.AutoSize = true;
this.linkLabel2.Location = new System.Drawing.Point(181, 89);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new System.Drawing.Size(91, 13);
this.linkLabel2.TabIndex = 5;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = "Wpłać darowiznę";
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
//
// Info
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 111);
this.Controls.Add(this.linkLabel2);
this.Controls.Add(this.label4);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(300, 150);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(300, 150);
this.Name = "Info";
this.Text = "Informacje o programie";
this.Load += new System.EventHandler(this.Info_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.LinkLabel linkLabel2;
}
}
+20
View File
@@ -0,0 +1,20 @@
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 Notatnik
{
public partial class Info : Form
{
public Info() { InitializeComponent(); }
private void Info_Load(object sender, EventArgs e) { label4.Text = Application.ProductVersion; }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { System.Diagnostics.Process.Start("https://github.com/KrzysiekSiemv"); }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { System.Diagnostics.Process.Start("https://tipply.pl/u/krzysieksiemv"); }
}
}
File diff suppressed because it is too large Load Diff
+62
View File
@@ -11,6 +11,25 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publikuj\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<TargetCulture>pl-PL</TargetCulture>
<ProductName>Notatnik</ProductName>
<PublisherName>Krzysztof %27KrzysiekSiemv%27 Smaga</PublisherName>
<SuiteName>Notepad</SuiteName>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.2.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -34,6 +53,15 @@
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -54,11 +82,26 @@
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Info.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Info.Designer.cs">
<DependentUpon>Info.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Update.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Update.Designer.cs">
<DependentUpon>Update.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Info.resx">
<DependentUpon>Info.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -69,6 +112,10 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Update.resx">
<DependentUpon>Update.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -85,5 +132,20 @@
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<FileAssociation Include=".txt">
<Visible>False</Visible>
<Description>Plik tekstowy</Description>
<Progid>1</Progid>
<DefaultIcon>icon.ico</DefaultIcon>
</FileAssociation>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publikuj\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>pl-PL</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
+13 -3
View File
@@ -12,11 +12,21 @@ namespace Notatnik
/// Główny punkt wejścia dla aplikacji.
/// </summary>
[STAThread]
static void Main()
static void Main(String[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.EnableVisualStyles();
Form1 form1 = new Form1();
if (args.Length > 0)
{
form1.openFile_FromExplorer(args);
Application.Run(form1);
}
else
{
Application.Run(form1);
}
}
}
}
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")]
[assembly: AssemblyProduct("Notatnik")]
[assembly: AssemblyCopyright("Copyright © Krzysztof Smaga 2020")]
[assembly: AssemblyCopyright("Copyright © Krzysztof Smaga 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 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")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
+24 -1
View File
@@ -37,7 +37,7 @@ namespace Notatnik.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("900, 512")]
[global::System.Configuration.DefaultSettingValueAttribute("1044, 700")]
public global::System.Drawing.Size FormSize {
get {
return ((global::System.Drawing.Size)(this["FormSize"]));
@@ -58,5 +58,28 @@ namespace Notatnik.Properties {
this["Tlo"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool FirstRun {
get {
return ((bool)(this["FirstRun"]));
}
set {
this["FirstRun"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Drawing.Color KolorCzcionki {
get {
return ((global::System.Drawing.Color)(this["KolorCzcionki"]));
}
set {
this["KolorCzcionki"] = value;
}
}
}
}
@@ -6,10 +6,16 @@
<Value Profile="(Default)">Calibri, 12pt</Value>
</Setting>
<Setting Name="FormSize" Type="System.Drawing.Size" Scope="User">
<Value Profile="(Default)">900, 512</Value>
<Value Profile="(Default)">1044, 700</Value>
</Setting>
<Setting Name="Tlo" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">White</Value>
</Setting>
<Setting Name="FirstRun" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="KolorCzcionki" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- Opcje manifestu Kontroli konta użytkownika
Jeśli chcesz zmienić poziom Kontroli konta użytkownika systemu Windows, zastąp
węzeł requestedExecutionLevel jednym z następujących.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Określenie elementu requestedExecutionLevel spowoduje wyłączenie wirtualizacji plików i rejestru.
Usuń ten element, jeśli aplikacja wymaga wirtualizacji w celu zachowania
zgodności z poprzednimi wersjami.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Lista wersji systemu Windows, na których ta aplikacja została przetestowana
i dla których została zaprojektowana. Odkomentuj odpowiednie elementy, a system Windows
automatycznie wybierze najbardziej zgodne środowisko. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Wskazuje, że aplikacja rozpoznaje wartości DPI i nie będzie automatycznie skalowana przez system Windows przy dużych
wartościach DPI. Aplikacje korzystające z technologii Windows Presentation Foundation (WPF) automatycznie rozpoznają wartości DPI i nie potrzebują
tej opcji. Aplikacje korzystające z technologii Windows Forms przeznaczone dla platformy .NET Framework 4.6, które korzystają z tej opcji, powinny
ustawić także wartość „true” dla parametru „EnableWindowsFormsHighDpiAutoResizing” w pliku app.config. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Włącz motywy dla typowych formantów systemu Windows i okien dialogowych (system Windows XP i nowsze) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>
+142
View File
@@ -0,0 +1,142 @@
namespace Notatnik
{
partial class Update
{
/// <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.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.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.button1 = new System.Windows.Forms.Button();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(81, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Obecna wersja:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(23, 35);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Nowa wersja:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(100, 13);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 13);
this.label3.TabIndex = 2;
this.label3.Text = "1.0.2";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(100, 35);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(31, 13);
this.label4.TabIndex = 3;
this.label4.Text = "1.0.3";
//
// richTextBox1
//
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Location = new System.Drawing.Point(12, 61);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
this.richTextBox1.Size = new System.Drawing.Size(417, 157);
this.richTextBox1.TabIndex = 5;
this.richTextBox1.Text = "";
//
// button1
//
this.button1.Location = new System.Drawing.Point(330, 19);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(99, 23);
this.button1.TabIndex = 6;
this.button1.Text = "Update";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(12, 224);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(417, 23);
this.progressBar1.TabIndex = 7;
//
// Update
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(441, 259);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.button1);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(457, 298);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(457, 298);
this.Name = "Update";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Update notatnika";
this.Load += new System.EventHandler(this.Update_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
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.RichTextBox richTextBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ProgressBar progressBar1;
}
}
+47
View File
@@ -0,0 +1,47 @@
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.Net;
using System.IO;
namespace Notatnik
{
public partial class Update : Form
{
WebClient webClient;
String content;
public Update()
{
InitializeComponent();
}
private void Update_Load(object sender, EventArgs e)
{
string urlVersion = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/version.txt";
webClient = new WebClient();
Stream stream = webClient.OpenRead(urlVersion);
StreamReader reader = new StreamReader(stream);
content = reader.ReadToEnd();
label3.Text = Application.ProductVersion;
label4.Text = content;
}
void downloadUpdate()
{
webClient.DownloadFile("https://github.com/KrzysiekSiemv/Notepad/releases/download/" + content + "/Notatnik.exe", Path.GetTempPath() + "\\Notatnik\\NotatnikUpdate.exe");
}
private void button1_Click(object sender, EventArgs e)
{
}
}
}
+120
View File
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
Binary file not shown.
@@ -15,11 +15,17 @@
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
<value>1044, 700</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
<setting name="FirstRun" serializeAs="String">
<value>True</value>
</setting>
<setting name="KolorCzcionki" serializeAs="String">
<value />
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
null
Binary file not shown.
@@ -15,11 +15,14 @@
<value>Calibri, 12pt</value>
</setting>
<setting name="FormSize" serializeAs="String">
<value>900, 512</value>
<value>1044, 700</value>
</setting>
<setting name="Tlo" serializeAs="String">
<value>White</value>
</setting>
<setting name="FirstRun" serializeAs="String">
<value>True</value>
</setting>
</Notatnik.Properties.Settings>
<Notepad_v2.Properties.Settings>
<setting name="Czcionka" serializeAs="String">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
49ddf053a8af5d6e9369e6d3a8e96ccab85129ad
df752835c6004492f28e25014c00264fb7368a30
@@ -8,3 +8,15 @@ 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
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Debug\Notatnik.exe.config
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Debug\Notatnik.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\bin\Debug\Notatnik.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notepad v2.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notepad v2.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notepad v2.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.Update.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Debug\Notatnik.Info.resources
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
42fc91b920426e379a4ce720848eb9d703449fc4
5ecff3787183e7feb272360ec7673dd58ad31ff2
@@ -8,3 +8,4 @@ C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notepa
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
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad v2\obj\Release\Notatnik.Update.resources
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotepadUpdater", "NotepadUpdater\NotepadUpdater.csproj", "{DB683BDF-4745-440D-8052-03484A7C3A8A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DB683BDF-4745-440D-8052-03484A7C3A8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB683BDF-4745-440D-8052-03484A7C3A8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB683BDF-4745-440D-8052-03484A7C3A8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB683BDF-4745-440D-8052-03484A7C3A8A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {919ED6E3-A138-494D-A849-F2F81832E63F}
EndGlobalSection
EndGlobal
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
+143
View File
@@ -0,0 +1,143 @@
namespace NotepadUpdater
{
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
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.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.button1 = new System.Windows.Forms.Button();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// 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(81, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Obecna wersja:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(149, 9);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Nowa wersja:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(99, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 13);
this.label3.TabIndex = 2;
this.label3.Text = "1.0.2";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(226, 9);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(31, 13);
this.label4.TabIndex = 3;
this.label4.Text = "1.0.3";
//
// richTextBox1
//
this.richTextBox1.BackColor = System.Drawing.Color.White;
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.richTextBox1.Location = new System.Drawing.Point(15, 25);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
this.richTextBox1.Size = new System.Drawing.Size(417, 157);
this.richTextBox1.TabIndex = 5;
this.richTextBox1.Text = "";
//
// button1
//
this.button1.Location = new System.Drawing.Point(330, 188);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(99, 23);
this.button1.TabIndex = 6;
this.button1.Text = "Update";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(12, 188);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(312, 23);
this.progressBar1.TabIndex = 7;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(441, 224);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.button1);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(457, 263);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(457, 263);
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Update notatnika";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
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.RichTextBox richTextBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ProgressBar progressBar1;
}
}
+98
View File
@@ -0,0 +1,98 @@
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.Diagnostics;
using System.Net;
using System.IO;
namespace NotepadUpdater
{
public partial class Form1 : Form
{
WebClient webClient;
string contentVersion;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
string urlVersion = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/update/version";
string urlChangelog = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/update/changelog";
webClient = new WebClient();
Stream streamVersion = webClient.OpenRead(urlVersion);
Stream streamChangelog = webClient.OpenRead(urlChangelog);
StreamReader readerVersion = new StreamReader(streamVersion);
StreamReader readerChangelog = new StreamReader(streamChangelog);
contentVersion = readerVersion.ReadToEnd();
string contentChangelog = readerChangelog.ReadToEnd();
FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo("Notatnik.exe");
if (fileVersionInfo.ProductVersion == contentVersion)
{
MessageBox.Show("Program nie wymaga aktualizacji, gdyż posiada najnowszą wersję oprogramowania", "Update niewymagany", MessageBoxButtons.OK, MessageBoxIcon.Information);
Application.Exit();
}
label3.Text = fileVersionInfo.ProductVersion;
label4.Text = contentVersion;
richTextBox1.Text = contentChangelog;
}
void downloadUpdate()
{
string urlDownload = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/update/download";
Stream streamDownload = webClient.OpenRead(urlDownload);
StreamReader readerDownload = new StreamReader(streamDownload);
string download = readerDownload.ReadToEnd();
File.Delete("Notatnik.exe");
webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
webClient.DownloadFileAsync(new Uri(download), "Notatnik.exe");
}
void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
double bytesIn = double.Parse(e.BytesReceived.ToString());
double totalBytes = double.Parse(e.TotalBytesToReceive.ToString());
double percentage = bytesIn / totalBytes * 100;
progressBar1.Value = int.Parse(Math.Truncate(percentage).ToString());
}
void client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
{
if (MessageBox.Show("Aktualizacja została ukończona. Czy chcesz włączyć notatnik?", "Update", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
{
Process.Start("Notatnik.exe");
this.Close();
}
else
{
this.Close();
}
}
private void button1_Click(object sender, EventArgs e)
{
downloadUpdate();
}
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,82 @@
<?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>{DB683BDF-4745-440D-8052-03484A7C3A8A}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>NotepadUpdater</RootNamespace>
<AssemblyName>NotepadUpdater</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>
<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>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
+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 NotepadUpdater
{
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("NotepadUpdater")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NotepadUpdater")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[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("db683bdf-4745-440d-8052-03484a7c3a8a")]
// 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")]
@@ -0,0 +1,70 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NotepadUpdater.Properties
{
/// <summary>
/// Silnie typizowana klasa zasobów 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ł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()
{
}
/// <summary>
/// Zwraca buforowane wystąpienie składnika 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 ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NotepadUpdater.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 silnie typizowanej klasy zasobów.
/// </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>
@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <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 NotepadUpdater.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;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
Binary file not shown.
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
@@ -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")]
@@ -0,0 +1 @@
49ddf053a8af5d6e9369e6d3a8e96ccab85129ad
@@ -0,0 +1,20 @@
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.exe.config
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.exe
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.pdb
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csprojAssemblyReference.cache
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.Properties.Resources.resources
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csproj.GenerateResource.cache
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.exe
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.pdb
C:\Users\Krzysiek\source\repos\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.exe.config
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\bin\Debug\NotepadUpdater.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\NotepadUpdater\NotepadUpdater\obj\Debug\NotepadUpdater.pdb
+11 -1
View File
@@ -1,2 +1,12 @@
# Notepad
Notatnik mojej edycji. Nic więcej.
Notatnik mojej edycji. Nic więcej.
Do uruchomienia wymagane jest:<br>
<a href="https://www.microsoft.com/pl-pl/download/details.aspx?id=30653">.NET Framework 4.5</a><br>
<a href="https://file.siemv.pl/czcionki/segmdl2.ttf">Segoe MDL2 Assets</a> (na systemach Windows 10 jest preinstalowana. Do poprawnego działania na Windows 7/8/8.1 trzeba zainstalować tą czcionkę).
Przejdź do pobierania<br>
### <a href="https://github.com/KrzysiekSiemv/Notepad/releases/tag/1.0.1">Releases</a>
Screen programu został wykonany przy wersji 1.0.0
<img src="https://i.imgur.com/AYb10zA.png" />
+9
View File
@@ -0,0 +1,9 @@
== 1.0.3.1 == 27.01.2021 ====================
Usuwa pojawiający się błąd na początku z
powodu ustawień głównego koloru czcionki
=============================================
== 1.0.3.0 == 26.01.2021 ====================
Zapamiętuje główny kolor czcionki
Jest informacja na temat wersji programu
=============================================
+1
View File
@@ -0,0 +1 @@
https://github.com/KrzysiekSiemv/Notepad/releases/download/1.0.3.0/NotatnikPortable.exe
+1
View File
@@ -0,0 +1 @@
1.0.3.1