private void mnuInjectDll_Click(object sender, EventArgs e) { if (lvwProcesses.SelectedIndices.Count == 0) { return; } var injectingForm = new InjectingForm(uint.Parse(lvwProcesses.GetFirstSelectedSubItem(chProcessId.Index).Text)); injectingForm.Show(); }
private void mnuInjectDll_Click(object sender, EventArgs e) { if (lvwProcesses.SelectedIndices.Count == 0) { return; } InjectingForm injectingForm; #pragma warning disable IDE0067 injectingForm = new InjectingForm(uint.Parse(lvwProcesses.GetFirstSelectedSubItem(chProcessId.Index).Text)); #pragma warning restore IDE0067 injectingForm.Show(); }
private void mnuInjectDll_Click(object sender, EventArgs e) { if (lvwProcesses.SelectedIndices.Count == 0) { return; } InjectingForm injectingForm; #pragma warning disable IDE0067 injectingForm = new InjectingForm(uint.Parse(lvwProcesses.SelectedItems[0].SubItems[1].Text)); #pragma warning restore IDE0067 injectingForm.FormClosed += (v1, v2) => injectingForm.Dispose(); injectingForm.Show(); }