Esempio n. 1
0
 void kMenu_FireEvent(object sender, KComponents.KMenuArgs e)
 {
     if (e.Key == Config.KEYOPEN)
     {
         this.OpenNewDrawing();
     }
 }
Esempio n. 2
0
        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);
            }
        }