private void DocumentChanged( Document value, bool isDirty ) { Text = CreateTitle( value ); btnSaveToDatabase.Enabled = isDirty; }