Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            dllBankBitWs.BankBitWsBO bankbo = new dllBankBitWs.BankBitWsBO();
            double resut = bankbo.MostrarTotalBitWs();

            MessageBox.Show("Total de Bitws:" + resut, "Aviso", MessageBoxButtons.OK);
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            dllBankBitWs.BankBitWsBO bankbo = new dllBankBitWs.BankBitWsBO();

            double resut  = bankbo.CalcularTotalBITWS();
            double resut2 = bankbo.MostrarTotalBitWs();

            if (resut < resut2)
            {
                MessageBox.Show("<<cadastrar mais produtos {urgente}>>", "Aviso", MessageBoxButtons.OK);
            }
            else
            {
                MessageBox.Show("Total de Bitws:" + resut, "Aviso", MessageBoxButtons.OK);
            }
        }