633 lines
38 KiB
C#
633 lines
38 KiB
C#
|
|
namespace Notatnik
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Wymagana zmienna projektanta.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Wyczyść wszystkie używane zasoby.
|
|
/// </summary>
|
|
/// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Kod generowany przez Projektanta formularzy systemu Windows
|
|
|
|
/// <summary>
|
|
/// Metoda wymagana do obsługi projektanta — nie należy modyfikować
|
|
/// jej zawartości w edytorze kodu.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.button12 = new System.Windows.Forms.Button();
|
|
this.button11 = new System.Windows.Forms.Button();
|
|
this.button10 = new System.Windows.Forms.Button();
|
|
this.button9 = new System.Windows.Forms.Button();
|
|
this.button8 = new System.Windows.Forms.Button();
|
|
this.button7 = new System.Windows.Forms.Button();
|
|
this.button6 = new System.Windows.Forms.Button();
|
|
this.button5 = new System.Windows.Forms.Button();
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.fontDialog1 = new System.Windows.Forms.FontDialog();
|
|
this.printDialog1 = new System.Windows.Forms.PrintDialog();
|
|
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
|
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
|
this.button13 = new System.Windows.Forms.Button();
|
|
this.button14 = new System.Windows.Forms.Button();
|
|
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
|
|
this.colorDialog2 = new System.Windows.Forms.ColorDialog();
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.kopiujToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.wklejToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.wytnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.cofnijToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.przywrócToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.zmieńKolorTłaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.zmieńKolorCzcionkiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.panel1.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
|
|
this.panel1.Controls.Add(this.button14);
|
|
this.panel1.Controls.Add(this.button13);
|
|
this.panel1.Controls.Add(this.button12);
|
|
this.panel1.Controls.Add(this.button11);
|
|
this.panel1.Controls.Add(this.button10);
|
|
this.panel1.Controls.Add(this.button9);
|
|
this.panel1.Controls.Add(this.button8);
|
|
this.panel1.Controls.Add(this.button7);
|
|
this.panel1.Controls.Add(this.button6);
|
|
this.panel1.Controls.Add(this.button5);
|
|
this.panel1.Controls.Add(this.button4);
|
|
this.panel1.Controls.Add(this.button3);
|
|
this.panel1.Controls.Add(this.button2);
|
|
this.panel1.Controls.Add(this.button1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(36, 537);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// button12
|
|
//
|
|
this.button12.FlatAppearance.BorderSize = 0;
|
|
this.button12.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button12.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button12.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button12.ForeColor = System.Drawing.Color.White;
|
|
this.button12.Location = new System.Drawing.Point(0, 370);
|
|
this.button12.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button12.Name = "button12";
|
|
this.button12.Size = new System.Drawing.Size(36, 36);
|
|
this.button12.TabIndex = 14;
|
|
this.button12.Text = "";
|
|
this.button12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button12, "Przywróć");
|
|
this.button12.UseVisualStyleBackColor = true;
|
|
this.button12.Click += new System.EventHandler(this.button12_Click);
|
|
this.button12.MouseEnter += new System.EventHandler(this.button12_MouseEnter);
|
|
this.button12.MouseLeave += new System.EventHandler(this.button12_MouseLeave);
|
|
//
|
|
// button11
|
|
//
|
|
this.button11.FlatAppearance.BorderSize = 0;
|
|
this.button11.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button11.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button11.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button11.ForeColor = System.Drawing.Color.White;
|
|
this.button11.Location = new System.Drawing.Point(0, 334);
|
|
this.button11.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button11.Name = "button11";
|
|
this.button11.Size = new System.Drawing.Size(36, 36);
|
|
this.button11.TabIndex = 13;
|
|
this.button11.Text = "";
|
|
this.button11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button11, "Cofnij");
|
|
this.button11.UseVisualStyleBackColor = true;
|
|
this.button11.Click += new System.EventHandler(this.button11_Click);
|
|
this.button11.MouseEnter += new System.EventHandler(this.button11_MouseEnter);
|
|
this.button11.MouseLeave += new System.EventHandler(this.button11_MouseLeave);
|
|
//
|
|
// button10
|
|
//
|
|
this.button10.FlatAppearance.BorderSize = 0;
|
|
this.button10.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button10.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button10.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button10.ForeColor = System.Drawing.Color.White;
|
|
this.button10.Location = new System.Drawing.Point(0, 298);
|
|
this.button10.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button10.Name = "button10";
|
|
this.button10.Size = new System.Drawing.Size(36, 36);
|
|
this.button10.TabIndex = 12;
|
|
this.button10.Text = "";
|
|
this.button10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button10, "Wklej");
|
|
this.button10.UseVisualStyleBackColor = true;
|
|
this.button10.Click += new System.EventHandler(this.button10_Click);
|
|
this.button10.MouseEnter += new System.EventHandler(this.button10_MouseEnter);
|
|
this.button10.MouseLeave += new System.EventHandler(this.button10_MouseLeave);
|
|
//
|
|
// button9
|
|
//
|
|
this.button9.FlatAppearance.BorderSize = 0;
|
|
this.button9.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button9.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button9.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button9.ForeColor = System.Drawing.Color.White;
|
|
this.button9.Location = new System.Drawing.Point(0, 262);
|
|
this.button9.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button9.Name = "button9";
|
|
this.button9.Size = new System.Drawing.Size(36, 36);
|
|
this.button9.TabIndex = 11;
|
|
this.button9.Text = "";
|
|
this.button9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button9, "Wytnij");
|
|
this.button9.UseVisualStyleBackColor = true;
|
|
this.button9.Click += new System.EventHandler(this.button9_Click);
|
|
this.button9.MouseEnter += new System.EventHandler(this.button9_MouseEnter);
|
|
this.button9.MouseLeave += new System.EventHandler(this.button9_MouseLeave);
|
|
//
|
|
// button8
|
|
//
|
|
this.button8.FlatAppearance.BorderSize = 0;
|
|
this.button8.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button8.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button8.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button8.ForeColor = System.Drawing.Color.White;
|
|
this.button8.Location = new System.Drawing.Point(0, 226);
|
|
this.button8.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button8.Name = "button8";
|
|
this.button8.Size = new System.Drawing.Size(36, 36);
|
|
this.button8.TabIndex = 10;
|
|
this.button8.Text = "";
|
|
this.button8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button8, "Kopiuj");
|
|
this.button8.UseVisualStyleBackColor = true;
|
|
this.button8.Click += new System.EventHandler(this.button8_Click);
|
|
this.button8.MouseEnter += new System.EventHandler(this.button8_MouseEnter);
|
|
this.button8.MouseLeave += new System.EventHandler(this.button8_MouseLeave);
|
|
//
|
|
// button7
|
|
//
|
|
this.button7.FlatAppearance.BorderSize = 0;
|
|
this.button7.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button7.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button7.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button7.ForeColor = System.Drawing.Color.White;
|
|
this.button7.Location = new System.Drawing.Point(0, 190);
|
|
this.button7.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button7.Name = "button7";
|
|
this.button7.Size = new System.Drawing.Size(36, 36);
|
|
this.button7.TabIndex = 9;
|
|
this.button7.Text = "";
|
|
this.button7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button7, "Podgląd wydruku");
|
|
this.button7.UseVisualStyleBackColor = true;
|
|
this.button7.Click += new System.EventHandler(this.button7_Click);
|
|
this.button7.MouseEnter += new System.EventHandler(this.button7_MouseEnter);
|
|
this.button7.MouseLeave += new System.EventHandler(this.button7_MouseLeave);
|
|
//
|
|
// button6
|
|
//
|
|
this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.button6.FlatAppearance.BorderSize = 0;
|
|
this.button6.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button6.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button6.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button6.ForeColor = System.Drawing.Color.White;
|
|
this.button6.Location = new System.Drawing.Point(0, 501);
|
|
this.button6.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button6.Name = "button6";
|
|
this.button6.Size = new System.Drawing.Size(36, 36);
|
|
this.button6.TabIndex = 8;
|
|
this.button6.Text = "";
|
|
this.button6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button6, "Ustawienia czcionki");
|
|
this.button6.UseVisualStyleBackColor = true;
|
|
this.button6.Click += new System.EventHandler(this.button6_Click);
|
|
this.button6.MouseEnter += new System.EventHandler(this.button6_MouseEnter);
|
|
this.button6.MouseLeave += new System.EventHandler(this.button6_MouseLeave);
|
|
//
|
|
// button5
|
|
//
|
|
this.button5.FlatAppearance.BorderSize = 0;
|
|
this.button5.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button5.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button5.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button5.ForeColor = System.Drawing.Color.White;
|
|
this.button5.Location = new System.Drawing.Point(0, 154);
|
|
this.button5.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button5.Name = "button5";
|
|
this.button5.Size = new System.Drawing.Size(36, 36);
|
|
this.button5.TabIndex = 7;
|
|
this.button5.Text = "";
|
|
this.button5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button5, "Drukuj");
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
this.button5.Click += new System.EventHandler(this.printIt);
|
|
this.button5.MouseEnter += new System.EventHandler(this.button5_MouseEnter);
|
|
this.button5.MouseLeave += new System.EventHandler(this.button5_MouseLeave);
|
|
//
|
|
// button4
|
|
//
|
|
this.button4.FlatAppearance.BorderSize = 0;
|
|
this.button4.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button4.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button4.Font = new System.Drawing.Font("Segoe MDL2 Assets", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button4.ForeColor = System.Drawing.Color.White;
|
|
this.button4.Location = new System.Drawing.Point(0, 118);
|
|
this.button4.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button4.Name = "button4";
|
|
this.button4.Size = new System.Drawing.Size(36, 36);
|
|
this.button4.TabIndex = 6;
|
|
this.button4.Text = "";
|
|
this.button4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button4, "Zapisz jako");
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
this.button4.MouseEnter += new System.EventHandler(this.button4_MouseEnter);
|
|
this.button4.MouseLeave += new System.EventHandler(this.button4_MouseLeave);
|
|
//
|
|
// button3
|
|
//
|
|
this.button3.FlatAppearance.BorderSize = 0;
|
|
this.button3.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button3.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button3.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button3.ForeColor = System.Drawing.Color.White;
|
|
this.button3.Location = new System.Drawing.Point(0, 82);
|
|
this.button3.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button3.Name = "button3";
|
|
this.button3.Size = new System.Drawing.Size(36, 36);
|
|
this.button3.TabIndex = 5;
|
|
this.button3.Text = "";
|
|
this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button3, "Zapisz");
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
this.button3.MouseEnter += new System.EventHandler(this.button3_MouseEnter);
|
|
this.button3.MouseLeave += new System.EventHandler(this.button3_MouseLeave);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.FlatAppearance.BorderSize = 0;
|
|
this.button2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button2.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button2.ForeColor = System.Drawing.Color.White;
|
|
this.button2.Location = new System.Drawing.Point(0, 46);
|
|
this.button2.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(36, 36);
|
|
this.button2.TabIndex = 4;
|
|
this.button2.Text = "";
|
|
this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button2, "Otwórz dokument");
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
this.button2.MouseEnter += new System.EventHandler(this.button2_MouseEnter);
|
|
this.button2.MouseLeave += new System.EventHandler(this.button2_MouseLeave);
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.FlatAppearance.BorderSize = 0;
|
|
this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button1.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button1.ForeColor = System.Drawing.Color.White;
|
|
this.button1.Location = new System.Drawing.Point(0, 10);
|
|
this.button1.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(36, 36);
|
|
this.button1.TabIndex = 3;
|
|
this.button1.Text = "";
|
|
this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button1, "Nowy dokument");
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
this.button1.MouseEnter += new System.EventHandler(this.button1_MouseEnter);
|
|
this.button1.MouseLeave += new System.EventHandler(this.button1_MouseLeave);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel2.Location = new System.Drawing.Point(36, 0);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(943, 10);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// richTextBox1
|
|
//
|
|
this.richTextBox1.AcceptsTab = true;
|
|
this.richTextBox1.AutoWordSelection = true;
|
|
this.richTextBox1.BackColor = System.Drawing.Color.White;
|
|
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.richTextBox1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.richTextBox1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
this.richTextBox1.ForeColor = System.Drawing.Color.Black;
|
|
this.richTextBox1.Location = new System.Drawing.Point(36, 10);
|
|
this.richTextBox1.Name = "richTextBox1";
|
|
this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
|
|
this.richTextBox1.ShowSelectionMargin = true;
|
|
this.richTextBox1.Size = new System.Drawing.Size(943, 527);
|
|
this.richTextBox1.TabIndex = 2;
|
|
this.richTextBox1.Text = "";
|
|
this.richTextBox1.SelectionChanged += new System.EventHandler(this.richTextBox1_SelectionChanged);
|
|
this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
|
|
//
|
|
// openFileDialog1
|
|
//
|
|
this.openFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Tekst sformatowany (*.rtf)|*.rtf|Strona HTML (*.html)" +
|
|
"|*html|Arkusz stylów (*.css)|*.css|Skrypt JavaScript (*.js)|*.js|Wszystkie pliki" +
|
|
" (*.*)|*.*";
|
|
this.openFileDialog1.Title = "Wybierz plik";
|
|
//
|
|
// saveFileDialog1
|
|
//
|
|
this.saveFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Tekst sformatowany (*.rtf)|*.rtf|Strona HTML (*.html)" +
|
|
"|*html|Arkusz stylów (*.css)|*.css|Skrypt JavaScript (*.js)|*.js|Wszystkie pliki" +
|
|
" (*.*)|*.*";
|
|
this.saveFileDialog1.Title = "Zapisz plik jako...";
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(147)))), ((int)(((byte)(69)))));
|
|
this.statusStrip1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripStatusLabel1});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 537);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Size = new System.Drawing.Size(979, 22);
|
|
this.statusStrip1.SizingGrip = false;
|
|
this.statusStrip1.TabIndex = 3;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// toolStripStatusLabel1
|
|
//
|
|
this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
this.toolStripStatusLabel1.ForeColor = System.Drawing.Color.White;
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
|
this.toolStripStatusLabel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(964, 17);
|
|
this.toolStripStatusLabel1.Spring = true;
|
|
this.toolStripStatusLabel1.Text = "Liczba znaków: 0";
|
|
//
|
|
// printDialog1
|
|
//
|
|
this.printDialog1.Document = this.printDocument1;
|
|
this.printDialog1.UseEXDialog = true;
|
|
//
|
|
// printDocument1
|
|
//
|
|
this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.beginPrint);
|
|
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printPage);
|
|
//
|
|
// printPreviewDialog1
|
|
//
|
|
this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
|
this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
|
this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
|
|
this.printPreviewDialog1.Document = this.printDocument1;
|
|
this.printPreviewDialog1.Enabled = true;
|
|
this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
|
|
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
|
this.printPreviewDialog1.Visible = false;
|
|
//
|
|
// button13
|
|
//
|
|
this.button13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.button13.FlatAppearance.BorderSize = 0;
|
|
this.button13.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button13.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button13.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button13.ForeColor = System.Drawing.Color.White;
|
|
this.button13.Location = new System.Drawing.Point(0, 465);
|
|
this.button13.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button13.Name = "button13";
|
|
this.button13.Size = new System.Drawing.Size(36, 36);
|
|
this.button13.TabIndex = 15;
|
|
this.button13.Text = "";
|
|
this.button13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button13, "Kolor czcionki");
|
|
this.button13.UseVisualStyleBackColor = true;
|
|
this.button13.Click += new System.EventHandler(this.button13_Click);
|
|
this.button13.MouseEnter += new System.EventHandler(this.button13_MouseEnter);
|
|
this.button13.MouseLeave += new System.EventHandler(this.button13_MouseLeave);
|
|
//
|
|
// button14
|
|
//
|
|
this.button14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.button14.FlatAppearance.BorderSize = 0;
|
|
this.button14.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
|
this.button14.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button14.Font = new System.Drawing.Font("Segoe MDL2 Assets", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.button14.ForeColor = System.Drawing.Color.White;
|
|
this.button14.Location = new System.Drawing.Point(0, 429);
|
|
this.button14.Margin = new System.Windows.Forms.Padding(0);
|
|
this.button14.Name = "button14";
|
|
this.button14.Size = new System.Drawing.Size(36, 36);
|
|
this.button14.TabIndex = 16;
|
|
this.button14.Text = "";
|
|
this.button14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.toolTip1.SetToolTip(this.button14, "Kolor tła");
|
|
this.button14.UseVisualStyleBackColor = true;
|
|
this.button14.Click += new System.EventHandler(this.button14_Click);
|
|
this.button14.MouseEnter += new System.EventHandler(this.button14_MouseEnter);
|
|
this.button14.MouseLeave += new System.EventHandler(this.button14_MouseLeave);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.kopiujToolStripMenuItem,
|
|
this.wytnijToolStripMenuItem,
|
|
this.wklejToolStripMenuItem,
|
|
this.toolStripSeparator1,
|
|
this.cofnijToolStripMenuItem,
|
|
this.przywrócToolStripMenuItem,
|
|
this.toolStripSeparator2,
|
|
this.zmieńKolorTłaToolStripMenuItem,
|
|
this.zmieńKolorCzcionkiToolStripMenuItem});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(185, 170);
|
|
//
|
|
// kopiujToolStripMenuItem
|
|
//
|
|
this.kopiujToolStripMenuItem.Name = "kopiujToolStripMenuItem";
|
|
this.kopiujToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
|
this.kopiujToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.kopiujToolStripMenuItem.Text = "Kopiuj";
|
|
this.kopiujToolStripMenuItem.Click += new System.EventHandler(this.kopiujToolStripMenuItem_Click);
|
|
//
|
|
// wklejToolStripMenuItem
|
|
//
|
|
this.wklejToolStripMenuItem.Name = "wklejToolStripMenuItem";
|
|
this.wklejToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
|
this.wklejToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.wklejToolStripMenuItem.Text = "Wklej";
|
|
this.wklejToolStripMenuItem.Click += new System.EventHandler(this.wklejToolStripMenuItem_Click);
|
|
//
|
|
// wytnijToolStripMenuItem
|
|
//
|
|
this.wytnijToolStripMenuItem.Name = "wytnijToolStripMenuItem";
|
|
this.wytnijToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
|
this.wytnijToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.wytnijToolStripMenuItem.Text = "Wytnij";
|
|
this.wytnijToolStripMenuItem.Click += new System.EventHandler(this.wytnijToolStripMenuItem_Click);
|
|
//
|
|
// cofnijToolStripMenuItem
|
|
//
|
|
this.cofnijToolStripMenuItem.Name = "cofnijToolStripMenuItem";
|
|
this.cofnijToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
|
|
this.cofnijToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.cofnijToolStripMenuItem.Text = "Cofnij";
|
|
this.cofnijToolStripMenuItem.Click += new System.EventHandler(this.cofnijToolStripMenuItem_Click);
|
|
//
|
|
// przywrócToolStripMenuItem
|
|
//
|
|
this.przywrócToolStripMenuItem.Name = "przywrócToolStripMenuItem";
|
|
this.przywrócToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
|
|
this.przywrócToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.przywrócToolStripMenuItem.Text = "Przywróć";
|
|
this.przywrócToolStripMenuItem.Click += new System.EventHandler(this.przywrócToolStripMenuItem_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(181, 6);
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(181, 6);
|
|
//
|
|
// zmieńKolorTłaToolStripMenuItem
|
|
//
|
|
this.zmieńKolorTłaToolStripMenuItem.Name = "zmieńKolorTłaToolStripMenuItem";
|
|
this.zmieńKolorTłaToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.zmieńKolorTłaToolStripMenuItem.Text = "Zmień kolor tła";
|
|
this.zmieńKolorTłaToolStripMenuItem.Click += new System.EventHandler(this.zmieńKolorTłaToolStripMenuItem_Click);
|
|
//
|
|
// zmieńKolorCzcionkiToolStripMenuItem
|
|
//
|
|
this.zmieńKolorCzcionkiToolStripMenuItem.Name = "zmieńKolorCzcionkiToolStripMenuItem";
|
|
this.zmieńKolorCzcionkiToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
|
this.zmieńKolorCzcionkiToolStripMenuItem.Text = "Zmień kolor czcionki";
|
|
this.zmieńKolorCzcionkiToolStripMenuItem.Click += new System.EventHandler(this.zmieńKolorCzcionkiToolStripMenuItem_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
|
|
this.ClientSize = new System.Drawing.Size(979, 559);
|
|
this.Controls.Add(this.richTextBox1);
|
|
this.Controls.Add(this.panel2);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.ForeColor = System.Drawing.Color.White;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MinimumSize = new System.Drawing.Size(995, 598);
|
|
this.Name = "Form1";
|
|
this.Text = "Bez tytułu - Notatnik";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
|
|
this.panel1.ResumeLayout(false);
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
|
private System.Windows.Forms.Button button5;
|
|
private System.Windows.Forms.Button button4;
|
|
private System.Windows.Forms.Button button3;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
|
private System.Windows.Forms.Button button6;
|
|
private System.Windows.Forms.FontDialog fontDialog1;
|
|
private System.Windows.Forms.PrintDialog printDialog1;
|
|
private System.Drawing.Printing.PrintDocument printDocument1;
|
|
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
|
|
private System.Windows.Forms.Button button7;
|
|
private System.Windows.Forms.Button button10;
|
|
private System.Windows.Forms.Button button9;
|
|
private System.Windows.Forms.Button button8;
|
|
private System.Windows.Forms.Button button12;
|
|
private System.Windows.Forms.Button button11;
|
|
private System.Windows.Forms.Button button14;
|
|
private System.Windows.Forms.Button button13;
|
|
private System.Windows.Forms.ColorDialog colorDialog1;
|
|
private System.Windows.Forms.ColorDialog colorDialog2;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem kopiujToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem wytnijToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem wklejToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripMenuItem cofnijToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem przywrócToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
private System.Windows.Forms.ToolStripMenuItem zmieńKolorTłaToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem zmieńKolorCzcionkiToolStripMenuItem;
|
|
}
|
|
}
|
|
|