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(); }