Beispiel #1
0
        internal void SelectImgBox(ImageBox imgBox)
        {
            if (this.selectedImgBox != imgBox || this.selectedImgBox == null)
            {
                if (this.selectedImgBox != null)
                {
                    this.selectedImgBox.Selected = false;
                }

                this.selectedImgBox = imgBox;
                if (imgBox != null)
                {
                    this.selectedImgBox.Selected = true;
                }
                OnSelectedChanged(new EventArgs());
            }
        }