예제 #1
0
 private void Confirm_Click()
 {
     if (selectedType != null && description != "")
     {
         Feedback feedback = new Feedback(_feedbackController.GenerateId(), Username, SelectedType, Description);
         _feedbackController.Add(feedback);
         SelectedType = null;
         Description  = "";
     }
 }
        private void Confirm()
        {
            if (selectedType != null && feedbackDescription != "")
            {
                Feedback feedback = new Feedback(_feedbackController.GenerateId(), Username, SelectedType, FeedbackDescription);
                _feedbackController.Add(feedback);

                /*SelectedType = null;
                 * FeedbackDescription = "";*/
                parent.Close();
            }
        }