Exemple #1
0
        private void btnEndCall_Click(object sender, EventArgs e)
        {
            int hours   = int.Parse(lblHours.Text);
            int minutes = int.Parse(lblMinutes.Text);
            int seconds = int.Parse(lblSeconds.Text);

            t.Stop();

            callLog.EndCallLog();

            onCall             = false;
            btnEndCall.Enabled = false;

            t          = new Timer();
            t.Interval = 3000;
            t.Tick    += new EventHandler(t_EndOfTick);
            t.Start();
        }