Exemple #1
0
        public void Show(string text)
        {
            Slip temp = new Slip(Factory.CurrentTheme, text);

            temp.FormClosed += new FormClosedEventHandler(temp_FormClosed);
            Slips.Enqueue(temp);
        }
Exemple #2
0
        void timer_Tick(object sender, EventArgs e)
        {
            if (activeSlip == null && Slips.Count > 0)
            {
                activeSlip = Slips.Dequeue();

                activeSlip.Show();
            }

            if (activeSlip != null) activeSlip.Tick();
        }
Exemple #3
0
        void timer_Tick(object sender, EventArgs e)
        {
            if (activeSlip == null && Slips.Count > 0)
            {
                activeSlip = Slips.Dequeue();

                activeSlip.Show();
            }

            if (activeSlip != null)
            {
                activeSlip.Tick();
            }
        }
Exemple #4
0
 void temp_FormClosed(object sender, FormClosedEventArgs e)
 {
     activeSlip.Dispose();
     activeSlip = null;
 }
Exemple #5
0
 void temp_FormClosed(object sender, FormClosedEventArgs e)
 {
     activeSlip.Dispose();
     activeSlip = null;
 }
Exemple #6
0
 public void Show(string text)
 {
     Slip temp = new Slip(Factory.CurrentTheme, text);
     temp.FormClosed += new FormClosedEventHandler(temp_FormClosed);
     Slips.Enqueue(temp);
 }