using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
namespace WindowsApplication1
{
[DesignerGenerated]
public class Form1 : Form
{
private static List<WeakReference> __ENCList = new List<WeakReference>();
private IContainer components;
[AccessedThroughProperty("Button1")]
[AccessedThroughProperty("TextBox1")]
private TextBox _TextBox1;
[AccessedThroughProperty("Button2")]
[AccessedThroughProperty("Button3")]
[AccessedThroughProperty("ProgressBar1")]
private ProgressBar _ProgressBar1;
[AccessedThroughProperty("CheckBox1")]
private CheckBox _CheckBox1;
[AccessedThroughProperty("CheckBox2")]
private CheckBox _CheckBox2;
[AccessedThroughProperty("CheckBox3")]
private CheckBox _CheckBox3;
[AccessedThroughProperty("ErrorProvider1")]
private ErrorProvider _ErrorProvider1;
[AccessedThroughProperty("OpenFileDialog1")]
private OpenFileDialog _OpenFileDialog1;
[AccessedThroughProperty("Timer1")]
[AccessedThroughProperty("CheckBox4")]
private CheckBox _CheckBox4;
internal virtual
Button Button1
{
[DebuggerNonUserCode] get
{
return this._Button1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.Button1_Click);
if (this._Button1 != null)
this._Button1.Click -= eventHandler;
this._Button1 = value;
if (this._Button1 == null)
return;
this._Button1.Click += eventHandler;
}
}
internal virtual TextBox TextBox1
{
[DebuggerNonUserCode] get
{
return this._TextBox1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TextBox1 = value;
}
}
internal virtual
Button Button2
{
[DebuggerNonUserCode] get
{
return this._Button2;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler1 = new EventHandler(this.Button2_Click);
EventHandler eventHandler2 = new EventHandler(this.Button2_MouseHover);
if (this._Button2 != null)
{
this._Button2.Click -= eventHandler1;
this._Button2.MouseHover -= eventHandler2;
}
this._Button2 = value;
if (this._Button2 == null)
return;
this._Button2.Click += eventHandler1;
this._Button2.MouseHover += eventHandler2;
}
}
internal virtual
Button Button3
{
[DebuggerNonUserCode] get
{
return this._Button3;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.Button3_Click);
if (this._Button3 != null)
this._Button3.Click -= eventHandler;
this._Button3 = value;
if (this._Button3 == null)
return;
this._Button3.Click += eventHandler;
}
}
internal virtual ProgressBar ProgressBar1
{
[DebuggerNonUserCode] get
{
return this._ProgressBar1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProgressBar1 = value;
}
}
internal virtual CheckBox CheckBox1
{
[DebuggerNonUserCode] get
{
return this._CheckBox1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckBox1_CheckedChanged);
if (this._CheckBox1 != null)
this._CheckBox1.CheckedChanged -= eventHandler;
this._CheckBox1 = value;
if (this._CheckBox1 == null)
return;
this._CheckBox1.CheckedChanged += eventHandler;
}
}
internal virtual CheckBox CheckBox2
{
[DebuggerNonUserCode] get
{
return this._CheckBox2;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBox2 = value;
}
}
internal virtual CheckBox CheckBox3
{
[DebuggerNonUserCode] get
{
return this._CheckBox3;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckBox3_CheckedChanged);
if (this._CheckBox3 != null)
this._CheckBox3.CheckedChanged -= eventHandler;
this._CheckBox3 = value;
if (this._CheckBox3 == null)
return;
this._CheckBox3.CheckedChanged += eventHandler;
}
}
internal virtual ErrorProvider ErrorProvider1
{
[DebuggerNonUserCode] get
{
return this._ErrorProvider1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ErrorProvider1 = value;
}
}
internal virtual OpenFileDialog OpenFileDialog1
{
[DebuggerNonUserCode] get
{
return this._OpenFileDialog1;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
CancelEventHandler cancelEventHandler = new CancelEventHandler(this.OpenFileDialog1_FileOk);
if (this._OpenFileDialog1 != null)
this._OpenFileDialog1.FileOk -= cancelEventHandler;
this._OpenFileDialog1 = value;
if (this._OpenFileDialog1 == null)
return;
this._OpenFileDialog1.FileOk += cancelEventHandler;
}
}
{
[DebuggerNonUserCode] get
{
return 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 CheckBox CheckBox4
{
[DebuggerNonUserCode] get
{
return this._CheckBox4;
}
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckBox4_CheckedChanged);
if (this._CheckBox4 != null)
this._CheckBox4.CheckedChanged -= eventHandler;
this._CheckBox4 = value;
if (this._CheckBox4 == null)
return;
this._CheckBox4.CheckedChanged += eventHandler;
}
}
[DebuggerNonUserCode]
static Form1()
{
}
[DebuggerNonUserCode]
public Form1()
{
Form1.__ENCAddToList((object) this);
this.InitializeComponent();
}
[DebuggerNonUserCode]
private static void __ENCAddToList(object value)
{
List<WeakReference> list = Form1.__ENCList;
bool lockTaken = false;
try
{
Monitor.Enter((object) list, ref lockTaken);
if (Form1.__ENCList.Count == Form1.__ENCList.Capacity)
{
int index1 = 0;
int num1 = 0;
int num2 = checked (Form1.__ENCList.Count - 1);
int index2 = num1;
while (index2 <= num2)
{
if (Form1.__ENCList[index2].IsAlive)
{
if (index2 != index1)
Form1.__ENCList[index1] = Form1.__ENCList[index2];
checked { ++index1; }
}
checked { ++index2; }
}
Form1.__ENCList.RemoveRange(index1, checked (Form1.__ENCList.Count - index1));
Form1.__ENCList.Capacity = Form1.__ENCList.Count;
}
Form1.__ENCList.
Add(new WeakReference(RuntimeHelpers.
GetObjectValue(value
))); }
finally
{
if (lockTaken)
Monitor.Exit((object) list);
}
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if ((!disposing || this.components == null) && !false)
return;
this.components.Dispose();
}
finally
{
base.Dispose(disposing);
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
this.
components = (IContainer
) new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Form1));
this.TextBox1 = new TextBox();
this.ProgressBar1 = new ProgressBar();
this.CheckBox1 = new CheckBox();
this.CheckBox2 = new CheckBox();
this.CheckBox3 = new CheckBox();
this.ErrorProvider1 = new ErrorProvider(this.components);
this.OpenFileDialog1 = new OpenFileDialog();
this.
Timer1 = new System.
Windows.
Forms.
Timer(this.
components); this.CheckBox4 = new CheckBox();
((ISupportInitialize) this.ErrorProvider1).BeginInit();
this.SuspendLayout();
Button button1_1
= this.
Button1; button1_1.Location = point2;
this.
Button1.
Name = "Button1"; Button button1_2
= this.
Button1; Size size1 = new Size(103, 23);
Size size2 = size1;
button1_2.Size = size2;
this.Button1.TabIndex = 0;
this.Button1.Text = "Open ex4";
this.Button1.UseVisualStyleBackColor = true;
TextBox textBox1_1 = this.TextBox1;
point1
= new Point(152,
113); textBox1_1.Location = point3;
this.
TextBox1.
Name = "TextBox1"; TextBox textBox1_2 = this.TextBox1;
size1 = new Size(363, 20);
Size size3 = size1;
textBox1_2.Size = size3;
this.TextBox1.TabIndex = 1;
Button button2_1
= this.
Button2; point1
= new Point(25,
195); button2_1.Location = point4;
this.
Button2.
Name = "Button2"; Button button2_2
= this.
Button2; size1 = new Size(103, 98);
Size size4 = size1;
button2_2.Size = size4;
this.Button2.TabIndex = 2;
this.Button2.Text = "Decode to mq4";
this.Button2.UseVisualStyleBackColor = true;
Button button3_1
= this.
Button3; point1
= new Point(411,
195); button3_1.Location = point5;
this.
Button3.
Name = "Button3"; Button button3_2
= this.
Button3; size1 = new Size(104, 98);
Size size5 = size1;
button3_2.Size = size5;
this.Button3.TabIndex = 3;
this.Button3.Text = "Reset";
this.Button3.UseVisualStyleBackColor = true;
ProgressBar progressBar1_1 = this.ProgressBar1;
point1
= new Point(25,
328); progressBar1_1.Location = point6;
this.
ProgressBar1.
Name = "ProgressBar1"; ProgressBar progressBar1_2 = this.ProgressBar1;
size1 = new Size(490, 23);
Size size6 = size1;
progressBar1_2.Size = size6;
this.ProgressBar1.TabIndex = 4;
this.CheckBox1.AutoSize = true;
this.
CheckBox1.
BackColor = Color.
Transparent; this.
CheckBox1.
ForeColor = SystemColors.
Control; CheckBox checkBox1_1 = this.CheckBox1;
point1
= new Point(134,
195); checkBox1_1.Location = point7;
this.
CheckBox1.
Name = "CheckBox1"; CheckBox checkBox1_2 = this.CheckBox1;
size1 = new Size(72, 17);
Size size7 = size1;
checkBox1_2.Size = size7;
this.CheckBox1.TabIndex = 5;
this.CheckBox1.Text = "Protected";
this.CheckBox1.UseVisualStyleBackColor = false;
this.CheckBox2.AutoSize = true;
this.
CheckBox2.
BackColor = Color.
Transparent; this.
CheckBox2.
ForeColor = SystemColors.
Control; CheckBox checkBox2_1 = this.CheckBox2;
point1
= new Point(134,
252); checkBox2_1.Location = point8;
this.
CheckBox2.
Name = "CheckBox2"; CheckBox checkBox2_2 = this.CheckBox2;
size1 = new Size(60, 17);
Size size8 = size1;
checkBox2_2.Size = size8;
this.CheckBox2.TabIndex = 6;
this.CheckBox2.Text = "Broken";
this.CheckBox2.UseVisualStyleBackColor = false;
this.CheckBox3.AutoSize = true;
this.
CheckBox3.
BackColor = Color.
Transparent; this.
CheckBox3.
ForeColor = SystemColors.
Control; CheckBox checkBox3_1 = this.CheckBox3;
point1
= new Point(230,
195); checkBox3_1.Location = point9;
this.
CheckBox3.
Name = "CheckBox3"; CheckBox checkBox3_2 = this.CheckBox3;
size1 = new Size(107, 17);
Size size9 = size1;
checkBox3_2.Size = size9;
this.CheckBox3.TabIndex = 7;
this.CheckBox3.Text = "Open in Notepad";
this.CheckBox3.UseVisualStyleBackColor = false;
this.ErrorProvider1.ContainerControl = (ContainerControl) this;
this.CheckBox4.AutoSize = true;
this.
CheckBox4.
BackColor = Color.
Transparent; this.
CheckBox4.
ForeColor = SystemColors.
Control; CheckBox checkBox4_1 = this.CheckBox4;
point1
= new Point(230,
252); checkBox4_1.Location = point10;
this.
CheckBox4.
Name = "CheckBox4"; CheckBox checkBox4_2 = this.CheckBox4;
size1 = new Size(147, 17);
Size size10 = size1;
checkBox4_2.Size = size10;
this.CheckBox4.TabIndex = 8;
this.CheckBox4.Text = "Auto Detect Build Version";
this.CheckBox4.UseVisualStyleBackColor = false;
this.AllowDrop = true;
this.AutoScaleDimensions = new SizeF(6f, 13f);
this.
AutoScaleMode = AutoScaleMode.
Font; this.
BackgroundImage = (Image) componentResourceManager.
GetObject("$this.BackgroundImage"); this.BackgroundImageLayout = ImageLayout.Stretch;
size1 = new Size(566, 370);
this.ClientSize = size1;
this.
Controls.
Add((Control) this.
CheckBox4); this.
Controls.
Add((Control) this.
CheckBox3); this.
Controls.
Add((Control) this.
CheckBox2); this.
Controls.
Add((Control) this.
CheckBox1); this.
Controls.
Add((Control) this.
ProgressBar1); this.
Controls.
Add((Control) this.
Button3); this.
Controls.
Add((Control) this.
Button2); this.
Controls.
Add((Control) this.
TextBox1); this.
Controls.
Add((Control) this.
Button1); this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = FormStartPosition.CenterScreen;
this.Text = " Ex4 to Mq4 Decompiler For New Builds";
((ISupportInitialize) this.ErrorProvider1).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
private void Label1_Click(object sender, EventArgs e)
{
}
private void OpenFileDialog1_FileOk(object sender, CancelEventArgs e)
{
}
private void Button1_Click(object sender, EventArgs e)
{
this.OpenFileDialog1.Filter = "Ex4 File | *.ex4";
if (this.OpenFileDialog1.ShowDialog() != DialogResult.OK)
return;
this.TextBox1.Text = this.OpenFileDialog1.FileName;
}
private void BackgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
}
private void Timer1_Tick(object sender, EventArgs e)
{
this.ProgressBar1.Increment(1);
if (this.ProgressBar1.Value == 99)
{
int num = (int) Interaction.MsgBox((object) "Decompiler is Inactive pay 300$ to activate or contact ex4decode@rediffmail.com", MsgBoxStyle.Information, (object) "Decompiler error! 0x800f0906");
}
if (Operators.CompareString(this.TextBox1.Text, (string) null, false) != 0)
return;
this.Timer1.Stop();
}
private void Button2_Click(object sender, EventArgs e)
{
this.Timer1.Start();
if (Operators.CompareString(this.TextBox1.Text, (string) null, false) != 0)
return;
this.Timer1.Stop();
this.
ErrorProvider1.
SetError((Control) this.
TextBox1,
"address empty"); }
private void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
}
private void CheckBox3_CheckedChanged(object sender, EventArgs e)
{
}
private void Button2_MouseHover(object sender, EventArgs e)
{
}
private void Button3_Click(object sender, EventArgs e)
{
this.TextBox1.Clear();
this.ProgressBar1.Value = 0;
this.ProgressBar1.Enabled = true;
this.CheckBox1.CheckState = CheckState.Unchecked;
this.CheckBox1.Enabled = true;
this.CheckBox2.Checked = false;
this.CheckBox2.Enabled = true;
this.CheckBox3.Checked = false;
this.CheckBox3.Enabled = true;
this.CheckBox4.Checked = false;
this.CheckBox4.Enabled = true;
this.ErrorProvider1.Clear();
}
private void CheckBox4_CheckedChanged(object sender, EventArgs e)
{
}
}
}