| | |
| | | oldMode = btnChoose; |
| | | oldMode.IsSelected = true; |
| | | oldMode.Visible = true; |
| | | currentKey.CurrentSwitchMode = btnModeText.Text; |
| | | if (btnModeText.Text == Language.StringByID(R.MyInternationalizationString.OnOffOn)) |
| | | { |
| | | currentModeID = 100; |
| | |
| | | oldMode = btnChoose; |
| | | oldMode.IsSelected = true; |
| | | oldMode.Visible = true; |
| | | currentKey.CurrentSwitchMode = btnModeText.Text; |
| | | if (btnModeText.Text == Language.StringByID(R.MyInternationalizationString.DimmerMode1)) |
| | | { |
| | | currentModeID = 200; |
| | |
| | | oldMode = btnChoose; |
| | | oldMode.IsSelected = true; |
| | | oldMode.Visible = true; |
| | | currentKey.CurrentSwitchMode = btnModeText.Text; |
| | | if (btnModeText.Text == Language.StringByID(R.MyInternationalizationString.WcdUp)) |
| | | { |
| | | currentModeID = 300; |