Exemple #1
0
        // Picture box clicked - select image for the glyph
        private void pictureBox_Click(object sender, EventArgs e)
        {
            ImageSelectorForm form = new ImageSelectorForm( );

            form.ImageName = visualizationData.ImageName;

            if (form.ShowDialog( ) == DialogResult.OK)
            {
                visualizationData.ImageName = form.ImageName;
                UpdateGlyphIcon( );
            }
        }
        // Picture box clicked - select image for the glyph
        private void pictureBox_Click( object sender, EventArgs e )
        {
            ImageSelectorForm form = new ImageSelectorForm( );

            form.ImageName = visualizationData.ImageName;

            if ( form.ShowDialog( ) == DialogResult.OK )
            {
                visualizationData.ImageName = form.ImageName;
                UpdateGlyphIcon( );
            }
        }