protected override void OnKeyUp(KeyEventArgs e) { base.OnKeyUp(e); if (Parent.Equals(null)) return; switch (e.KeyData) { case Keys.Right: ((ColorTab)Parent).SelectedIndex++; break; case Keys.Left: ((ColorTab)Parent).SelectedIndex--; break; #if Smartphone // enter into the tab page // the developer is going to have to set focus from here on in // due to the limitations of the Smartphone case Keys.Enter: if (base.Controls.Count > 0 && base.Focused) SelectNextControl(this, true, true, true, true); break;#endif } }
© Copyright 2010 Pocket PC Controls.com Theme Design by Bryan Bell newtelligence dasBlog 1.9.6264.0 | Page rendered at Friday, July 30, 2010 6:26:48 PM UTC Pick a theme: BlogXP calmBlue Candid Blue dasBlog Discreet Blog Blue Elegante essence Just Html kubrick MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves Tricoleur useit.com Voidclass2