public ParamViewBase(ParamUIBase viewControl) { InitializeComponent(); viewControl.Dock = DockStyle.Fill; paramsHolder.Controls.Add(viewControl); btExecute.Click += delegate { viewControl.ExecuteReport(); }; btClear.Click += delegate { viewControl.ResetParamsReport(); }; }