摘要:
1.制作完的效果点播放,不能播放,因为网上说是WP7的模拟器不支持音频与视频,必须放在真机上。2.MainPage.xaml主要部分代码如下: <!--TitlePanel contains the name of the application and page title--> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"> <TextBlock x:Name="ApplicationTitle" 阅读全文
摘要:
1.编写个小程序,就可以理解new和override区别 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Newoverride 7 { 8 class Dad 9 {10 public Dad()11 {12 Console.WriteLine("Dad construtor");13 }14 public virtual... 阅读全文
摘要:
为了理解get和set访问器,需要编写一个小程序来理解。1.只带有get器的属性称为只读属性。无法对只读属性赋值。 只带有set器的属性称为只写属性。只写属性除作为赋值的目标外,无法对其进行引用。 同时带有get和set器的属性为读写属性。 在属性声明中,get和set器都必须在属性体的内部声明。Program.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace fanwenqi 7 { 8 9 public ... 阅读全文