Esempio n. 1
0
        private void InitialBGImage()
        {
            this._bgOriginalImageMaxSize = PictureControl.ColculateTrackBarMaxSize(
                this.backgroundPictureBox.Width,
                this.backgroundPictureBox.Height);

            this.trackBarBGControl.Properties.Maximum = this._bgOriginalImageMaxSize;

            this.trackBarBGControl.Value = 0;
        }
Esempio n. 2
0
        private void InitialFGImage()
        {
            this._ezdOriginalImageMaxSize = PictureControl.ColculateTrackBarMaxSize(
                this.foregroundPictureBox.Width,
                this.foregroundPictureBox.Height);

            this.trackBarFGControl.Properties.Maximum = this._ezdOriginalImageMaxSize + 300;

            this.trackBarFGControl.Value = this.trackBarFGControl.Properties.Maximum;
        }