public void Init() { Cts = new CancellationTokenSource(); EntityContextConnection = new ZvsEntityContextConnection(); Log = new DatabaseFeedback(EntityContextConnection) { Source = "Zvs Gui" }; InitializeComponent(); }
public void Init() { Cts = new CancellationTokenSource(); EntityContextConnection = new ZvsEntityContextConnection(); Log = new DatabaseFeedback(EntityContextConnection) { Source = "Zvs Gui" }; InitializeComponent(); }
public DeviceMultiselectWindow(ZvsEntityContextConnection zvsEntityContextConnection, IEnumerable<int> deviceIdsToExclude) { if (deviceIdsToExclude == null) throw new ArgumentNullException(nameof(deviceIdsToExclude)); SelectedDevices = new List<Device>(); ZvsEntityContextConnection = zvsEntityContextConnection; DeviceIdsToExclude = deviceIdsToExclude; InitializeComponent(); }
public DeviceMultiselectWindow(ZvsEntityContextConnection zvsEntityContextConnection, IEnumerable <int> deviceIdsToExclude) { if (deviceIdsToExclude == null) { throw new ArgumentNullException(nameof(deviceIdsToExclude)); } SelectedDevices = new List <Device>(); ZvsEntityContextConnection = zvsEntityContextConnection; DeviceIdsToExclude = deviceIdsToExclude; InitializeComponent(); }