| | |
| | | |
| | | namespace Shared.Phone.Device.CommonForm |
| | | { |
| | | public class DeviceIconSelectedIMGByLocal:FrameLayout |
| | | public class DeviceIconSelectedIMGByLocal : FrameLayout |
| | | { |
| | | /// <summary> |
| | | /// bodyFrameLayout |
| | |
| | | /// <summary> |
| | | /// action |
| | | /// </summary> |
| | | public Action<string,string > action; |
| | | public Action<string, string> action; |
| | | /// <summary> |
| | | /// tempIcon |
| | | /// </summary> |
| | |
| | | scrollView.AddChidren(itemView); |
| | | for (int i = 0; i < 4; i++) |
| | | { |
| | | var icon = new FunctionIconButton(58+ i*(207+46), 58); |
| | | var icon = new FunctionIconButton(58 + i * (207 + 46), 58); |
| | | icon.Init($"FunctionIcon/{k}Icon.png", $"FunctionIcon/{k}IconSelected.png"); |
| | | itemView.AddChidren(icon); |
| | | k++; |
| | |
| | | icon.ImageBtn.MouseUpEventHandler += selectIcon; |
| | | } |
| | | } |
| | | |
| | | var confirmBtn = new CommonForm.CompleteButton(1472, 907, 127); |
| | | confirmBtn.SetTitle(R.MyInternationalizationString.Save); |
| | | bodyFrameLayout.AddChidren(confirmBtn); |
| | | confirmBtn.MouseUpEventHandler += (sender, e) => |
| | |
|
| | | var btnConfirm = new UserCenter.BottomClickButton(); |
| | | btnConfirm.TextID = R.MyInternationalizationString.Save; |
| | | bodyFrameLayout.AddChidren(btnConfirm); |
| | | btnConfirm.ButtonClickEvent += (sender, e) => |
| | | { |
| | | if (tempIcon.ImageBtn != null) |
| | | { |