Esempio n. 1
0
        /// <summary>
        /// Callback for a close request of a profile.
        /// </summary>
        /// <param name="sender">Event sender, this is the RadioButton associated with the profile.</param>
        /// <param name="e">Event arguments.</param>
        private void OnProfileCloseClick(object sender, EventArgs e)
        {
            MadCatzProfile profile = (MadCatzProfile)((RadioButton)sender).Tag;

            presenter.CloseProfileRequested(profile);
        }