mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
2c3c8a402f
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1376 21ef857c-d57f-4fe0-8362-d861dc6d29cd
44 lines
1.0 KiB
C#
44 lines
1.0 KiB
C#
using System;
|
|
using System.Windows.Forms;
|
|
using ProcessHacker.Common;
|
|
using ProcessHacker.Native.Objects;
|
|
|
|
namespace ProcessHacker.Components
|
|
{
|
|
public partial class EventPairProperties : UserControl
|
|
{
|
|
private EventPairHandle _eventPairHandle;
|
|
|
|
public EventPairProperties(EventPairHandle eventPairHandle)
|
|
{
|
|
InitializeComponent();
|
|
|
|
_eventPairHandle = eventPairHandle;
|
|
}
|
|
|
|
private void buttonSetHigh_Click(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
_eventPairHandle.SetHigh();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
PhUtils.ShowMessage(ex);
|
|
}
|
|
}
|
|
|
|
private void buttonSetLow_Click(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
_eventPairHandle.SetLow();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
PhUtils.ShowMessage(ex);
|
|
}
|
|
}
|
|
}
|
|
}
|