Smooth Streaming Test Post

Sign in to queue

Description

This is just a test post, [03:21]video playback may not work, please don't be alarmed Smiley

 

 

Embed

Download

Download this episode

The Discussion

  • User profile image
    Duncanma

    ';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//-->">'>

  • User profile image
    Duncanma

    GeoCoordinateWatcher myWatcher = new GeoCoordinateWatcher();
    private void button1_Click(object sender, RoutedEventArgs e)
    {
    
    // Added lines of code
    myWatcher.PositionChanged += new EventHandler<GeoPositionChangedEventArgs<GeoCoordinate>>(myWatcher_PositionChanged);
    myWatcher.Start();
    
    myLongitudeTextBlock.Text = myLatitudeTextBlock.Text = myPositionTextBlock.Text = "";
    }
    
    void myWatcher_PositionChanged(object sender, GeoPositionChangedEventArgs<GeoCoordinate> e)
    {
    var myPosition = myWatcher.Position;
    myWatcher.Stop();
    
    double latitude = 0;
    double longitude = 0;
    
    if (!myPosition.Location.IsUnknown)
    {
    latitude = myPosition.Location.Latitude;
    longitude = myPosition.Location.Longitude;
    }
    
    myLatitudeTextBlock.Text = string.Format("Latitude: {0}", latitude);
    myLongitudeTextBlock.Text = string.Format("Longitude: {0}", longitude);
    
    
    myTerraService.TerraServiceSoapClient client = new myTerraService.TerraServiceSoapClient();
    client.ConvertLonLatPtToNearestPlaceCompleted += new EventHandler<myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs>(client_ConvertLonLatPtToNearestPlaceCompleted);
    client.ConvertLonLatPtToNearestPlaceAsync(new myTerraService.LonLatPt { Lat = latitude, Lon = longitude });
    //throw new NotImplementedException();
    }
    
    void client_ConvertLonLatPtToNearestPlaceCompleted(object sender, myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs e)
    {
    myPositionTextBlock.Text = e.Result;
    //throw new NotImplementedException();
    }
    
    
    

  • User profile image
    vjirir

    @Duncanma:

    test

  • User profile image
    vjirir

    Generic Comment Image

  • User profile image
    vjirir

    test

    aaa

  • User profile image
    Duncanma

    testing TinyMCE

    bold

    link

  • User profile image
    Duncanma

    trying with browser set to desktop mode

     

     

  • User profile image
    Geoffreyk

    I am testing too

     

    this is three

     

    this is four

     

     

    this is line 2

Add Your 2 Cents