protected void OnUseOffsetChanged(object sender, EventArgs e) { picAnimation.UseOffset = chkUseOffset.Checked; dataSource.MarkForAppearanceChange(); picAnimation.RefreshImage(); }