/// <summary> /// Called to notify this picture box decorator that it has been added to a picture box /// </summary> /// <param name="pictBox">The picture box this decorator has been added to</param> public void AddedToPictureBox(ImageEditPanel.InternalPictureBox pictBox) { Initialize(); }
/// <summary> /// Destroys this PictureBoxDecorator's instance /// </summary> public virtual void Destroy() { pictureBox = null; }
/// <summary> /// Initializes a new instance of the PictureBoxDecorator class /// </summary> /// <param name="pictureBox">The picture box to decorate</param> protected PictureBoxDecorator(ImageEditPanel.InternalPictureBox pictureBox) { this.pictureBox = pictureBox; }