private void mnuViewFunctions_Click(object sender, EventArgs e) { if (lvwModules.SelectedIndices.Count == 0) { return; } var functionsForm = new FunctionsForm(_process.UnsafeGetModule((void *)ulong.Parse(lvwModules.GetFirstSelectedSubItem(chModuleHandle.Index).Text.Substring(2), NumberStyles.HexNumber, null))); functionsForm.Show(); }
private void mnuViewFunctions_Click(object sender, EventArgs e) { if (lvwModules.SelectedIndices.Count == 0) { return; } FunctionsForm functionsForm; #pragma warning disable IDE0067 functionsForm = new FunctionsForm(_process.UnsafeGetModule((void *)ulong.Parse(lvwModules.GetFirstSelectedSubItem(chModuleHandle.Index).Text.Substring(2), NumberStyles.HexNumber, null))); #pragma warning restore IDE0067 functionsForm.FormClosed += (v1, v2) => functionsForm.Dispose(); functionsForm.Show(); }