| | |
| | | Button sumBtn = new Button |
| | | { |
| | | Y = Application.GetRealHeight(267), |
| | | X = Application.GetRealWidth(170), |
| | | Width = Application.GetRealWidth(36), |
| | | X = Application.GetRealWidth(136), |
| | | Width = Application.GetRealWidth(104), |
| | | Height = Application.GetRealHeight(17), |
| | | Text = "(1/20)", |
| | | TextSize = TextSize.text12, |
| | |
| | | TextSize = TextSize.text16, |
| | | TextColor = CSS.CSS_Color.textConfirmColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | Radius = (uint)Application.GetRealHeight(44), |
| | | Radius = (uint)Application.GetRealHeight(22), |
| | | BorderWidth = 1, |
| | | BorderColor = CSS.CSS_Color.textConfirmColor, |
| | | }; |
| | |
| | | TextSize = TextSize.text16, |
| | | TextColor = CSS.CSS_Color.textWhiteColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | Radius = (uint)Application.GetRealHeight(44), |
| | | Radius = (uint)Application.GetRealHeight(22), |
| | | //BorderWidth = 1, |
| | | //BorderColor = CSS.CSS_Color.textConfirmColor, |
| | | BackgroundColor = CSS.CSS_Color.textConfirmColor, |
| | |
| | | //测试Text |
| | | testBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | var library = libraryList[index]; |
| | | var library = libraryList[index-1]; |
| | | var control = GetControl(spk, testBtn.TextID, library); |
| | | //发送测试码命令 |
| | | CodeTest(control); |