Untitled
unknown
csharp
a year ago
6.1 kB
23
Indexable
Never
// Decompiled with JetBrains decompiler // Type: Clicky.Form1 // Assembly: Clicky, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: A73198D9-9827-4C69-B768-D4AE33302F10 // Assembly location: C:\Users\marve\Desktop\chall1\Clicky.exe // Compiler-generated code is shown using System; using System.ComponentModel; using System.Drawing; using System.Runtime.CompilerServices; using System.Windows.Forms; namespace Clicky { public class Form1 : Form { private IContainer components; private Button btn; private Button button1; private Button button2; private Button button3; private Button button4; private Button button5; private Button button6; private Button button7; private Button button8; private TextBox textBox1; private Label label1; public Form1() { this.components = (IContainer) null; base.\u002Ector(); this.InitializeComponent(); } protected override void Dispose(bool disposing) { if (disposing && this.components != null) this.components.Dispose(); base.Dispose(disposing); } public Button creatbtn() { int num = 1; for (int index1 = 1; index1 < 21; ++index1) { for (int index2 = 1; index2 < 31; ++index2) { if (num == 88 || num == 113 || num == 216 || num == 395 || num == 429 || num == 499 || num == 529 || num == 581) { ++num; } else { this.btn = new Button(); this.Controls.Add((Control) this.btn); this.btn.Top = 75 + index1 * 30; this.btn.Width = 40; this.btn.Height = 30; this.btn.Left = 120 + index2 * 35; this.btn.Text = num.ToString(); ++num; } } } return this.btn; } private void InitializeComponent() { this.WindowState = FormWindowState.Maximized; this.SuspendLayout(); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(1184, 661); this.Name = "Form1"; this.Text = "Clicky"; this.ResumeLayout(false); this.textBox1 = new TextBox(); this.label1 = new Label(); this.button1 = new Button(); this.button2 = new Button(); this.button3 = new Button(); this.button4 = new Button(); this.button5 = new Button(); this.button6 = new Button(); this.button7 = new Button(); this.button8 = new Button(); this.Controls.Add((Control) this.label1); this.creatbtn(); this.Controls.Add((Control) this.textBox1); this.Controls.Add((Control) this.button1); this.Controls.Add((Control) this.button2); this.Controls.Add((Control) this.button3); this.Controls.Add((Control) this.button4); this.Controls.Add((Control) this.button5); this.Controls.Add((Control) this.button6); this.Controls.Add((Control) this.button7); this.Controls.Add((Control) this.button8); this.button1.Top = 165; this.button1.Width = 40; this.button1.Height = 30; this.button1.Left = 1100; this.button1.Text = "88"; this.button2.Top = 195; this.button2.Width = 40; this.button2.Height = 30; this.button2.Left = 925; this.button2.Text = "113"; this.button3.Top = 315; this.button3.Width = 40; this.button3.Height = 30; this.button3.Left = 330; this.button3.Text = "216"; this.button4.Top = 495; this.button4.Width = 40; this.button4.Height = 30; this.button4.Left = 295; this.button4.Text = "395"; this.button5.Top = 525; this.button5.Width = 40; this.button5.Height = 30; this.button5.Left = 435; this.button5.Text = "429"; this.button6.Top = 585; this.button6.Width = 40; this.button6.Height = 30; this.button6.Left = 785; this.button6.Text = "499"; this.button7.Top = 615; this.button7.Width = 40; this.button7.Height = 30; this.button7.Left = 785; this.button7.Text = "529"; this.button8.Top = 675; this.button8.Width = 40; this.button8.Height = 30; this.button8.Left = 505; this.button8.Text = "581"; this.button5.Click += new EventHandler((object) this, __methodptr(\u003CInitializeComponent\u003Eg__Para1\u007C4_0)); this.textBox1.Location = new Point(240, 60); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Size(890, 25); this.textBox1.TabIndex = 0; this.label1.AutoSize = true; this.label1.Font = new Font("Modern No. 20", 15.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0); this.label1.Location = new Point(600, 30); this.label1.Name = "label1"; this.label1.Size = new Size(144, 24); this.label1.TabIndex = 2; this.label1.Text = "Welcome Peeps!"; } [CompilerGenerated] private void \u003CInitializeComponent\u003Eg__Para1\u007C4_0(object sender, EventArgs e) { this.button7.Click += new EventHandler((object) this, __methodptr(\u003CInitializeComponent\u003Eg__Para2\u007C4_1)); } [CompilerGenerated] private void \u003CInitializeComponent\u003Eg__Para2\u007C4_1(object sender, EventArgs e) { this.button3.Click += new EventHandler((object) this, __methodptr(\u003CInitializeComponent\u003Eg__Para3\u007C4_2)); } [CompilerGenerated] private void \u003CInitializeComponent\u003Eg__Para3\u007C4_2(object sender, EventArgs e) { this.button1.Click += new EventHandler((object) this, __methodptr(\u003CInitializeComponent\u003Eg__Para4\u007C4_3)); } [CompilerGenerated] private void \u003CInitializeComponent\u003Eg__Para4\u007C4_3(object sender, EventArgs e) { this.textBox1.Text = "Yes! That's the right sequence!!!!"; } } }