示例#1
0
        private void ZipVal_ValueChanged(object sender, EventArgs e)
        {
            int val = ZipVal.Value - 101;

            dontHandle = false;
            Value.Text = val.ToString();
            iw.setBitmap(prevImg);
            iw.Brightness(val);
        }
示例#2
0
        public Brightness(ImageWindow iw)
        {
            InitializeComponent();
            this.iw = iw;
            MdiParent = iw.MdiParent;
            Text = Text + " " + iw.Text;
            prevImg = iw.getBitmap();

            iw.Brightness(ZipVal.Value - 101);
            Show();
        }
示例#3
0
        public Brightness(ImageWindow iw)
        {
            InitializeComponent();
            this.iw   = iw;
            MdiParent = iw.MdiParent;
            Text      = Text + " " + iw.Text;
            prevImg   = iw.getBitmap();


            iw.Brightness(ZipVal.Value - 101);
            Show();
        }