Esempio n. 1
0
        private void editMemoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (lvProcessList.SelectedItems.Count < 1)
            {
                return;
            }
            ListViewItem i  = lvProcessList.SelectedItems[0];
            int          id = (int)i.Tag;

            using (memoryEditForm = new formMemoryEdit(Client, id))
            {
                memoryEditForm.Text = string.Format("Edit memory ({0} - PID: {1})", i.SubItems[2].Text, id);
                memoryEditForm.ShowDialog();
            }
            memoryEditForm = null;
        }
Esempio n. 2
0
 private void editMemoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lvProcessList.SelectedItems.Count < 1)
         return;
     ListViewItem i = lvProcessList.SelectedItems[0];
     int id = (int)i.Tag;
     using (memoryEditForm = new formMemoryEdit(Client, id))
     {
         memoryEditForm.Text = string.Format("Edit memory ({0} - PID: {1})", i.SubItems[2].Text, id);
         memoryEditForm.ShowDialog();
     }
     memoryEditForm = null;
 }