10 2015 档案

摘要:TargetName="_blank" 表示新标签空白页打开 阅读全文
posted @ 2015-10-26 19:38 西楼月光 阅读(281) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/1971ruru/archive/2012/12/12/2814853.html.NET C# Tostring() format 格式化字符串大全最近在做第三方支付,用到了ISO8583包,因为有些域需要特定的格式,所以把常用的都搬过来了,以备不时之需... 阅读全文
posted @ 2015-10-26 18:53 西楼月光 阅读(357) 评论(0) 推荐(0)
摘要:1、老办法:关掉VS,重开就能解决2、新方法:点击解决方案,重新生成,就能解决 阅读全文
posted @ 2015-10-26 17:19 西楼月光 阅读(367) 评论(0) 推荐(0)
摘要:1、用VS将系统发布到文件夹中2、在IIS管理器中为文件夹添加网站3、将对应的系统文件夹右键选择转换为应用程序4、发布的网站目录不能有中文 阅读全文
posted @ 2015-10-21 15:26 西楼月光 阅读(344) 评论(0) 推荐(0)
摘要:private void AdminEntry_Click(object sender, RoutedEventArgs e) { HyperlinkButton button = sender as HyperlinkButton; ... 阅读全文
posted @ 2015-10-15 19:31 西楼月光 阅读(165) 评论(0) 推荐(0)
摘要:自定义ListBox类C# code?1234567891011121314151617181920212223242526272829303132 public class myListBox : System.Windows.Controls.ListBox { protec... 阅读全文
posted @ 2015-10-15 08:41 西楼月光 阅读(159) 评论(0) 推荐(0)
摘要:public static readonly DependencyProperty RichTextBoxWidthProperty;RichTextBoxWidthProperty = DependencyProperty.Register("RichTextBoxWidth", typeof(d... 阅读全文
posted @ 2015-10-14 10:15 西楼月光 阅读(2341) 评论(0) 推荐(0)
摘要:private void InitDocument(string _columnname) { YDZSWebServiceSoapClient client = new YDZSWebServiceSoapClient(); ... 阅读全文
posted @ 2015-10-12 14:54 西楼月光 阅读(287) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-10-08 09:03 西楼月光 阅读(509) 评论(0) 推荐(0)
摘要:默认情况下,webservice的请求等待60s就会放弃。如果要设置timeout时间,可以在使用请求前加如下语句:proxy.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(30); 阅读全文
posted @ 2015-10-05 23:32 西楼月光 阅读(1187) 评论(0) 推荐(0)
摘要:Reusing Contro... 阅读全文
posted @ 2015-10-04 23:57 西楼月光 阅读(151) 评论(0) 推荐(0)
摘要:cmd.Style = (Style)this.Resources[ "AlternateBigButtonStyle"];后台设置style,来源于其他资源文件ResourceDictionary resourceDictionary = new ResourceDictionary();reso... 阅读全文
posted @ 2015-10-04 16:00 西楼月光 阅读(233) 评论(0) 推荐(0)
摘要:Basic dropshadow Light blue dropshadow Blurred dropshadow with white text Close dropshadow Distant dropshadow 阅读全文
posted @ 2015-10-02 22:32 西楼月光 阅读(429) 评论(0) 推荐(1)
摘要:DashArray="1 2"代表显示1段,隐藏2段 射线渐变效果 阅读全文
posted @ 2015-10-02 17:11 西楼月光 阅读(267) 评论(0) 推荐(0)
摘要:string uriText = String.Format("/Product.xaml?productID={0}&type={1}", productID, productType);mainFrame.Navigate(new Uri(uriText), UriKind.Relative);... 阅读全文
posted @ 2015-10-01 23:36 西楼月光 阅读(305) 评论(0) 推荐(0)
摘要:private void Button_Click_1(object sender, RoutedEventArgs e) {// of the ASP.NET website.) string uri = Application.Current.Host.Sourc... 阅读全文
posted @ 2015-10-01 16:08 西楼月光 阅读(207) 评论(0) 推荐(0)