ARCed.Database.Tilesets.TilesetsMainForm.TextBoxPanoramaOnButtonClick C# (CSharp) Method

TextBoxPanoramaOnButtonClick() private method

private TextBoxPanoramaOnButtonClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void TextBoxPanoramaOnButtonClick(object sender, EventArgs e)
        {
            using (var dialog = new ImageSelectionForm(@"Panoramas", this._tileset.panorama_name))
            {
                dialog.Hue = this._tileset.panorama_hue;
                if (dialog.ShowDialog(this) != DialogResult.OK) return;
                this._tileset.panorama_name = dialog.ImageName;
                this._tileset.panorama_hue = dialog.Hue;
                this.textBoxPanorama.Text = this._tileset.panorama_name;
            }
        }