2013年11月12日
摘要: 此类是操作ini文件的,但不限于ini文件,如也可以操作.db文件,只需将文件后缀名改为.db即可,不需要改动代码。 1 using System; 2 using System.IO; 3 using System.Runtime.InteropServices; 4 using System.Text; 5 using System.Collections; 6 using System.Collections.Specialized; 7 using System.Windows.Forms; 8 9 namespace firsttest 10 { 11 /... 阅读全文
posted @ 2013-11-12 19:32 fjfhxotfl 阅读(2222) 评论(0) 推荐(0) 编辑
摘要: 1 public partial class Form1 : Form 2 3 { 4 string[] catigories ={ "months", "days" }; 5 string[] months ={ "jan", "feb", "mars", "apri" }; 6 string[] days = { "sat", "sun", "mon" }; 7 public Form1() 8 { 9 Init 阅读全文
posted @ 2013-11-12 16:00 fjfhxotfl 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 结构体嵌套举例: 1 namespace structstudent 2 { class Program 3 { struct student 4 { public string name; 5 public uint age; 6 public char sex; 7 public struct department 8 { 9 public string DepartmentName;10 p... 阅读全文
posted @ 2013-11-12 11:46 fjfhxotfl 阅读(338) 评论(0) 推荐(0) 编辑