-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathClsWindows.cs
68 lines (66 loc) · 1.74 KB
/
ClsWindows.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
namespace WinSize4
{
public class ClsWindows
{
public long hWnd;
public int Pid;
public ClsWindowProps Props;
public Boolean Moved;
}
public class ClsWindowProps
{
public int Tag
{ get; set; }
public string Name
{ get; set; } = "";
public string WindowClass
{ get; set; } = "";
public int MonitorBoundsWidth
{ set; get; }
public int MonitorBoundsHeight
{ set; get; }
public bool Primary
{ get; set; }
public string Title
{ set; get; } = "";
public int Left
{ set; get; }
public int Top
{ set; get; }
public int Width
{ set; get; }
public int Height
{ set; get; }
public string Exe
{ set; get; } = "";
public string TitleInclude
{ set; get; } = "";
public bool SearchTitleInclude
{ set; get; } = false;
public int SearchTypeInclude
{ set; get; } = Full;
public string TitleExclude
{ set; get; } = "";
public bool SearchTitleExclude
{ set; get; } = false;
public int SearchTypeExclude
{ set; get; } = Full;
public bool SearchExe
{ set; get; } = true;
public bool MaxWidth
{ set; get; }
public bool MaxHeight
{ set; get; }
public bool FullScreen
{ set; get; }
public bool IgnoreChildWindows
{ set; get; } = true;
public bool ConsiderWindowClass
{ set; get; } = true;
public bool Present
{ set; get; }
public const int Full = 0;
public const int Contains = 1;
public const int StartsWith = 2;
}
}