public void Execute(object parameter) { RadDataForm dataForm = parameter as RadDataForm; if (dataForm == null) { return; } dataForm.Commit(); }