Example #1
0
        private void menuConfigCallWatcher_Click(object sender, EventArgs e)
        {
#if PHONE
            var form = new formConfigCallWatcher();

            form.ShowDialog(this);
            form.Dispose();

            CallWatcher.Refresh();
#endif
        }
Example #2
0
        private void cmdCallStart_Click(object sender, EventArgs e)
        {
#if PHONE
            if (CallWatcher.Running)
            {
                CallWatcher.StopWatch();
            }
            else
            {
                CallWatcher.StartWatch();
            }
#endif
        }
Example #3
0
        private void cmdExit_Click(object sender, EventArgs e)
        {
#if PHONE
            if (CallWatcher.Running)
            {
                CallWatcher.StopWatch();
            }
#endif

            Settings.SetComputerSetting("status", textStatus.Text);

            this.Close();
        }