Widow – Diff between revs 11 and 14
?pathlinks?
Rev 11 | Rev 14 | |||
---|---|---|---|---|
Line 9... | Line 9... | |||
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 12... | Line 12... | |||
12 | |
12 | |
|
13 | [XmlElement(ElementName = "Process")] |
13 | [XmlElement(ElementName = "Process")] |
|
14 | public string Process |
14 | public string Class |
|
15 | { |
15 | { |
|
16 | get => _process; |
16 | get => _class; |
|
17 | set |
17 | set |
|
18 | { |
18 | { |
|
19 | if (value == _process) |
19 | if (value == _class) |
|
20 | { |
20 | { |
|
21 | return; |
21 | return; |
|
Line 22... | Line 22... | |||
22 | } |
22 | } |
|
23 | |
23 | |
|
24 | _process = value; |
24 | _class = value; |
|
25 | OnPropertyChanged(); |
25 | OnPropertyChanged(); |
|
Line 26... | Line 26... | |||
26 | } |
26 | } |
|
Line 172... | Line 172... | |||
172 | |
172 | |
|
Line 173... | Line 173... | |||
173 | #endregion |
173 | #endregion |
|
Line -... | Line 174... | |||
- | 174 | |
||
- | 175 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
||
174 | |
176 | |
|
Line 175... | Line 177... | |||
175 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
177 | private string _class; |
|
Line 176... | Line 178... | |||
176 | |
178 | |
|
Line 184... | Line 186... | |||
184 | |
186 | |
|
Line 185... | Line 187... | |||
185 | private bool _ignoreWidth; |
187 | private bool _ignoreWidth; |
|
Line 186... | Line -... | |||
186 | |
- | ||
187 | private int _left; |
- | ||
188 | |
188 | |
|
Line 189... | Line 189... | |||
189 | private string _process; |
189 | private int _left; |
|
Line 190... | Line 190... | |||
190 | |
190 | |
|
Line 201... | Line 201... | |||
201 | [UsedImplicitly] |
201 | [UsedImplicitly] |
|
202 | public Window() |
202 | public Window() |
|
203 | { |
203 | { |
|
204 | } |
204 | } |
|
Line 205... | Line 205... | |||
205 | |
205 | |
|
206 | public Window(string process, string title, int top, int left, int width, int height) : this() |
206 | public Window(string @class, string title, int top, int left, int width, int height) : this() |
|
207 | { |
207 | { |
|
208 | Process = process; |
208 | Class = @class; |
|
209 | Title = title; |
209 | Title = title; |
|
210 | Top = top; |
210 | Top = top; |
|
211 | Left = left; |
211 | Left = left; |
|
212 | Width = width; |
212 | Width = width; |