Пример #1
0
 private void btnAddThreeNumbers_Click(object sender, EventArgs e)
 {
     if (txtAddThreeNumbersA.Text.IsNaN() || txtAddThreeNumbersB.Text.IsNaN() || txtAddThreeNumbersC.Text.IsNaN())
     {
         lblAddThreeNumbersResult.Text = "Bara int:ar tack";
         return;
     }
     AddThreeNumbersServiceSoapClient client = new AddThreeNumbersServiceSoapClient();
     lblAddThreeNumbersResult.Text = client.AddThreeNumbers(int.Parse(txtAddThreeNumbersA.Text), int.Parse(txtAddThreeNumbersB.Text),
         int.Parse(txtAddThreeNumbersC.Text)).ToString();
 }
Пример #2
0
 protected void AddThreeNumbersButton_Click(object sender, EventArgs e)
 {
   var client = new AddThreeNumbersServiceSoapClient();
     AddThreeNumbersLabelResult.Text = client.AddThreeNumbers(inputX_3.Text, inputY_3.Text, inputZ_3.Text);
 }
Пример #3
0
 private void btn_Add3_Click(object sender, EventArgs e)
 {
     AddThreeNumbersServiceSoapClient client = new AddThreeNumbersServiceSoapClient();
     lbl_Add3_Result.Text =
         client.AddThreeNumbers(nUD_Add3_1.Value, nUD_Add3_2.Value, nUD_Add3_3.Value).ToString();
 }
Пример #4
0
        protected void AddThreeNumbersButton_Click(object sender, EventArgs e)
        {
            var client = new AddThreeNumbersServiceSoapClient();

            AddThreeNumbersLabelResult.Text = client.AddThreeNumbers(inputX_3.Text, inputY_3.Text, inputZ_3.Text);
        }
Пример #5
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     AddThreeNumbersService.AddThreeNumbersServiceSoapClient client=new AddThreeNumbersServiceSoapClient();
     Label1.Text = client.AddThreeNumbers(TextBox1.Text, TextBox2.Text, TextBox3.Text).ToString();
 }