コード例 #1
0
 private void sendButton_Click(object sender, RoutedEventArgs e)
 {
     if (fromTextBox.Text != "" && titleTextBox.Text != "" && subjectTextBox.Text != "")
     {
         sendFeedbackClass.from    = fromTextBox.Text;
         sendFeedbackClass.title   = titleTextBox.Text + ' ' + sendFeedbackClass.mainWindowClass.myIpAdress.ToString();
         sendFeedbackClass.subject = subjectTextBox.Text;
         sendFeedbackClass.startSending();
     }
     else
     {
         fieldNotComplete();
     }
 }