• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
一蓑烟雨
C/C++,Linux,语音技术
博客园    首页    新随笔    联系   管理    订阅  订阅
2011年11月18日
利用MediaElement控件制作一个简单的播放器
摘要: 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" 阅读全文
posted @ 2011-11-18 15:18 lovemu 阅读(1107) 评论(3) 推荐(0)
new和override区别
摘要: 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... 阅读全文
posted @ 2011-11-18 10:47 lovemu 阅读(1220) 评论(0) 推荐(1)
get和set访问器
摘要: 为了理解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 ... 阅读全文
posted @ 2011-11-18 08:58 lovemu 阅读(1809) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3