摘要: three.js webgl - OBJLoader + MTLLoader 阅读全文
posted @ 2019-05-29 16:35 Connaught_yu 阅读(2797) 评论(1) 推荐(1) 编辑
摘要: 因为工作需要调用WebService接口,查了下资料,发现添加服务引用可以直接调用websevice 参考地址:https://www.cnblogs.com/peterpc/p/4628441.html 如果不添加服务引用又怎么做呢?于是又去查看怎么根据http协议调用webservice并做了个 阅读全文
posted @ 2019-02-27 15:42 Connaught_yu 阅读(10838) 评论(0) 推荐(0) 编辑
摘要: 1 "; 19 20 //计算上个月 21 if($month==1) 22 { 23 $prevyear=$year-1; 24 $prevmonth=12; 25 } 26 else 27 { 28 $prevyear=$year; 29 $prevmonth=$month-1; 30 } 31 32 //计算下个月 33 if($month==12)... 阅读全文
posted @ 2018-08-10 15:49 Connaught_yu 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/gguozhenqian/p/4288451.html 需要添加引用System.Windows.Forms 1 public class AutoSizeFormClass 2 { 3 //(1).声明结构,只记录窗体和其控件的初始位置和大小。 阅读全文
posted @ 2018-08-09 17:54 Connaught_yu 阅读(997) 评论(6) 推荐(2) 编辑
摘要: 方法一: public static int Sum(int m) { int sum = 0; bool bol = true; for (int i=1;i<=m;i++) { if (bol == true) { sum += i; } else { sum -= i; } bol = !bo 阅读全文
posted @ 2018-08-09 15:02 Connaught_yu 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: //冒泡排序 public static int[] Bubbling(int[] s) { int a; for (int i = 0; i < s.Length-1; i++) { for (int j =i+ 1; j < s.Length; j++) { if (s[i] >s[j]) { 阅读全文
posted @ 2018-08-09 14:44 Connaught_yu 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 方法一: public static string Reverse(string name) { if (String.IsNullOrEmpty(name)) { throw new Exception("字符串不能为空!"); } StringBuilder sb = new StringBui 阅读全文
posted @ 2018-08-09 12:14 Connaught_yu 阅读(575) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-03-26 16:05 Connaught_yu 阅读(5) 评论(0) 推荐(0) 编辑