public virtual void SetWindowIcon(Image image) { this._imageIcon = image; Icon = Icon.FromHandle(((Bitmap)image).GetHicon()); }