| | |
| | | form.AddForm(deviceAc);
|
| | | };
|
| | |
|
| | | //摆风
|
| | | var rowSwing = new FrameRowControl(listview.rowSpace / 2);
|
| | | rowSwing.UseClickStatu = false;
|
| | | listview.AddChidren(rowSwing);
|
| | | rowSwing.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uAirConditionerSwing), 600);
|
| | | rowSwing.AddBottomLine();
|
| | | var btnSwicth = rowSwing.AddMostRightSwitchIcon();
|
| | | btnSwicth.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | btnSwicth.IsSelected = !btnSwicth.IsSelected;
|
| | | };
|
| | |
|
| | | //初始化桌布完成
|
| | | tableContr.FinishInitControl(bodyFrameLayout, this.listview);
|
| | | tableContr = null;
|