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

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

            CallWatcher.Refresh();
#endif
        }
Exemplo n.º 2
0
        private void cmdCallStart_Click(object sender, EventArgs e)
        {
#if PHONE
            if (CallWatcher.Running)
            {
                CallWatcher.StopWatch();
            }
            else
            {
                CallWatcher.StartWatch();
            }
#endif
        }
Exemplo n.º 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();
        }