Wersja 1.0.3.0
Parę poprawek i nowe funkcje
This commit is contained in:
Generated
+203
-50
@@ -47,57 +47,68 @@ namespace ErrorGenerator
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.ustawieniaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.wyłaczToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(17, 16);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Location = new System.Drawing.Point(13, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(43, 16);
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Tytuł:";
|
||||
//
|
||||
// title
|
||||
//
|
||||
this.title.Location = new System.Drawing.Point(16, 36);
|
||||
this.title.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.title.Location = new System.Drawing.Point(12, 29);
|
||||
this.title.Name = "title";
|
||||
this.title.Size = new System.Drawing.Size(336, 22);
|
||||
this.title.Size = new System.Drawing.Size(253, 20);
|
||||
this.title.TabIndex = 1;
|
||||
this.title.Text = "Witaj, świecie!";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(17, 64);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label2.Location = new System.Drawing.Point(13, 52);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(45, 16);
|
||||
this.label2.Size = new System.Drawing.Size(37, 13);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "Tekst:";
|
||||
//
|
||||
// text
|
||||
//
|
||||
this.text.Location = new System.Drawing.Point(16, 84);
|
||||
this.text.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.text.Location = new System.Drawing.Point(12, 68);
|
||||
this.text.Multiline = true;
|
||||
this.text.Name = "text";
|
||||
this.text.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.text.Size = new System.Drawing.Size(336, 216);
|
||||
this.text.Size = new System.Drawing.Size(253, 135);
|
||||
this.text.TabIndex = 3;
|
||||
this.text.Text = "Jestem programem do tworzenia sztucznych błędów systemowych :) ";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(357, 11);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Location = new System.Drawing.Point(268, 9);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(64, 16);
|
||||
this.label3.Size = new System.Drawing.Size(51, 13);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Przyciski:";
|
||||
//
|
||||
@@ -111,20 +122,18 @@ namespace ErrorGenerator
|
||||
"Ponów, Anuluj",
|
||||
"Tak, Nie",
|
||||
"Tak, Nie, Anuluj"});
|
||||
this.buttons.Location = new System.Drawing.Point(361, 34);
|
||||
this.buttons.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.buttons.Location = new System.Drawing.Point(271, 28);
|
||||
this.buttons.Name = "buttons";
|
||||
this.buttons.Size = new System.Drawing.Size(185, 24);
|
||||
this.buttons.Size = new System.Drawing.Size(140, 21);
|
||||
this.buttons.TabIndex = 5;
|
||||
this.buttons.Text = "OK";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(357, 64);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label4.Location = new System.Drawing.Point(268, 52);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(72, 16);
|
||||
this.label4.Size = new System.Drawing.Size(56, 13);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "Typ błędu";
|
||||
//
|
||||
@@ -136,19 +145,17 @@ namespace ErrorGenerator
|
||||
"Informacyjny",
|
||||
"Ostrzegawczy",
|
||||
"Pytajnik"});
|
||||
this.type.Location = new System.Drawing.Point(361, 84);
|
||||
this.type.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.type.Location = new System.Drawing.Point(271, 68);
|
||||
this.type.Name = "type";
|
||||
this.type.Size = new System.Drawing.Size(185, 24);
|
||||
this.type.Size = new System.Drawing.Size(140, 21);
|
||||
this.type.TabIndex = 7;
|
||||
this.type.Text = "Informacyjny";
|
||||
//
|
||||
// generate
|
||||
//
|
||||
this.generate.Location = new System.Drawing.Point(361, 272);
|
||||
this.generate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.generate.Location = new System.Drawing.Point(344, 237);
|
||||
this.generate.Name = "generate";
|
||||
this.generate.Size = new System.Drawing.Size(187, 28);
|
||||
this.generate.Size = new System.Drawing.Size(68, 25);
|
||||
this.generate.TabIndex = 10;
|
||||
this.generate.Text = "Generuj";
|
||||
this.generate.UseVisualStyleBackColor = true;
|
||||
@@ -157,20 +164,18 @@ namespace ErrorGenerator
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(16, 309);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label6.Location = new System.Drawing.Point(12, 284);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(196, 16);
|
||||
this.label6.Size = new System.Drawing.Size(156, 13);
|
||||
this.label6.TabIndex = 11;
|
||||
this.label6.Text = "Stworzone przez KrzysiekSiemv";
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(233, 309);
|
||||
this.linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.linkLabel1.Location = new System.Drawing.Point(174, 284);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(49, 16);
|
||||
this.linkLabel1.Size = new System.Drawing.Size(40, 13);
|
||||
this.linkLabel1.TabIndex = 12;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "GitHub";
|
||||
@@ -179,66 +184,200 @@ namespace ErrorGenerator
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(359, 112);
|
||||
this.label5.Location = new System.Drawing.Point(271, 131);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(141, 16);
|
||||
this.label5.Size = new System.Drawing.Size(106, 13);
|
||||
this.label5.TabIndex = 13;
|
||||
this.label5.Text = "Opóżnienie (sekundy):";
|
||||
this.label5.Text = "Opóżnienie startowe:";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(362, 132);
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(274, 146);
|
||||
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
100000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(184, 22);
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(118, 20);
|
||||
this.numericUpDown1.TabIndex = 14;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(359, 157);
|
||||
this.label7.Location = new System.Drawing.Point(9, 206);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(33, 16);
|
||||
this.label7.Size = new System.Drawing.Size(28, 13);
|
||||
this.label7.TabIndex = 15;
|
||||
this.label7.Text = "Inne";
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(361, 178);
|
||||
this.checkBox1.Location = new System.Drawing.Point(11, 221);
|
||||
this.checkBox1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(184, 52);
|
||||
this.checkBox1.Size = new System.Drawing.Size(245, 30);
|
||||
this.checkBox1.TabIndex = 16;
|
||||
this.checkBox1.Text = "Pokaż błąd po wciśnięciu \r\nprzycisku na pasku \r\npowiadomień";
|
||||
this.checkBox1.Text = "Pokaż błąd po wciśnięciu przycisku na pasku \r\npowiadomień.";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
||||
//
|
||||
// notifyIcon1
|
||||
//
|
||||
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
||||
this.notifyIcon1.Text = "Pokaż błąd";
|
||||
this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
|
||||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ustawieniaToolStripMenuItem,
|
||||
this.toolStripSeparator1,
|
||||
this.wyłaczToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(132, 54);
|
||||
//
|
||||
// ustawieniaToolStripMenuItem
|
||||
//
|
||||
this.ustawieniaToolStripMenuItem.Name = "ustawieniaToolStripMenuItem";
|
||||
this.ustawieniaToolStripMenuItem.Size = new System.Drawing.Size(131, 22);
|
||||
this.ustawieniaToolStripMenuItem.Text = "Ustawienia";
|
||||
this.ustawieniaToolStripMenuItem.Click += new System.EventHandler(this.ustawieniaToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(128, 6);
|
||||
//
|
||||
// wyłaczToolStripMenuItem
|
||||
//
|
||||
this.wyłaczToolStripMenuItem.Name = "wyłaczToolStripMenuItem";
|
||||
this.wyłaczToolStripMenuItem.Size = new System.Drawing.Size(131, 22);
|
||||
this.wyłaczToolStripMenuItem.Text = "Zamknij";
|
||||
this.wyłaczToolStripMenuItem.Click += new System.EventHandler(this.wyłaczToolStripMenuItem_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(362, 237);
|
||||
this.button1.Location = new System.Drawing.Point(274, 207);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(184, 28);
|
||||
this.button1.Size = new System.Drawing.Size(138, 25);
|
||||
this.button1.TabIndex = 17;
|
||||
this.button1.Text = "Ustawienia Notify";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(274, 237);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(68, 25);
|
||||
this.button2.TabIndex = 18;
|
||||
this.button2.Text = "Minimalizuj";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(271, 92);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(65, 13);
|
||||
this.label8.TabIndex = 20;
|
||||
this.label8.Text = "Pokaż kilka:";
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(271, 108);
|
||||
this.numericUpDown2.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(138, 20);
|
||||
this.numericUpDown2.TabIndex = 21;
|
||||
this.numericUpDown2.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numericUpDown3
|
||||
//
|
||||
this.numericUpDown3.Location = new System.Drawing.Point(274, 183);
|
||||
this.numericUpDown3.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.numericUpDown3.Maximum = new decimal(new int[] {
|
||||
100000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown3.Name = "numericUpDown3";
|
||||
this.numericUpDown3.Size = new System.Drawing.Size(118, 20);
|
||||
this.numericUpDown3.TabIndex = 23;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(271, 168);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(139, 13);
|
||||
this.label9.TabIndex = 22;
|
||||
this.label9.Text = "Opóżnienie między błędami:";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(397, 185);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(12, 13);
|
||||
this.label10.TabIndex = 24;
|
||||
this.label10.Text = "s";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(397, 148);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(12, 13);
|
||||
this.label11.TabIndex = 25;
|
||||
this.label11.Text = "s";
|
||||
//
|
||||
// timer1
|
||||
//
|
||||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.Location = new System.Drawing.Point(11, 257);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(181, 17);
|
||||
this.checkBox2.TabIndex = 26;
|
||||
this.checkBox2.Text = "Pokaż kilkadziesiąt jednocześnie";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(561, 335);
|
||||
this.ClientSize = new System.Drawing.Size(421, 306);
|
||||
this.Controls.Add(this.checkBox2);
|
||||
this.Controls.Add(this.label11);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.numericUpDown3);
|
||||
this.Controls.Add(this.label9);
|
||||
this.Controls.Add(this.numericUpDown2);
|
||||
this.Controls.Add(this.label8);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.label7);
|
||||
@@ -257,15 +396,16 @@ namespace ErrorGenerator
|
||||
this.Controls.Add(this.label1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MaximizeBox = false;
|
||||
this.MaximumSize = new System.Drawing.Size(577, 374);
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(577, 374);
|
||||
this.MinimumSize = new System.Drawing.Size(437, 311);
|
||||
this.Name = "Form1";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "ErGen - Generator błędów";
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -290,6 +430,19 @@ namespace ErrorGenerator
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem ustawieniaToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripMenuItem wyłaczToolStripMenuItem;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user