摘要:
public struct POINTAPI { public uint x; public uint y; } private enum EnumMousePointPosition { MouseSizeNone = 0, //'无 MouseSizeRight = 1, //'拉伸右边框 MouseSizeLeft = 2, //'拉伸左边框 MouseSizeBottom = 3, //'... 阅读全文
摘要:
一、文件1、读Dim FileName As String Dim fileId As Integer fileId = FreeFile()FileName = StrPath + "\**.txt"Dim FS As New System.IO.FileStream(FileName, IO.FileMode.Open)Dim SR As New System.IO.StreamReader... 阅读全文
摘要:
c#: string strCon = "Provider=Microsoft.Jet.OleDb.4.0;Data Source=" + Application.StartupPath+ @"\**.mdb"; OleDbConnection cn = new OleDbConnection(strCon); string strsql = "Select * From 表名"; OleDbDa... 阅读全文
摘要:
分三步:第一步: private void Grid1_EnterCell(object sender, EventArgs e)//使文本框可见 { if (Grid1.ColSel > 1) { iRow = Grid1.RowSel; txt.Text = Grid1.get_TextMatrix(Grid1.RowSel, Grid1.ColSel); txt.SelectAll()... 阅读全文
摘要:
我的博客开通了。我给它起名字叫智慧树。 随着我的成长,它会逐渐变得枝繁叶茂的。 阅读全文