/// <summary> /// Add the given entry /// </summary> /// <param name="entry"></param> public static void Add(ScheduleEntry entry) { s_schedule.Add(entry); // Notify to subscribers EveMonClient.OnSchedulerChanged(); }
/// <summary> /// Add the given entry /// </summary> /// <param name="entry"></param> public static void Remove(ScheduleEntry entry) { s_schedule.Remove(entry); // Notify to subscribers EveClient.OnSchedulerChanged(); }
/// <summary> /// Clears all the expired entries. /// </summary> public static void ClearExpired() { // Removed the expired entries int i = 0; while (i < s_schedule.Count) { ScheduleEntry entry = s_schedule[i]; if (entry.Expired) { s_schedule.RemoveAt(i); } else { i++; } } // Notify to subscribers EveMonClient.OnSchedulerChanged(); }
private void btnOk_Click(object sender, EventArgs e) { m_scheduleEntry = GenerateScheduleEntry(); this.DialogResult = DialogResult.OK; this.Close(); }
private void button1_Click(object sender, EventArgs e) { if (!btnOk.Enabled) { return; } ScheduleEntry ise = GenerateScheduleEntry(); this.ScheduleEntry = ise; }
/// <summary> /// Add the given entry /// </summary> /// <param name="entry"></param> public static void Remove(ScheduleEntry entry) { m_schedule.Remove(entry); EveClient.OnSchedulerChanged(); }
/// <summary> /// Add the given entry /// </summary> /// <param name="entry"></param> public static void Add(ScheduleEntry entry) { m_schedule.Add(entry); EveClient.OnSchedulerChanged(); }
/// <summary> /// Handles the Click event of the button1 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void buttonDebug_Click(object sender, EventArgs e) { if (!btnOk.Enabled) return; ScheduleEntry ise = GenerateScheduleEntry(); ScheduleEntry = ise; }