2015年3月5日
摘要: Form窗体的常用属性:1、布局: (1).startposition:窗体显示的起始位置 manual:手动设置,设为这个之后按照location(相对屏幕的位置)的坐标设置显示 centerscreen:屏幕居中 centerparent:父窗体居中 Window... 阅读全文
posted @ 2015-03-05 21:40 冰上逐狐 阅读(139) 评论(0) 推荐(0)
摘要: 1.Length --取字符串长度string x = Console.ReadLine(); int i = x.Length; Console.WriteLine(i);执行结果: 2.Substring(从哪一位开始,截取几位) --截取字符串,从第六位往后截取3位,包括空格在内st... 阅读全文
posted @ 2015-03-05 16:51 冰上逐狐 阅读(90) 评论(0) 推荐(0)