Example #1
0
 private void cmdAdminOp_Click(object sender, EventArgs e)
 {
     try
     {
         MessageBox.Show(m_proxy.AdminOperation());
     }
     catch (CommunicationException comEx)
     {
         MessageBox.Show(comEx.Message);
         InitializeProxy();
     }
 }
Example #2
0
 private void cmdAdminOp_Click(object sender, EventArgs e)
 {
     try
     {
         MessageBox.Show(m_proxy.AdminOperation());
     }
     catch (CommunicationException comEx)
     {
         MessageBox.Show(comEx.Message);
         m_proxy = new WinClient.localhost.SecureServiceContractClient();
     }
 }