摘要:
private void ucPage1_onPageDown(){ if (curPage >= ucPage1.PageCount) { XtraMessageBox.Show("当前已经是最后一页了!", "友情提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { ... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; namespace SafetyPCClient.Function { public class RegisterOperate { /// <summary... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.Forms;using DevExpress.XtraEditors;namespac... 阅读全文
摘要:
public class BaseBLL { /// <summary> /// 把DataTable转换成泛型实体List /// </summary> /// <typeparam name="T">泛型实体</typeparam> /// <param name="dt">DataTable数据</param> ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Runtime.InteropServices;using System.Data.OleDb;using System.IO;using System.Windows.Forms;using Syste... 阅读全文
摘要:
public DataTable GetAccInfoList(string typeId, int beginIndex, int pageSize, out int recordCount){ DataTable dt = null; recordCount = 0; try { StringBuilder sb = new StringBuilde... 阅读全文
摘要:
private void simpleButton1_Click(object sender, EventArgs e){ string dbpath = Application.StartupPath @"\db"; string backuppath=Application.StartupPath @"\backup"; zipdbfile(dbpath, back... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Xml;using System.Collections;using System.IO;using System.Reflection;namespace FrmUpdate{ public class XmlHelper { /// <summary>--检查XML文件是否存在,不存在则先创建-- /// Guo Jin /// </summary> /// <param... 阅读全文
摘要:
radioGroup3.Properties.Items.AddRange( new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem("","合格"), new DevExpress.XtraEditors.Controls.RadioGroupItem("","一般隐患"), new DevExpress.XtraEditors.Controls.RadioG 阅读全文
摘要:
先要在代码的最前面声明一下事件、委托 delegate TreeListNode SetTreeNodeHandler(object data, TreeListNode node);event SetTreeNodeHandler AddTreeNode;在窗体类的构造函数中绑定事件 public UserCheckItem(){ InitializeComponent(); ... 阅读全文
摘要:
private void ChartZhu() { try { string beginTime, endTime, townCode; int count = 0, degree = -1, state = 0; bool isDegree =... 阅读全文