Beispiel #1
0
 /// <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();
 }
Beispiel #2
0
 /// <summary>
 /// Destroys this PictureBoxDecorator's instance
 /// </summary>
 public virtual void Destroy()
 {
     pictureBox = null;
 }
Beispiel #3
0
 /// <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;
 }