您当前的位置: 首页 >  .net

Ext.Net 1.x_Ext.Net.Combox选择触发事件

发布时间:2012-05-24 08:34:50 ,浏览量:0

事件:ChangeCurrency


		

cs代码:

protected void ChangeCurrency(object sender, DirectEventArgs e)
    {
     
        if (this.cbxCurrency.SelectedItem.Value.Trim() == "RMB")
        {
            this.txtRate.Text = "1.000000";
        }
        else
        {
            ZMQuotation zmq = new ZMQuotation();
            zmq.Currency=this.cbxCurrency.SelectedItem.Value.Trim();
            ZMQuotationManager zmqm=new ZMQuotationManager ();
            this.txtRate.Text =zmqm .GetRate(zmq);
        }
    }

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    108697博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0573s