2012年8月21日
摘要: 添加web引用后你调用方法时会发现有些时候会多出来一些你并没有设置的参数,有木有。。。所以我们添加服务引用,但是如果是第一次做某些事都不是顺顺利利的,我添加的时候就发现添加服务引用后方法调用不到网上找到解决办法添加服务引用时点高级 然后将重新使用引用的程序集中的类型复选框前面的钩去掉 阅读全文
posted @ 2012-08-21 14:45 Cheney_Lee 阅读(87) 评论(0) 推荐(0)
摘要: 一、投影文字privatevoid Form1_Paint(object sender, PaintEventArgs e){//投影文字Graphics g =this.CreateGraphics();//设置文本输出质量g.TextRenderingHint = TextRenderingHint.ClearTypeGridFit;g.SmoothingMode = SmoothingMode.AntiAlias;Font newFont =new Font("Times New Roman", 48);Matrix matrix =new Matrix();//投射 阅读全文
posted @ 2012-08-21 14:16 Cheney_Lee 阅读(225) 评论(0) 推荐(0)
摘要: SaveFileDialog kk = new SaveFileDialog(); kk.Title = "保存EXECL文件"; kk.Filter = "EXECL文件(*.xls) |*.xls |所有文件(*.*) |*.*"; kk.FilterIndex = 1; if (kk.ShowDialog() == DialogResult.OK) { string FileName = kk.FileName + ".xls"; if (File.Exists(FileName)) File.Delete(FileName); 阅读全文
posted @ 2012-08-21 14:15 Cheney_Lee 阅读(108) 评论(0) 推荐(0)
摘要: 代码#Code:[DllImport("user32")] private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); //下面是可用的常量,根据不同的动画效果声明自己需要的 private const int AW_HOR_POSITIVE = 0x0001;//自左向右显示窗口,该标志可以在滚动动画和滑动动画中使用。使用AW_CENTER标志时忽略该标志 private const int AW_HOR_NEGATIVE = 0x0002;//自右向左显示窗口,该标志可以 阅读全文
posted @ 2012-08-21 14:14 Cheney_Lee 阅读(86) 评论(0) 推荐(0)
摘要: <bindings><wsHttpBinding><binding name="httpconf"><readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/><reliableSes 阅读全文
posted @ 2012-08-21 14:12 Cheney_Lee 阅读(224) 评论(0) 推荐(0)
摘要: <bindings><wsHttpBinding><binding name="httpconf"><readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/><reliableSes 阅读全文
posted @ 2012-08-21 14:10 Cheney_Lee 阅读(133) 评论(0) 推荐(0)