entity.MetaEditor2.MetaEditorControlPage.cbIdent_MouseLeave C# (CSharp) Méthode

cbIdent_MouseLeave() private méthode

private cbIdent_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void
        private void cbIdent_MouseLeave(object sender, EventArgs e)
        {
            // If our tag is not null, make sure it actually is an image, then release the used memory and restore the
            // original picture
            if (this.MapForm.pictureBox1.Tag != null && this.MapForm.pictureBox1.Tag is Image)
            {
                this.MapForm.pictureBox1.Image.Dispose();
                this.MapForm.pictureBox1.Image = (Image)this.MapForm.pictureBox1.Tag;
                this.MapForm.pictureBox1.Tag = null;
            }
        }