Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            using (Service1Client client = new Service1Client())
            {
                label2.Text = "Requesting status";
                int status = client.RequestStatus();
                label2.Text = "" + status + " Cores available";

            }
        }