mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
c14ae0f4c1
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1332 21ef857c-d57f-4fe0-8362-d861dc6d29cd
33 lines
848 B
C#
33 lines
848 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using ProcessHacker.Native.Objects;
|
|
|
|
namespace ProcessHacker.Components
|
|
{
|
|
public partial class MutantProperties : UserControl
|
|
{
|
|
private MutantHandle _mutantHandle;
|
|
|
|
public MutantProperties(MutantHandle mutantHandle)
|
|
{
|
|
InitializeComponent();
|
|
|
|
_mutantHandle = mutantHandle;
|
|
this.UpdateInfo();
|
|
}
|
|
|
|
private void UpdateInfo()
|
|
{
|
|
var basicInfo = _mutantHandle.GetBasicInformation();
|
|
|
|
labelCurrentCount.Text = basicInfo.CurrentCount.ToString();
|
|
labelAbandoned.Text = (basicInfo.AbandonedState != 0).ToString();
|
|
}
|
|
}
|
|
}
|