This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static Skeleton GetClosestSkeleton(Skeleton[] skeletons) | |
{ | |
return skeletons | |
.Where(skeleton => skeleton.TrackingState == SkeletonTrackingState.Tracked) | |
.OrderBy(skeleton => skeleton.Position.Z).FirstOrDefault(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void InstalledLang() | |
{ | |
using (SpeechSynthesizer synth = new SpeechSynthesizer()) | |
{ | |
// Output information about all of the installed voices. | |
Console.WriteLine("Installed voices -"); | |
foreach (InstalledVoice voice in synth.GetInstalledVoices()) | |
{ | |
VoiceInfo info = voice.VoiceInfo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Send form page | |
*/ | |
function rwpm_send() | |
{ | |
global $wpdb, $current_user; | |
?> | |
<div class="wrap"> | |
<h2><?php _e( 'Send Private Message', 'pm4wp' ); ?></h2> |
NewerOlder