296 lines
13 KiB
C#
296 lines
13 KiB
C#
|
|
namespace ErrorGenerator
|
|
{
|
|
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.label1 = new System.Windows.Forms.Label();
|
|
this.title = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.text = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.buttons = new System.Windows.Forms.ComboBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.type = new System.Windows.Forms.ComboBox();
|
|
this.generate = new System.Windows.Forms.Button();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).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.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(43, 16);
|
|
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.Name = "title";
|
|
this.title.Size = new System.Drawing.Size(336, 22);
|
|
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.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(45, 16);
|
|
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.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.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.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(64, 16);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "Przyciski:";
|
|
//
|
|
// buttons
|
|
//
|
|
this.buttons.FormattingEnabled = true;
|
|
this.buttons.Items.AddRange(new object[] {
|
|
"Przerwij, Ponów próbę, Ignoruj",
|
|
"OK",
|
|
"OK, Anuluj",
|
|
"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.Name = "buttons";
|
|
this.buttons.Size = new System.Drawing.Size(185, 24);
|
|
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.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(72, 16);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "Typ błędu";
|
|
//
|
|
// type
|
|
//
|
|
this.type.FormattingEnabled = true;
|
|
this.type.Items.AddRange(new object[] {
|
|
"Błąd",
|
|
"Informacyjny",
|
|
"Ostrzegawczy",
|
|
"Pytajnik"});
|
|
this.type.Location = new System.Drawing.Point(361, 84);
|
|
this.type.Margin = new System.Windows.Forms.Padding(4);
|
|
this.type.Name = "type";
|
|
this.type.Size = new System.Drawing.Size(185, 24);
|
|
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.Name = "generate";
|
|
this.generate.Size = new System.Drawing.Size(187, 28);
|
|
this.generate.TabIndex = 10;
|
|
this.generate.Text = "Generuj";
|
|
this.generate.UseVisualStyleBackColor = true;
|
|
this.generate.Click += new System.EventHandler(this.generate_Click);
|
|
//
|
|
// 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.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(196, 16);
|
|
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.Name = "linkLabel1";
|
|
this.linkLabel1.Size = new System.Drawing.Size(49, 16);
|
|
this.linkLabel1.TabIndex = 12;
|
|
this.linkLabel1.TabStop = true;
|
|
this.linkLabel1.Text = "GitHub";
|
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkClicked);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(359, 112);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(141, 16);
|
|
this.label5.TabIndex = 13;
|
|
this.label5.Text = "Opóżnienie (sekundy):";
|
|
//
|
|
// numericUpDown1
|
|
//
|
|
this.numericUpDown1.Location = new System.Drawing.Point(362, 132);
|
|
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.TabIndex = 14;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(359, 157);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(33, 16);
|
|
this.label7.TabIndex = 15;
|
|
this.label7.Text = "Inne";
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Location = new System.Drawing.Point(361, 178);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(184, 52);
|
|
this.checkBox1.TabIndex = 16;
|
|
this.checkBox1.Text = "Pokaż błąd po wciśnięciu \r\nprzycisku na pasku \r\npowiadomień";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
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);
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(362, 237);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(184, 28);
|
|
this.button1.TabIndex = 17;
|
|
this.button1.Text = "Ustawienia Notify";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(561, 335);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.checkBox1);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.numericUpDown1);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.linkLabel1);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.generate);
|
|
this.Controls.Add(this.type);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.buttons);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.title);
|
|
this.Controls.Add(this.text);
|
|
this.Controls.Add(this.label2);
|
|
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.Name = "Form1";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "ErGen - Generator błędów";
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox title;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox text;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox buttons;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ComboBox type;
|
|
private System.Windows.Forms.Button generate;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
private System.Windows.Forms.Button button1;
|
|
}
|
|
}
|
|
|