void kMenu_FireEvent(object sender, KComponents.KMenuArgs e) { if (e.Key == Config.KEYOPEN) { this.OpenNewDrawing(); } }
void gdItem_TouchUp(object sender, TouchEventArgs e) { Grid gd = sender as Grid; this.RevertImage(gd, "_on.png"); KMenuItem item = gd.Tag as KMenuItem; this.ChangeStatus(this.gdOpen); if (this.FireEvent != null) { KMenuArgs arg = new KMenuArgs(item.Id); this.FireEvent(this, arg); } }