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

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

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