| | |
| | | { |
| | | btnSwitchIcon.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | if (!function.online) |
| | | if (!function.isOnline()) |
| | | { |
| | | new Tip() |
| | | { |
| | | MaxWidth = Application.GetRealWidth(300), |
| | | CloseTime = 1, |
| | | Text = Language.StringByID(StringId.DeviceOfflineCannotOption), |
| | | Direction = AMPopTipDirection.None, |
| | |
| | | }; |
| | | btnSwitch.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | if (!function.online) |
| | | if (!function.isOnline()) |
| | | { |
| | | new Tip() |
| | | { |
| | |
| | | { IsBackground = true }.Start(); |
| | | }; |
| | | |
| | | if (function.online) |
| | | if (function.isOnline()) |
| | | { |
| | | barGradualChange.OnStopTrackingTouchEvent = (sender, e) => |
| | | { |