/* * Member Methods */ public override void Activate() { if (ItemActivated != null) { ItemActivated(this, new EventArgs()); } Control top = _parentList.GetControl().Parent; _panel.GetControl().Size = top.Size; _panel.GetControl().Location = new System.Drawing.Point(0, 0); PhonePUC.LeftMenuStackItem item = new PhonePUC.LeftMenuStackItem("Back", new EventHandler(this.menuButtonPress)); Globals.PushLeftMenuStack(item); top.Controls.Add(_panel.GetControl()); top.Controls.Remove(_parentList.GetControl()); _panel.GetControl().Focus(); }
public static void PushLeftMenuStack(PhonePUC.LeftMenuStackItem item) { ((PhonePUC.PUCFrame)_callbackManager).PushLeftMenuStack(item); }
protected void HandleMoreItemActivate(object src, EventArgs e) { PhonePUC.LeftMenuStackItem item = new PhonePUC.LeftMenuStackItem("Back", new EventHandler(this.menuButtonPress)); Globals.PushLeftMenuStack(item); }