public void DoImageToComparison()
        {
            bool flag = this.pictureBox1.Image != null;

            if (flag)
            {
                FormValue formValue = new FormValue();
                formValue.Text = "对比度";
                bool flag2 = formValue.ShowDialog() == DialogResult.OK;
                if (flag2)
                {
                    this.pictureBox1.Image = this.pictureBox1.Image.KiContrast(formValue.ResultValue);
                    this._zoombefore       = this._zoombefore.KiContrast(formValue.ResultValue);
                    this.UCCenterImg_CompressSaveFile();
                }
            }
        }
        public void DoChangeLightness()
        {
            bool flag = this.pictureBox1.Image != null;

            if (flag)
            {
                FormValue formValue = new FormValue();
                formValue.Text = "亮度";
                bool flag2 = formValue.ShowDialog() == DialogResult.OK;
                if (flag2)
                {
                    this.pictureBox1.Image = this.pictureBox1.Image.Lightness(formValue.ResultValue);
                    this._zoombefore       = this._zoombefore.Lightness(formValue.ResultValue);
                    this.UCCenterImg_CompressSaveFile();
                }
            }
        }