Beispiel #1
0
        private void OnBackgroundRowClicked(BackgroundRow backgroundRow)
        {
            if (this.selectedBackgroundRow != null)
            {
                this.selectedBackgroundRow.Deselect();
            }

            this.selectedBackgroundRow = backgroundRow;
            this.selectedBackgroundRow.Select();

            BackgroundSelected?.Invoke(this.selectedBackgroundRow.Background);
        }
 private void setBackgroundButton_Click(object sender, EventArgs e)
 {
     BackgroundSelected.Invoke(pictureBoxCurrentPhoto);
 }