摘要:
class CtrEnabled { [System.Runtime.InteropServices.DllImport("user32.dll ")] static extern int SetWindowLong(IntPtr hWnd, int nIndex, int wndproc); [S 阅读全文
摘要:
借鉴了冰封一夏的控件重绘与Albin的DevExpress GridControl 单元格添加进度条(ProgressBar)完成,特别感谢 private void gridView1_CustomDrawCell(object sender, DevExpress.XtraGrid.Views. 阅读全文
摘要:
private void Draw(Rectangle rectangle, Graphics g, int _radius, bool cusp, Color begin_color, Color end_color) { int span = 2; //抗锯齿 g.SmoothingMode = 阅读全文
摘要:
Rectangle rec = new Rectangle(e.Bounds.X + 327, e.Bounds.Y, this.Width/3, this.Height); if (ProgressBarRenderer.IsSupported) { ProgressBarRenderer.Dra 阅读全文
摘要:
//本机config操作 Configuration configs = System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); configs.AppSettings. 阅读全文