old mode 100755
new mode 100644
| | |
| | | this.listview = tableContr.InitControl(listBackControl.frameTable, Language.StringByID(R.MyInternationalizationString.uInfoEditor), 1319);
|
| | |
|
| | | //图片
|
| | | var btnPic = new DeviceInfoIconControl();
|
| | | var btnPic = new DeviceInfoIconControl(); |
| | | |
| | | btnPic.Y = Application.GetRealHeight(46);
|
| | | btnPic.Gravity = Gravity.CenterHorizontal;
|
| | | listBackControl.frameTable.AddChidren(btnPic);
|
| | |
| | | var btnBelongType = new NormalViewControl(700, 62, true);
|
| | | btnBelongType.Y = btnPic.Bottom + Application.GetRealHeight(35);
|
| | | btnBelongType.Gravity = Gravity.CenterHorizontal;
|
| | | btnBelongType.TextID = infoType.BeloneTextId;
|
| | | btnBelongType.Text = infoType.BeloneText;
|
| | | btnBelongType.TextSize = 15;
|
| | | btnBelongType.TextAlignment = TextAlignment.Center;
|
| | | listBackControl.frameTable.AddChidren(btnBelongType);
|
| | |
| | | string caption = Language.StringByID(R.MyInternationalizationString.FunctionName);
|
| | | string deviceName = LocalDevice.Current.GetDeviceEpointName(device);
|
| | | var btnNote = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2);
|
| | | btnNote.txtInput.MaxByte = 48;//限制只能输入48个字节
|
| | | listview.AddChidren(btnNote);
|
| | | btnNote.InitControl();
|
| | | //划线
|
| | |
| | | var btnBelongType = new NormalViewControl(700, 62, true);
|
| | | btnBelongType.Y = btnPic.Bottom + Application.GetRealHeight(35);
|
| | | btnBelongType.Gravity = Gravity.CenterHorizontal;
|
| | | btnBelongType.TextID = infoType.BeloneTextId;
|
| | | btnBelongType.Text = infoType.BeloneText;
|
| | | btnBelongType.TextSize = 15;
|
| | | btnBelongType.TextAlignment = TextAlignment.Center;
|
| | | listBackControl.frameTable.AddChidren(btnBelongType);
|