protected void btnUSD_Click(object sender, EventArgs e)
 {
     decimal usdValue = Decimal.Parse(this.TextBox1.Text);
     MoneyForExercise2 usd = new MoneyForExercise2(usdValue, Currency.USD);
     //
     this.lblFormattedMoney.Text = usd.ToString();
 }
 protected void btnGBP_Click(object sender, EventArgs e)
 {
     decimal gbpValue = Decimal.Parse(this.TextBox1.Text);
     MoneyForExercise2 gbp = new MoneyForExercise2(gbpValue, Currency.GBP);
     //
     this.lblFormattedMoney.Text = gbp.ToString();
 }
 protected void btnBRL_Click(object sender, EventArgs e)
 {
     decimal brlValue = Decimal.Parse(this.TextBox1.Text);
     MoneyForExercise2 brl = new MoneyForExercise2(brlValue, Currency.BRL);
     //
     this.lblFormattedMoney.Text = brl.ToString();
 }
        protected void btnGBP_Click(object sender, EventArgs e)
        {
            decimal           gbpValue = Decimal.Parse(this.TextBox1.Text);
            MoneyForExercise2 gbp      = new MoneyForExercise2(gbpValue, Currency.GBP);

            //
            this.lblFormattedMoney.Text = gbp.ToString();
        }
        protected void btnBRL_Click(object sender, EventArgs e)
        {
            decimal           brlValue = Decimal.Parse(this.TextBox1.Text);
            MoneyForExercise2 brl      = new MoneyForExercise2(brlValue, Currency.BRL);

            //
            this.lblFormattedMoney.Text = brl.ToString();
        }
        protected void btnUSD_Click(object sender, EventArgs e)
        {
            decimal           usdValue = Decimal.Parse(this.TextBox1.Text);
            MoneyForExercise2 usd      = new MoneyForExercise2(usdValue, Currency.USD);

            //
            this.lblFormattedMoney.Text = usd.ToString();
        }