private void button2_Click(object sender, EventArgs e)
        {
            double[] R, G, B;
            string   rName, gName, bName;

            CountHystograms(ColorModel.SelectedIndex, out R, out G, out B, out rName, out gName, out bName, (Bitmap)pictureBox1.Image);

            HystogramForm hf = new HystogramForm(R, G, B, rName, gName, bName, this.Text);

            hf.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            double[] R, G, B;
            string   rName, gName, bName;

            CountHystograms(idx, out R, out G, out B, out rName, out gName, out bName);

            HystogramForm hf = new HystogramForm(R, G, B, rName, gName, bName, this.Text);

            hf.Show();
        }