随笔分类 -  dev

摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2016-12-16 16:56 刀小爱
摘要:private DataTable Source(int rows) { DataTable dt = new DataTable(); dt.Columns.Add("Name", typeof(string)); dt.Columns.Add("Id", typeof(int)); ... 阅读全文
posted @ 2016-12-13 09:52 刀小爱
摘要:using DevExpress.XtraReports.UI; // 必须要实现 XtraReport1 x = new XtraReport1(); x.xrLabel1.Text = "张无忌真帅"; x.ShowDesignerDialog(); public DevExpress.XtraReports.... 阅读全文
posted @ 2016-11-08 11:06 刀小爱
摘要:1. form 设置为 private 始终 只打开一个 2.NavBarControl尝试设置Item的属性LargeImageIndex的值,则发现没有任何变化,这是为什么呢?原来在设置这个属性之前还需要设置此Item所在Group的属性GroupStyle的值为LargeImageText。 3. xtraTabbedMdiManager1.SelectedPage = ... 阅读全文
posted @ 2016-10-30 20:45 刀小爱
该文被密码保护。
posted @ 2016-10-10 16:55 刀小爱 阅读(2) 评论(0) 推荐(0)
摘要:跟 属性 columnautowidth 效果不一样 阅读全文
posted @ 2016-10-10 16:30 刀小爱 阅读(2376) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-10-10 09:31 刀小爱 阅读(2) 评论(0) 推荐(0)
摘要:private void textBox1_TextChanged(object sender, EventArgs e) { if ((sender as TextBox).Text.Length == 0) { DevExpress.Utils.ToolTipLocation tipLocat... 阅读全文
posted @ 2016-10-07 15:32 刀小爱 阅读(356) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2016-10-07 09:50 刀小爱 阅读(161) 评论(0) 推荐(0)
摘要:MsSqlConnectionParameters ms = new MsSqlConnectionParameters(); ms.AuthorizationType = MsSqlAuthorizationType.SqlServer; ms.Password = "**"; ms.UserNam... 阅读全文
posted @ 2016-10-06 16:40 刀小爱 阅读(431) 评论(0) 推荐(0)
摘要:gridView1.Columns[0].AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; gridView1.Columns[0].AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlign... 阅读全文
posted @ 2016-10-02 16:27 刀小爱 阅读(3462) 评论(0) 推荐(0)