- 博客(6)
- 收藏
- 关注
原创 asp.net中的web api使用(非mvc程序)
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Http;using System.Web.Mvc;using System.Web.Security;using System.Web.SessionState;namespace W...
2018-07-29 23:33:37 915
原创 递归算法
// 一列数的规则如下: 1、1、2、3、5、8、13、21、34...... 求第30位数是多少, 用递归算法实现 static void Main(string[] args) { Console.WriteLine(f(30)); } static int f(int i) { if(i&l...
2018-07-20 17:00:32 510
原创 冒泡排序
static void Main(string[] args) { int[] i = new int[] { 1, 3, 2, 6, 3, 5, 9 }; for (int n = 0; n < i.Length; n++) { for (int t = 0; t &l...
2018-07-20 17:00:24 513
原创 c#中的List、ArrayList、Hashtable、Dictionary
//List List<string> list = new List<string>() { "lista", "listb", "lista" }; list.Add("listc"); List<st
2018-07-20 17:00:08 597
原创 GridControl常用设置
//清空gridControl的drag a column header here说明gridView1.OptionsView.ShowGroupPanel = false;// gridview 序列宽度设置indicatorwidth =40;//gridControl列的宽度根据数据自动填充1.在填充完数据后加上这段代码GridView1.BestFitColumns();...
2018-07-01 17:08:37 1049
原创 Form桌面程序之DevExpress的常用控件设置
barManager 工具栏控件1.把barManager放在其他控件中点击窗体下面的barManager,属性中的form可以设置显示的位置。2.工具栏按钮图片路径设置点击属性中的Glyph,选择路径。3.显示图片与文字右键单击工具栏中添加的控件,选择Image and textlabelControl 文字标签控件LookUpedit ...
2018-07-01 13:27:00 1547
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人