| | |
| | | } |
| | | }; |
| | | |
| | | btnTopMenuUp.MouseDownEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIconUp.png"; |
| | | }; |
| | | btnTopMenuDown.MouseDownEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIconDown.png"; |
| | | }; |
| | | btnTopMenuLeft.MouseDownEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIconLeft.png"; |
| | | }; |
| | | btnTopMenuRight.MouseDownEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIconRight.png"; |
| | | }; |
| | | btnOk.MouseDownEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIconOk.png"; |
| | | }; |
| | | |
| | | btnTopMenuUp.MouseUpEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIcon.png"; |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |
| | |
| | | } |
| | | }; |
| | | btnTopMenuLeft.MouseUpEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIcon.png"; |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |
| | |
| | | } |
| | | }; |
| | | btnTopMenuRight.MouseUpEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIcon.png"; |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |
| | |
| | | } |
| | | }; |
| | | btnTopMenuDown.MouseUpEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIcon.png"; |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |
| | |
| | | } |
| | | }; |
| | | btnOk.MouseUpEventHandler = (sender, e) => { |
| | | topMenuView.BackgroundImagePath = "FunctionIcon/Electrical/TV/TVOkIcon.png"; |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |