private void OnContextMenuClick() { if (this.selectedItem == null) { return; } string location = GetFilePath(); if (string.IsNullOrWhiteSpace(location)) { return; } De4dotWrapper de4Dot = new De4dotWrapper(); IObfuscatedFile obfuscationfile = de4Dot.SearchDeobfuscator(location); if (!de4Dot.IsUnknownDeobfuscator(obfuscationfile)) { DeobfuscateDialog.DeobfuscateDialog dialog = new DeobfuscateDialog.DeobfuscateDialog(selectedItem, assemblyManagerService); dialog.ShowDialog(); } else { MessageBox.Show("No obfuscator found (or unknown)"); } }