public void OnInitializeButtonClick(Settings settings) { var args = new InitializeButtonClickEventArgs(); args.Settings = settings; InitializeButtonClick?.Invoke(this, args); }
private void EnvironmentForm_InitializeButtonClick(object sender, InitializeButtonClickEventArgs e) { settings = e.Settings; OnLoad(EventArgs.Empty); }