Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }