示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }