entity.MetaEditor2.MetaEditorControlPage.cbIdent_MouseLeave C# (CSharp) Метод

cbIdent_MouseLeave() приватный Метод

private cbIdent_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат 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;
            }
        }