private void HandleOptionsFormShown(object sender, EventArgs e) { var optionsForm = (OptionsForm)sender; OptionsPanel.Create(optionsForm, _options); }