Exemplo n.º 1
0
 private void GetCounters()
 {
     using (localhost.CountersServiceClient proxy = GetProxy())
     {
         this.bindingSource1.DataSource = proxy.GetCounters();
     }
 }
Exemplo n.º 2
0
        private void GetCounters()
        {
            using (TransactionScope scope = new TransactionScope())
            {
                this.bindingSource1.DataSource = m_proxy.GetCounters();

                scope.Complete();
            }
        }
Exemplo n.º 3
0
 private void GetCounters()
 {
     this.bindingSource1.DataSource = m_proxy.GetCounters();
 }