Exemple #1
0
 void taskItem_RequestShowInTaskbar(Task item)
 {
     if (TaskItemOpened != null)
     {
         TaskItemOpened.Invoke(item);
     }
 }
Exemple #2
0
        void item_ItemClicked(object sender, EventArgs e)
        {
            ButtonGridItem bgSender = (ButtonGridItem)sender;
            Task           item     = (Task)bgSender.UserObject;

            taskMenuPositioner.CurrentItem = bgSender;
            item.clicked(taskMenuPositioner);
            hide();
            if (TaskItemOpened != null)
            {
                TaskItemOpened.Invoke(item);
            }
        }