forked from ispysoftware/iSpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Events.cs
54 lines (47 loc) · 1.33 KB
/
Events.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using System;
using System.Drawing;
namespace iSpyApplication
{
public class NewDataAvailableArgs : EventArgs
{
public NewDataAvailableArgs(byte[] decodedData)
{
DecodedData = decodedData;
}
public byte[] DecodedData { get; }
}
public class VolumeChangedEventArgs : EventArgs
{
public int NewLevel;
public VolumeChangedEventArgs(int newLevel)
{
NewLevel = newLevel;
}
}
public class NotificationType : EventArgs
{
public int Objectid;
public int Objecttypeid;
public string Text;
public string Type;
public string PreviewImage;
public string OverrideMessage;
public NotificationType(string type, string text, string previewimage, string overrideMessage = "")
{
Type = type;
Text = text;
PreviewImage = previewimage;
OverrideMessage = overrideMessage;
}
}
public class DualFrameEventArgs : EventArgs
{
public DualFrameEventArgs(Bitmap displayFrame, Bitmap recordFrame)
{
DisplayFrame = displayFrame;
RecordFrame = recordFrame;
}
public Bitmap DisplayFrame { get; private set; }
public Bitmap RecordFrame { get; private set; }
}
}