private void GetCounters() { using (localhost.CountersServiceClient proxy = GetProxy()) { this.bindingSource1.DataSource = proxy.GetCounters(); } }
private void GetCounters() { using (TransactionScope scope = new TransactionScope()) { this.bindingSource1.DataSource = m_proxy.GetCounters(); scope.Complete(); } }
private void GetCounters() { this.bindingSource1.DataSource = m_proxy.GetCounters(); }