private void Button_Click_1(object sender, RoutedEventArgs e) { string input = textBox1.Text.ToString(); ServiceReference1.TranslationServiceClient ts = new ServiceReference1.TranslationServiceClient(); ServiceReference1.CompositeType translation = ts.TranslateToRussian(input); textBox2.Text = translation.TranslationStr; }