示例#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( );
            }
        }
示例#2
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( );
            }
        }