| | |
| | | Language.StringByID(StringId.Mode), |
| | | ""); |
| | | patternView.Y = Application.GetRealHeight(263); |
| | | patternView.X = Application.GetRealWidth(57); |
| | | patternView.X = Application.GetRealWidth(36); |
| | | patternView.Width = Application.GetRealWidth(96); |
| | | patternView.Height = Application.GetRealHeight(74); |
| | | FrameWhiteCentet1.AddChidren(patternView); |
| | |
| | | Language.StringByID(StringId.HeadSwinging), |
| | | ""); |
| | | swingView.Y = Application.GetRealHeight(263); |
| | | swingView.X = Application.GetRealWidth(216); |
| | | swingView.X = Application.GetRealWidth(229-34); |
| | | swingView.Width = Application.GetRealWidth(96); |
| | | swingView.Height = Application.GetRealHeight(74); |
| | | FrameWhiteCentet1.AddChidren(swingView); |
| | |
| | | Language.StringByID(StringId.Timing), |
| | | ""); |
| | | timingView.Y = Application.GetRealHeight(366); |
| | | timingView.X = Application.GetRealWidth(57); |
| | | timingView.X = Application.GetRealWidth(36); |
| | | timingView.Width = Application.GetRealWidth(96); |
| | | timingView.Height = Application.GetRealHeight(74); |
| | | FrameWhiteCentet1.AddChidren(timingView); |
| | |
| | | "FunctionIcon/IrFan/SpeedIconOn.png", |
| | | Language.StringByID(StringId.AirVolume), |
| | | ""); |
| | | airVolumeView.Y = Application.GetRealHeight(263); |
| | | airVolumeView.X = Application.GetRealWidth(216); |
| | | airVolumeView.Y = Application.GetRealHeight(366); |
| | | airVolumeView.X = Application.GetRealWidth(229 - 34); |
| | | airVolumeView.Width = Application.GetRealWidth(96); |
| | | airVolumeView.Height = Application.GetRealHeight(74); |
| | | FrameWhiteCentet1.AddChidren(airVolumeView); |
| | |
| | | |
| | | btnTitle = new Button() |
| | | { |
| | | Gravity = Gravity.Center, |
| | | Y = btnIcon.Bottom, |
| | | Text = title, |
| | | Height = Application.GetRealHeight(42), |
| | | Height = Application.GetRealHeight(30), |
| | | TextColor = CSS_Color.TextualColor, |
| | | SelectedTextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | |
| | | btnIcon.MouseUpEventHandler = eventHandler; |
| | | btnTitle.MouseUpEventHandler = eventHandler; |
| | | btnIcon.MouseDownEventHandler = (sender, e) => { |
| | | btnTitle.IsSelected = true; |
| | | btnIcon.IsSelected = true; |
| | | }; |
| | | btnTitle.MouseDownEventHandler = (sender, e) => { |
| | | btnTitle.IsSelected = true; |
| | | btnIcon.IsSelected = true; |
| | | }; |
| | | btnIcon.MouseUpEventHandler += (sender, e) => { |
| | |
| | | System.Threading.Thread.Sleep(500); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | btnIcon.IsSelected = true; |
| | | btnTitle.IsSelected = false; |
| | | btnIcon.IsSelected = false; |
| | | }); |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | |
| | | System.Threading.Thread.Sleep(500); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | btnIcon.IsSelected = true; |
| | | btnTitle.IsSelected = false; |
| | | btnIcon.IsSelected = false; |
| | | }); |
| | | }) |
| | | { IsBackground = true }.Start(); |