Advertisement
Advertisement
| 04.23.2008 at 02:12PM PDT, ID: 23348379 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: |
private void startCallMonitorToolStripMenuItem_Click(object sender, EventArgs e)
{
Thread trd = new Thread(new ThreadStart(this.newcallcheck));
trd.IsBackground = true;
trd.Start();
}
private void newcallcheck()
{
while (true)
{
if (ac.checkNewCalls(ac.getuser()) > 0)
{
NewCall fms = new NewCall();
fms.Show();
Thread.Sleep(25000);
}
else
Thread.Sleep(28000);
}
}
fms is the form that should open
|