Widow – Diff between revs 9 and 11

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 9 Rev 11
Line 8... Line 8...
8 [XmlRoot(ElementName = "Window")] 8 [XmlRoot(ElementName = "Window")]
9 public class Window : INotifyPropertyChanged 9 public class Window : INotifyPropertyChanged
10 { 10 {
11 #region Public Enums, Properties and Fields 11 #region Public Enums, Properties and Fields
Line -... Line 12...
-   12  
-   13 [XmlElement(ElementName = "Process")]
-   14 public string Process
-   15 {
-   16 get => _process;
-   17 set
-   18 {
-   19 if (value == _process)
-   20 {
-   21 return;
-   22 }
-   23  
-   24 _process = value;
-   25 OnPropertyChanged();
-   26 }
-   27 }
12   28  
13 [XmlElement(ElementName = "Name")] 29 [XmlElement(ElementName = "Name")]
14 public string Name 30 public string Title
15 { 31 {
16 get => _name; 32 get => _title;
17 set 33 set
18 { 34 {
19 if (value == _name) 35 if (value == _title)
20 { 36 {
21 return; 37 return;
Line 22... Line 38...
22 } 38 }
23   39  
24 _name = value; 40 _title = value;
25 OnPropertyChanged(); 41 OnPropertyChanged();
Line 26... Line 42...
26 } 42 }
Line 168... Line 184...
168   184  
Line 169... Line 185...
169 private bool _ignoreWidth; 185 private bool _ignoreWidth;
Line -... Line 186...
-   186  
-   187 private int _left;
170   188  
Line 171... Line 189...
171 private int _left; 189 private string _process;
Line 172... Line 190...
172   190  
Line 183... Line 201...
183 [UsedImplicitly] 201 [UsedImplicitly]
184 public Window() 202 public Window()
185 { 203 {
186 } 204 }
Line 187... Line 205...
187   205  
188 public Window(string name, int top, int left, int width, int height) : this() 206 public Window(string process, string title, int top, int left, int width, int height) : this()
-   207 {
189 { 208 Process = process;
190 Name = name; 209 Title = title;
191 Top = top; 210 Top = top;
192 Left = left; 211 Left = left;
193 Width = width; 212 Width = width;
194 Height = height; 213 Height = height;