private void Button_Click_1(object sender, RoutedEventArgs e) { client = new CalculatorService.CalculatorServiceClient(); MessageBox.Show("A new instance of the proxy class is created"); }
public MainWindow() { InitializeComponent(); client = new CalculatorService.CalculatorServiceClient(); }