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

                scope.Complete();
            }
        }
Beispiel #3
0
 private void GetCounters()
 {
     this.bindingSource1.DataSource = m_proxy.GetCounters();
 }