Пример #1
0
        private void btnStartCall_Click(object sender, EventArgs e)
        {
            lblHours.Text   = "00";
            lblMinutes.Text = "00";
            lblSeconds.Text = "00";

            onCall = true;
            btnStartCall.Enabled = false;
            btnEndCall.Enabled   = true;

            callLog = new CallLog(DateTime.Now, null);
            callLog.StartCallLog();

            t          = new Timer();
            t.Interval = 1000;
            t.Tick    += new EventHandler(t_Tick);
            t.Start();
        }