摘要: 阅读全文
posted @ 2015-11-23 10:38 西楼月光 阅读(585) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/leons77/article/details/8085662读取图片图片的来源一般有3个地方:网络、独立存储和程序包。从网络读取图片[csharp]view plaincopystringuri="http://avatar.csdn.net/2/C/D/... 阅读全文
posted @ 2015-11-09 17:02 西楼月光 阅读(133) 评论(0) 推荐(0) 编辑
摘要: TargetName="_blank" 表示新标签空白页打开 阅读全文
posted @ 2015-10-26 19:38 西楼月光 阅读(269) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/1971ruru/archive/2012/12/12/2814853.html.NET C# Tostring() format 格式化字符串大全最近在做第三方支付,用到了ISO8583包,因为有些域需要特定的格式,所以把常用的都搬过来了,以备不时之需... 阅读全文
posted @ 2015-10-26 18:53 西楼月光 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1、老办法:关掉VS,重开就能解决2、新方法:点击解决方案,重新生成,就能解决 阅读全文
posted @ 2015-10-26 17:19 西楼月光 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1、用VS将系统发布到文件夹中2、在IIS管理器中为文件夹添加网站3、将对应的系统文件夹右键选择转换为应用程序4、发布的网站目录不能有中文 阅读全文
posted @ 2015-10-21 15:26 西楼月光 阅读(301) 评论(0) 推荐(0) 编辑
摘要: private void AdminEntry_Click(object sender, RoutedEventArgs e) { HyperlinkButton button = sender as HyperlinkButton; ... 阅读全文
posted @ 2015-10-15 19:31 西楼月光 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 自定义ListBox类C# code?1234567891011121314151617181920212223242526272829303132 public class myListBox : System.Windows.Controls.ListBox { protec... 阅读全文
posted @ 2015-10-15 08:41 西楼月光 阅读(152) 评论(0) 推荐(0) 编辑
摘要: public static readonly DependencyProperty RichTextBoxWidthProperty;RichTextBoxWidthProperty = DependencyProperty.Register("RichTextBoxWidth", typeof(d... 阅读全文
posted @ 2015-10-14 10:15 西楼月光 阅读(2041) 评论(0) 推荐(0) 编辑
摘要: private void InitDocument(string _columnname) { YDZSWebServiceSoapClient client = new YDZSWebServiceSoapClient(); ... 阅读全文
posted @ 2015-10-12 14:54 西楼月光 阅读(273) 评论(0) 推荐(0) 编辑