Exemplo n.º 1
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     BLIO.Log("Settings button clicked on reminder item (" + rem.Id + ")");
     HideOrShowRemovePostponeMenuItem(rem);
     HideOrShowSkipForwardMenuItem(rem);
     ReminderMenuStrip.Show(Cursor.Position);
 }
Exemplo n.º 2
0
 private void rightClick_Settings(object sender, MouseEventArgs e)
 {
     //Right-click settings
     if (e.Button == MouseButtons.Right && rem != null)
     {
         BLIO.Log("Right mouse button click on reminder item (" + rem.Id + ")");
         HideOrShowRemovePostponeMenuItem(rem);
         HideOrShowSkipForwardMenuItem(rem);
         ReminderMenuStrip.Show(Cursor.Position);
     }
 }
Exemplo n.º 3
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            BLIO.Log("Settings button clicked on reminder item (" + rem.Id + ")");

            HideOrShowRemovePostponeMenuItem(rem);
            HideOrShowSkipForwardMenuItem(rem);

            ToolStripItem skipToNextDateItem = ReminderMenuStrip.Items.Find("skipToNextDateToolStripMenuItem", false)[0];
            ToolStripItem removePostPoneItem = ReminderMenuStrip.Items.Find("removePostponeToolStripMenuItem", false)[0];
            ToolStripItem postPoneItem       = ReminderMenuStrip.Items.Find("postponeToolStripMenuItem", false)[0];

            if (rem.HttpId != null)
            { //conditional reminder, don't ever show these options
                skipToNextDateItem.Visible = false;
                postPoneItem.Visible       = false;
                removePostPoneItem.Visible = false;
            }

            ReminderMenuStrip.Show(Cursor.Position);
        }
Exemplo n.º 4
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     HideOrShowRemovePostponeMenuItem(rem);
     HideOrShowSkipForwardMenuItem(rem);
     ReminderMenuStrip.Show(Cursor.Position);
 }