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(); } }
private void ИзмененияToolStripMenuItemClick(object sender, EventArgs e) { var changesForm = new Changes(this, _schedule, (int)groupList.SelectedValue); changesForm.ShowDialog(); }
private void ChangesClick(object sender, EventArgs e) { var changesForm = new Changes(this, _schedule, (int)groupList.SelectedValue); changesForm.ShowDialog(); }