|
|
@ -32,34 +32,119 @@ namespace Decompiler |
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
{ |
|
|
|
this.sourceCode = new System.Windows.Forms.TextBox(); |
|
|
|
this.collapseCount = new System.Windows.Forms.NumericUpDown(); |
|
|
|
|
|
|
|
this.reduceCount = new System.Windows.Forms.NumericUpDown(); |
|
|
|
|
|
|
|
this.collapseBtn = new System.Windows.Forms.Button(); |
|
|
|
|
|
|
|
this.reduceBtn = new System.Windows.Forms.Button(); |
|
|
|
|
|
|
|
this.decompileBtn = new System.Windows.Forms.Button(); |
|
|
|
|
|
|
|
this.sourceCodeBox = new System.Windows.Forms.RichTextBox(); |
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.collapseCount)).BeginInit(); |
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.reduceCount)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
//
|
|
|
|
// sourceCode
|
|
|
|
// collapseCount
|
|
|
|
//
|
|
|
|
//
|
|
|
|
this.sourceCode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
this.collapseCount.Location = new System.Drawing.Point(12, 12); |
|
|
|
|
|
|
|
this.collapseCount.Maximum = new decimal(new int[] { |
|
|
|
|
|
|
|
100000, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0}); |
|
|
|
|
|
|
|
this.collapseCount.Name = "collapseCount"; |
|
|
|
|
|
|
|
this.collapseCount.Size = new System.Drawing.Size(120, 26); |
|
|
|
|
|
|
|
this.collapseCount.TabIndex = 1; |
|
|
|
|
|
|
|
this.collapseCount.Value = new decimal(new int[] { |
|
|
|
|
|
|
|
1000, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0}); |
|
|
|
|
|
|
|
this.collapseCount.ValueChanged += new System.EventHandler(this.CollapseCountValueChanged); |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// reduceCount
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.reduceCount.Location = new System.Drawing.Point(308, 12); |
|
|
|
|
|
|
|
this.reduceCount.Maximum = new decimal(new int[] { |
|
|
|
|
|
|
|
100000, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0}); |
|
|
|
|
|
|
|
this.reduceCount.Name = "reduceCount"; |
|
|
|
|
|
|
|
this.reduceCount.Size = new System.Drawing.Size(120, 26); |
|
|
|
|
|
|
|
this.reduceCount.TabIndex = 2; |
|
|
|
|
|
|
|
this.reduceCount.Value = new decimal(new int[] { |
|
|
|
|
|
|
|
1000, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0}); |
|
|
|
|
|
|
|
this.reduceCount.ValueChanged += new System.EventHandler(this.ReduceCountValueChanged); |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// collapseBtn
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.collapseBtn.Location = new System.Drawing.Point(138, 12); |
|
|
|
|
|
|
|
this.collapseBtn.Name = "collapseBtn"; |
|
|
|
|
|
|
|
this.collapseBtn.Size = new System.Drawing.Size(164, 26); |
|
|
|
|
|
|
|
this.collapseBtn.TabIndex = 3; |
|
|
|
|
|
|
|
this.collapseBtn.Text = "Collapse expression"; |
|
|
|
|
|
|
|
this.collapseBtn.UseVisualStyleBackColor = true; |
|
|
|
|
|
|
|
this.collapseBtn.Click += new System.EventHandler(this.CollapseBtnClick); |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// reduceBtn
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.reduceBtn.Location = new System.Drawing.Point(434, 12); |
|
|
|
|
|
|
|
this.reduceBtn.Name = "reduceBtn"; |
|
|
|
|
|
|
|
this.reduceBtn.Size = new System.Drawing.Size(143, 26); |
|
|
|
|
|
|
|
this.reduceBtn.TabIndex = 4; |
|
|
|
|
|
|
|
this.reduceBtn.Text = "Reduce graph"; |
|
|
|
|
|
|
|
this.reduceBtn.UseVisualStyleBackColor = true; |
|
|
|
|
|
|
|
this.reduceBtn.Click += new System.EventHandler(this.ReduceBtnClick); |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// decompileBtn
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.decompileBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
|
|
|
|
this.decompileBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
|
|
|
|
|
|
|
this.decompileBtn.Location = new System.Drawing.Point(639, 12); |
|
|
|
|
|
|
|
this.decompileBtn.Name = "decompileBtn"; |
|
|
|
|
|
|
|
this.decompileBtn.Size = new System.Drawing.Size(109, 26); |
|
|
|
|
|
|
|
this.decompileBtn.TabIndex = 5; |
|
|
|
|
|
|
|
this.decompileBtn.Text = "Decompile"; |
|
|
|
|
|
|
|
this.decompileBtn.UseVisualStyleBackColor = true; |
|
|
|
|
|
|
|
this.decompileBtn.Click += new System.EventHandler(this.DecompileBtnClick); |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// sourceCodeBox
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.sourceCodeBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.sourceCode.Font = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
|
|
|
this.sourceCodeBox.Font = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
|
|
|
this.sourceCode.Location = new System.Drawing.Point(12, 12); |
|
|
|
this.sourceCodeBox.Location = new System.Drawing.Point(12, 45); |
|
|
|
this.sourceCode.Multiline = true; |
|
|
|
this.sourceCodeBox.Name = "sourceCodeBox"; |
|
|
|
this.sourceCode.Name = "sourceCode"; |
|
|
|
this.sourceCodeBox.Size = new System.Drawing.Size(736, 632); |
|
|
|
this.sourceCode.ScrollBars = System.Windows.Forms.ScrollBars.Both; |
|
|
|
this.sourceCodeBox.TabIndex = 6; |
|
|
|
this.sourceCode.Size = new System.Drawing.Size(736, 665); |
|
|
|
this.sourceCodeBox.Text = ""; |
|
|
|
this.sourceCode.TabIndex = 0; |
|
|
|
this.sourceCodeBox.WordWrap = false; |
|
|
|
this.sourceCode.WordWrap = false; |
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// MainForm
|
|
|
|
// MainForm
|
|
|
|
//
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); |
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(760, 689); |
|
|
|
this.ClientSize = new System.Drawing.Size(760, 689); |
|
|
|
this.Controls.Add(this.sourceCode); |
|
|
|
this.Controls.Add(this.sourceCodeBox); |
|
|
|
|
|
|
|
this.Controls.Add(this.decompileBtn); |
|
|
|
|
|
|
|
this.Controls.Add(this.reduceBtn); |
|
|
|
|
|
|
|
this.Controls.Add(this.collapseBtn); |
|
|
|
|
|
|
|
this.Controls.Add(this.reduceCount); |
|
|
|
|
|
|
|
this.Controls.Add(this.collapseCount); |
|
|
|
this.Name = "MainForm"; |
|
|
|
this.Name = "MainForm"; |
|
|
|
this.Text = "Decompiler"; |
|
|
|
this.Text = "Decompiler"; |
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.collapseCount)).EndInit(); |
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.reduceCount)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
private System.Windows.Forms.TextBox sourceCode; |
|
|
|
private System.Windows.Forms.RichTextBox sourceCodeBox; |
|
|
|
|
|
|
|
private System.Windows.Forms.Button decompileBtn; |
|
|
|
|
|
|
|
private System.Windows.Forms.Button reduceBtn; |
|
|
|
|
|
|
|
private System.Windows.Forms.Button collapseBtn; |
|
|
|
|
|
|
|
private System.Windows.Forms.NumericUpDown reduceCount; |
|
|
|
|
|
|
|
private System.Windows.Forms.NumericUpDown collapseCount; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|