private void menuConfigCallWatcher_Click(object sender, EventArgs e) { #if PHONE var form = new formConfigCallWatcher(); form.ShowDialog(this); form.Dispose(); CallWatcher.Refresh(); #endif }
private void cmdCallStart_Click(object sender, EventArgs e) { #if PHONE if (CallWatcher.Running) { CallWatcher.StopWatch(); } else { CallWatcher.StartWatch(); } #endif }
private void cmdExit_Click(object sender, EventArgs e) { #if PHONE if (CallWatcher.Running) { CallWatcher.StopWatch(); } #endif Settings.SetComputerSetting("status", textStatus.Text); this.Close(); }