Created
August 24, 2015 21:18
-
-
Save mattkruskamp/130e01b852fd1a2ce9c9 to your computer and use it in GitHub Desktop.
Publishing Silverlight 2 Beta
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
<object data=“data:application/x-silverlight,” | |
type=“application/x-silverlight-2-b1” | |
width=“100%" height="100%”> | |
<param name=“source" value="ClientBin/SilverlightDeploy.zip”/> | |
<param name=“onerror" value="onSilverlightError" /> | |
<param name="background" value="white" /> | |
<a href="http://go.microsoft.com/fwlink/?LinkID=108182” | |
style=“text-decoration: none;”> | |
<img src=“http://go.microsoft.com/fwlink/?LinkId=108181” | |
alt=“Get Microsoft Silverlight” | |
style=“border-style: none”/> | |
</a> | |
</object> |
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
<UserControl x:Class=“SilverlightDeploy.Page” | |
xmlns=“http://schemas.microsoft.com/client/2007” | |
xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml” | |
Width=“400" Height="300”> | |
<Grid x:Name=“LayoutRoot" Background="White”> | |
<Button x:Name=“BtnHelloWorld" Content="Hello World” | |
Width=“100" Height="50" Click="BtnHelloWorld_Click” /> | |
</Grid> | |
</UserControl> |
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
public partial class Page : UserControl | |
{ | |
public Page() | |
{ | |
InitializeComponent(); | |
} | |
private void BtnHelloWorld_Click(object sender, | |
RoutedEventArgs e) | |
{ | |
this.BtnHelloWorld.Content = "You Clicked Me!“; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment