fx cop & FZ editor part 1 of many (#11241)

* fixing first set of host of bugs

* objects are already set to defaults

* shifting to string.is null / empty

* setters

* fixing stylecop oops

* checking in the FxCop dep but commenting it out for easier coming back
This commit is contained in:
Clint Rutkas
2021-05-14 09:54:34 -07:00
committed by GitHub
parent 19952ef634
commit 319adcbd62
9 changed files with 49 additions and 29 deletions

View File

@@ -75,18 +75,26 @@ namespace FancyZonesEditor
public struct Zone
{
public int Index;
public int Left;
public int Top;
public int Right;
public int Bottom;
public int Index { get; set; }
public int Left { get; set; }
public int Top { get; set; }
public int Right { get; set; }
public int Bottom { get; set; }
}
public struct Resizer
{
public Orientation Orientation;
public List<int> NegativeSideIndices; // all zones to the left/up, in order
public List<int> PositiveSideIndices; // all zones to the right/down, in order
public Orientation Orientation { get; set; }
// all zones to the left/up, in order
public List<int> NegativeSideIndices { get; set; }
// all zones to the right/down, in order
public List<int> PositiveSideIndices { get; set; }
}
private List<Zone> _zones;