Beispiel #1
0
            /// <summary>
            /// Handles delete button click event.
            /// </summary>
            /// <param name="sender"></param>
            /// <param name="e"></param>
            void btnDeleteQuestion_Click(object sender, EventArgs e)
            {
                QuestionBox questionBoxToDelete = (QuestionBox)((((Button)sender).Parent.Parent));

                questionBoxToDelete.Dispose();
            }