private void SetupDetectionMonitors() { var screens = MonitorDetector.GetScreens(); DdlScreens.Items.Clear(); DdlScreens.Items.AddRange(screens?.ToArray()); DdlScreens.SelectedIndex = 0; }
public RegionSelector(Container parent, Monitor monitor = null) { _parent = parent; _monitor = monitor ?? MonitorDetector.GetPrimaryScreen(); }