From 30634a611800e48f4df5205b64cf0d357298fd70 Mon Sep 17 00:00:00 2001 From: enginekit Date: Wed, 27 Apr 2016 11:43:54 +0700 Subject: [PATCH 1/2] 56: .NET Assembly file, exe or dll --- ManualILSpy/ManualILSpy/Form1.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ManualILSpy/ManualILSpy/Form1.cs b/ManualILSpy/ManualILSpy/Form1.cs index 0c3f4e8..ae6d6a1 100644 --- a/ManualILSpy/ManualILSpy/Form1.cs +++ b/ManualILSpy/ManualILSpy/Form1.cs @@ -105,7 +105,7 @@ private void SetUpComponent() browsePathTb.BackColor = System.Drawing.SystemColors.Window; _browseExeOrDll = new OpenFileDialog(); - _browseExeOrDll.Filter = "Execution File|*.exe|Dynamic-link library(dll) file|*.dll"; + _browseExeOrDll.Filter = ".NET Assembly file| *.exe; *.dll"; _browseOutput = new OpenFileDialog(); _browseOutput.Filter = "Text Files)|*.txt|Json Files|*.json"; @@ -601,10 +601,16 @@ private void browse_btn_Click(object sender, EventArgs e) browsePathTb.Text = _browsePath; scan_btn.Enabled = !string.IsNullOrEmpty(browsePathTb.Text); //auto scan + scan_Click(this, EventArgs.Empty); } private void scan_Click(object sender, EventArgs e) { + if (_browsePath == null) + { + return; + } + nodeTypeDefs.Clear(); nodeTreeNodes.Clear(); treeView1.Nodes.Clear(); From fe48269bbcf0d85946a31cf7049345a3d96cf5f7 Mon Sep 17 00:00:00 2001 From: enginekit Date: Wed, 27 Apr 2016 11:47:52 +0700 Subject: [PATCH 2/2] 57: change default button to both output --- ManualILSpy/ManualILSpy/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ManualILSpy/ManualILSpy/Form1.cs b/ManualILSpy/ManualILSpy/Form1.cs index ae6d6a1..3bf8ff2 100644 --- a/ManualILSpy/ManualILSpy/Form1.cs +++ b/ManualILSpy/ManualILSpy/Form1.cs @@ -96,7 +96,7 @@ private void SetUpComponent() scan_btn.Enabled = false; EnableDecompileWidget(false); - jsonOutRBtn.Checked = true; + bothOutRBtn.Checked = true; enable_rbtn.Checked = true; EnableControlDecompileWidget(false);