Esempio n. 1
0
 private void TrayIconBalloonTipClicked(object sender, EventArgs e)
 {
     if ((trayIcon.Tag.ToString() == "ChangesCount") &&
         (SettingsCore.Data.ContainsKey("showNotifications") &&
          SettingsCore.Data["showNotifications"] == "ForChoosenGroup") &&
         SettingsCore.Data.ContainsKey("notificationId"))
     {
         int groupId;
         int.TryParse(SettingsCore.Data["notificationId"], out groupId);
         var changesForm = new Changes(this, _schedule, groupId);
         changesForm.ShowDialog();
     }
 }
Esempio n. 2
0
 private void ИзмененияToolStripMenuItemClick(object sender, EventArgs e)
 {
     var changesForm = new Changes(this, _schedule, (int)groupList.SelectedValue);
     changesForm.ShowDialog();
 }
Esempio n. 3
0
 private void ChangesClick(object sender, EventArgs e)
 {
     var changesForm = new Changes(this, _schedule, (int)groupList.SelectedValue);
     changesForm.ShowDialog();
 }