public ScreensaverForm(int thisDisplayId, UrlList list) { InitializeComponent(); // Assign the number to an accessible variable _thisDisplayIdId = thisDisplayId; _view = new WebpageView(list); LostFocus += (o, e) => Close(); }
internal ScreensaverForm(int thisDisplayId, WebpageView view) { InitializeComponent(); // Assign the number to an accessible variable _thisDisplayIdId = thisDisplayId; _view = view; LostFocus += (o, e) => Close(); }