Exemplo n.º 1
0
        /// <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();
        }
Exemplo n.º 2
0
        /// <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();
        }
Exemplo n.º 3
0
        /// <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;
        }
Exemplo n.º 6
0
 /// <summary>
 /// Add the given entry
 /// </summary>
 /// <param name="entry"></param>
 public static void Remove(ScheduleEntry entry)
 {
     m_schedule.Remove(entry);
     EveClient.OnSchedulerChanged();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Add the given entry
 /// </summary>
 /// <param name="entry"></param>
 public static void Add(ScheduleEntry entry)
 {
     m_schedule.Add(entry);
     EveClient.OnSchedulerChanged();
 }
Exemplo n.º 8
0
        /// <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;
        }