/// <summary> /// Sets the icon for an animated <see cref="GrhData"/>. /// </summary> /// <param name="grhData">The <see cref="GrhData"/>.</param> void SetIconImageAnimated(GrhData grhData) { // If we have already created the Grh for animations, we just need to make sure we have the // correct GrhData set on it if (_animationGrh != null) { _animationGrh.SetGrh(grhData); return; } _animationGrh = new Grh(grhData, AnimType.Loop, TickCount.Now); _grhImageList.GetImageAsync(grhData.GetFrame(0), _asyncCallback, this); }