mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-22 11:26:11 +00:00
133 lines
4.8 KiB
C#
133 lines
4.8 KiB
C#
|
// Decompiled with JetBrains decompiler
|
|||
|
// Type: HexConverter.DialogBox
|
|||
|
// Assembly: HexConverter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|||
|
// MVID: 69C743DF-5670-4BA1-B9C9-0F7A066F699A
|
|||
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Virus.Win32.Otwycal.a-e8185cfeb5eed43452d4fc000bc9dad88c82a7d405e4cc7e61131d390a782aa2.exe
|
|||
|
|
|||
|
using System;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Drawing;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace HexConverter
|
|||
|
{
|
|||
|
public class DialogBox : Form
|
|||
|
{
|
|||
|
private int count;
|
|||
|
private IContainer components;
|
|||
|
private PictureBox pictureBox1;
|
|||
|
private Button button1;
|
|||
|
private Label label1;
|
|||
|
private RichTextBox richTextBox1;
|
|||
|
private Timer timer1;
|
|||
|
private Label label2;
|
|||
|
|
|||
|
public DialogBox() => this.InitializeComponent();
|
|||
|
|
|||
|
private void button1_Click(object sender, EventArgs e) => this.Close();
|
|||
|
|
|||
|
private void DialogBox_Load(object sender, EventArgs e)
|
|||
|
{
|
|||
|
this.count = 0;
|
|||
|
this.timer1.Enabled = true;
|
|||
|
}
|
|||
|
|
|||
|
private void timer1_Tick(object sender, EventArgs e)
|
|||
|
{
|
|||
|
if (this.count == 0)
|
|||
|
this.label2.Text = "Made by Axdx";
|
|||
|
else if (this.count == 1)
|
|||
|
this.label2.Text = "Made by aXdx";
|
|||
|
else if (this.count == 2)
|
|||
|
this.label2.Text = "Made by axDx";
|
|||
|
else if (this.count == 3)
|
|||
|
{
|
|||
|
this.label2.Text = "Made by axdX";
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
this.label2.Text = "Made by axdx";
|
|||
|
this.count = -1;
|
|||
|
}
|
|||
|
++this.count;
|
|||
|
}
|
|||
|
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && this.components != null)
|
|||
|
this.components.Dispose();
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.components = (IContainer) new Container();
|
|||
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (DialogBox));
|
|||
|
this.pictureBox1 = new PictureBox();
|
|||
|
this.button1 = new Button();
|
|||
|
this.label1 = new Label();
|
|||
|
this.richTextBox1 = new RichTextBox();
|
|||
|
this.timer1 = new Timer(this.components);
|
|||
|
this.label2 = new Label();
|
|||
|
((ISupportInitialize) this.pictureBox1).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
this.pictureBox1.Image = (Image) componentResourceManager.GetObject("pictureBox1.Image");
|
|||
|
this.pictureBox1.Location = new Point(12, 12);
|
|||
|
this.pictureBox1.Name = "pictureBox1";
|
|||
|
this.pictureBox1.Size = new Size(48, 48);
|
|||
|
this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
|
|||
|
this.pictureBox1.TabIndex = 0;
|
|||
|
this.pictureBox1.TabStop = false;
|
|||
|
this.button1.Location = new Point(353, 35);
|
|||
|
this.button1.Name = "button1";
|
|||
|
this.button1.Size = new Size(75, 25);
|
|||
|
this.button1.TabIndex = 1;
|
|||
|
this.button1.Text = "OK";
|
|||
|
this.button1.UseVisualStyleBackColor = true;
|
|||
|
this.button1.Click += new EventHandler(this.button1_Click);
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new Point(92, 12);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new Size(111, 13);
|
|||
|
this.label1.TabIndex = 2;
|
|||
|
this.label1.Text = "Hex Converter ver 1.5";
|
|||
|
this.richTextBox1.BackColor = SystemColors.Control;
|
|||
|
this.richTextBox1.Dock = DockStyle.Bottom;
|
|||
|
this.richTextBox1.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|||
|
this.richTextBox1.Location = new Point(0, 66);
|
|||
|
this.richTextBox1.Name = "richTextBox1";
|
|||
|
this.richTextBox1.ReadOnly = true;
|
|||
|
this.richTextBox1.Size = new Size(440, 398);
|
|||
|
this.richTextBox1.TabIndex = 4;
|
|||
|
this.richTextBox1.Text = componentResourceManager.GetString("richTextBox1.Text");
|
|||
|
this.richTextBox1.WordWrap = false;
|
|||
|
this.timer1.Interval = 500;
|
|||
|
this.timer1.Tick += new EventHandler(this.timer1_Tick);
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new Point(222, 41);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new Size(73, 13);
|
|||
|
this.label2.TabIndex = 5;
|
|||
|
this.label2.Text = "Made by axdx";
|
|||
|
this.AutoScaleDimensions = new SizeF(6f, 13f);
|
|||
|
this.AutoScaleMode = AutoScaleMode.Font;
|
|||
|
this.ClientSize = new Size(440, 464);
|
|||
|
this.Controls.Add((Control) this.label2);
|
|||
|
this.Controls.Add((Control) this.richTextBox1);
|
|||
|
this.Controls.Add((Control) this.label1);
|
|||
|
this.Controls.Add((Control) this.button1);
|
|||
|
this.Controls.Add((Control) this.pictureBox1);
|
|||
|
this.FormBorderStyle = FormBorderStyle.FixedDialog;
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.MinimizeBox = false;
|
|||
|
this.Name = nameof (DialogBox);
|
|||
|
this.StartPosition = FormStartPosition.CenterParent;
|
|||
|
this.Text = "About";
|
|||
|
this.Load += new EventHandler(this.DialogBox_Load);
|
|||
|
((ISupportInitialize) this.pictureBox1).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|