您的位置:首页 > 编程语言

代码

2016-02-17 14:56 99 查看
1:SelectedLot = SelectedLotRow != null ? DataTableEntityTranslator.TranslateToList<Lot>(SelectedLotRow.Row)[0] : null;

2:C# 中using的用法

(在工程中从一个view到另一个view需要传递参数,第二个popup出来的view接受参数)   
if (input != null && input is LotPropertyParameter)
{
var pIn = input as LotPropertyParameter;

LotId = pIn.CurrentLotId;

using (new BusyIndicator())

{
GetLotDetail();

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: