private void button1_Click(object sender, EventArgs e) { try { foreach (ClientInfo client in Global.clients) { NotificationQuene.AddNotification( new NotificationQueneEntry(client, 0, Convert.ToUInt32(textBox1.Text), Convert.ToUInt32(textBox2.Text), Convert.ToUInt32(textBox3.Text), Convert.ToUInt32(textBox4.Text), Convert.ToUInt32(textBox5.Text), Convert.ToUInt32(textBox6.Text), textBox7.Text)); } } catch { } }
private void timer1_Tick(object sender, EventArgs e) { NotificationQuene.Update(); }