public SmartHouseForm() { InitializeComponent(); buttonScripts.Click += (sender, args) => OpenScripts?.Invoke(); }