Ejemplo n.º 1
0
        public void Show(string text)
        {
            Slip temp = new Slip(Factory.CurrentTheme, text);

            temp.FormClosed += new FormClosedEventHandler(temp_FormClosed);
            Slips.Enqueue(temp);
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 4
0
 void temp_FormClosed(object sender, FormClosedEventArgs e)
 {
     activeSlip.Dispose();
     activeSlip = null;
 }
Ejemplo n.º 5
0
 void temp_FormClosed(object sender, FormClosedEventArgs e)
 {
     activeSlip.Dispose();
     activeSlip = null;
 }
Ejemplo n.º 6
0
 public void Show(string text)
 {
     Slip temp = new Slip(Factory.CurrentTheme, text);
     temp.FormClosed += new FormClosedEventHandler(temp_FormClosed);
     Slips.Enqueue(temp);
 }