disabled properties for DLLs and Mapped Files

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1333 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-05-28 10:59:21 +00:00
parent c14ae0f4c1
commit fb4d2aeb15
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -322,9 +322,9 @@ namespace ProcessHacker.Components
public static bool HasHandleProperties(string type)
{
if (type == "Token" || type == "Process" || type == "File" ||
type == "Job" ||
type == "Event" || type == "Mutant" || type == "Section" ||
type == "Semaphore" ||
type == "DLL" || type == "Mapped File")
type == "Semaphore")
return true;
else
return false;
@@ -234,6 +234,11 @@ namespace ProcessHacker
private void propertiesMenuItem_Click(object sender, EventArgs e)
{
string type = listHandles.SelectedItems[0].SubItems[1].Text;
if (!HandleList.HasHandleProperties(type))
return;
try
{
HandleList.ShowHandleProperties(