摘要: 1 namespace Test 2 { 3 public partial class FrmMain : Form 4 { 5 public FrmMain() 6 { 7 InitializeComponent(); 8 } 9 public DataTable DT; 10 private v 阅读全文
posted @ 2018-03-03 15:22 蓅烺ゞの貓 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 一、适合自带窗体 [DllImport("user32.dll")] //设置控件出现动画 private static extern bool AnimateWindow(IntPtr whnd, int dwtime, int dwflag); //dwflag的取值如下 public cons 阅读全文
posted @ 2018-03-03 15:13 蓅烺ゞの貓 阅读(285) 评论(0) 推荐(0) 编辑
摘要: this.grid1.AllowUserPaste//返回或设置是否允许用户粘贴文字和格式 grid1.Cell(Rows, 1).WrapText = true;//设置单元格自动换行 grid1.Cell(Rows, 1).WrapText = true;//设置单元格自动换行 阅读全文
posted @ 2018-03-03 15:10 蓅烺ゞの貓 阅读(192) 评论(0) 推荐(0) 编辑