Beispiel #1
0
 protected void BtnClear_Click(object sender, EventArgs e)
 {
     ServiceReference1.SSLServiceSoapClient client = new ServiceReference1.SSLServiceSoapClient();
     client.DropApp();
     lastsub.Text = "";
     GVCalculationsSub.DataSource = client.GetCalculationsApll();
     GVCalculationsSub.DataBind();
 }
Beispiel #2
0
        protected void BtnMul_Click(object sender, EventArgs e)
        {
            ServiceReference1.SSLServiceSoapClient client =
                new ServiceReference1.SSLServiceSoapClient();

            int result = client.Mul(Int32.Parse(TxbX.Text), Int32.Parse(TxbY.Text));

            LabelResult.Text = result.ToString();
        }
Beispiel #3
0
        protected void BtnSub_Click(object sender, EventArgs e)
        {
            ServiceReference1.SSLServiceSoapClient client =
                new ServiceReference1.SSLServiceSoapClient();

            int result = client.Sub(Int32.Parse(TxbX.Text), Int32.Parse(TxbY.Text));

            lastsub.Text = client.GetLastSub().ToString();

            LabelResult.Text = result.ToString();

            GVCalculationsSub.DataSource = client.GetCalculationsApll();
            GVCalculationsSub.DataBind();
        }
Beispiel #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ServiceReference1.SSLServiceSoapClient client = new ServiceReference1.SSLServiceSoapClient();
     lastsum.Text = client.GetLastSum().ToString();
     lastsub.Text = client.GetLastSub().ToString();
 }