private void Button_Click(object sender, RoutedEventArgs e) { CopyData s = new CopyData(this, false); CopyStatus status = s.SendMessage("Test message 1234567890 1234567890 1234567890 1234567890", "Test Receiver"); status = s.SendMessage("Test message A", "SpeechCristi"); }