Ejemplo n.º 1
0
        // Show histogram window
        private void showhistogramToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (histogramForm == null)
            {
                histogramForm              = new HistogramForm( );
                histogramForm.FormClosing += delegate(object eventSender, FormClosingEventArgs eventArgs)
                {
                    histogramForm = null;
                };
            }

            histogramForm.Show( );
            ShowCurrentImageHistogram( );
        }
Ejemplo n.º 2
0
        // Show histogram window
        private void showhistogramToolStripMenuItem_Click( object sender, EventArgs e )
        {
            if ( histogramForm == null )
            {
                histogramForm = new HistogramForm( );
                histogramForm.FormClosing += delegate( object eventSender, FormClosingEventArgs eventArgs )
                {
                    histogramForm = null;
                };
            }

            histogramForm.Show( );
            ShowCurrentImageHistogram( );
        }