摘要: 阅读全文
posted @ 2013-12-03 13:32 iEvent 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 那啥,是从这里整理出来的,感谢Rising_Sun,整理的过于简单,看不明白的戳这里using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.W 阅读全文
posted @ 2013-11-29 16:37 iEvent 阅读(2363) 评论(0) 推荐(0) 编辑
摘要: Http://www.msdn.com (是学习微软技术的首选,有大量的类库帮助文档,同时也有一些高手发表的技术文章,很精练,值得各阶段的人士学习)http://technet.microsoft.com(要是微软的,主要介绍服务器的技术,像exchange,SQL server,Windows server等,同时里面也有非常不错webcasts,很生动的实际动手教程,比看文字容易多了)http://www.asp.net (主要介绍asp.net的相关技术,包括ajax,mvc,有基础的入门模板,里面的Wiki也有很多小的技巧以及链接的博客上发表的文章。)http://www.ibm.co 阅读全文
posted @ 2013-11-29 14:23 iEvent 阅读(309) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2013-11-29 11:26 iEvent 阅读(497) 评论(0) 推荐(0) 编辑
摘要: C#using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media.Animation;using System.Windows.Media.Imaging;using Sys 阅读全文
posted @ 2013-11-28 13:37 iEvent 阅读(905) 评论(0) 推荐(0) 编辑
摘要: //引用类型(使用了class)class SomeRef{public Int32 x;}//值类型(使用了struct)struct SomeVal{public Int32 x;}static void ValueTypeDemo(){ //引用类型在堆上分配空间,值类型在栈上分配,都用new初始化为0 SomeRef r1 = new SomeRef(); SomeRef v1 = new SomeVal(); //引用类型提领指针,值类型直接修改内容 r1.x = 5; v1.y = 5; //都显示5 Console.WriteLin... 阅读全文
posted @ 2013-11-14 09:04 iEvent 阅读(344) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, RoutedEventArgs e) { XmlTextWriter writer = new XmlTextWriter("MyInfo.xml", System.Text.Encoding.UTF8); //使用自动缩进便于阅读 writer.Formatting = Formatting.Indented; //XML声明 writer.WriteStartDocum... 阅读全文
posted @ 2013-10-22 16:27 iEvent 阅读(1673) 评论(0) 推荐(1) 编辑
摘要: WPF用SkewTransform画3D柱状图SkewTransform主要是对控件实现一种2-D扭曲,具体内容可以查看以下链接: http://msdn.microsoft.com/zh-cn/library/system.windows.media.skewtransform.aspx 从图中可以看到,3-D的柱状图呈现给人们的是三个面,所以,我们需要用三个Rectangle经过SkewTransform变换来呈现柱状图的3个面,并且三个面的颜色要相互协调,给 SkewTransform主要是对控件实现一种2-D扭曲,具体内容可以查看以下链接: http://msdn.micros... 阅读全文
posted @ 2013-10-10 10:00 iEvent 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: #region customizeTime if (mediaElement.NaturalDuration.TimeSpan.Seconds < 10) sec = "0" + mediaElement.Position.Seconds.ToString(); else sec = mediaElement.NaturalDuration.TimeSpan.Seconds.ToString(); if (mediaElement... 阅读全文
posted @ 2013-09-29 11:21 iEvent 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-09-29 08:22 iEvent 阅读(260) 评论(0) 推荐(0) 编辑