Widow
/trunk/Windows/Window.cs |
@@ -10,18 +10,34 @@ |
{ |
#region Public Enums, Properties and Fields |
|
[XmlElement(ElementName = "Process")] |
public string Process |
{ |
get => _process; |
set |
{ |
if (value == _process) |
{ |
return; |
} |
|
_process = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Name")] |
public string Name |
public string Title |
{ |
get => _name; |
get => _title; |
set |
{ |
if (value == _name) |
if (value == _title) |
{ |
return; |
} |
|
_name = value; |
_title = value; |
OnPropertyChanged(); |
} |
} |
@@ -170,8 +186,10 @@ |
|
private int _left; |
|
private string _name; |
private string _process; |
|
private string _title; |
|
private int _top; |
|
private int _width; |
@@ -185,9 +203,10 @@ |
{ |
} |
|
public Window(string name, int top, int left, int width, int height) : this() |
public Window(string process, string title, int top, int left, int width, int height) : this() |
{ |
Name = name; |
Process = process; |
Title = title; |
Top = top; |
Left = left; |
Width = width; |