文件名称:密码管理专家个人修改版源码
文件大小:1.57MB
文件格式:RAR
更新时间:2012-10-27 05:18:13
密码管理专家源码
密码管理专家个人修改版源码。。 private void tsmiLoad_Click(object sender, EventArgs e) { this.Hide(); if (ofdKey.ShowDialog() == DialogResult.OK) { if (ofdKey.OpenFile() != null) { dsReadKey.ReadXml(@ofdKey.FileName); foreach (DataRow readKeyRow in dsReadKey.Tables["UserKey"].Rows) { DataRow newRow = dsKey.Tables["UserKey"].NewRow(); newRow["Number"] = readKeyRow["Number"]; newRow["Title"] = readKeyRow["Title"]; newRow["NetAdd"] = readKeyRow["NetAdd"]; newRow["Key"] = readKeyRow["Key"]; newRow["Name"] = readKeyRow["Name"]; newRow["UpdateTime"] = readKeyRow["UpdateTime"]; dsKey.Tables["UserKey"].Rows.Add(newRow); } int number = dsKey.Tables["UserKey"].Rows.Count; for (int i = 0; i < number; i++) { dsKey.Tables["UserKey"].Rows[i]["Number"] = i + 1; } //foreach (DataRow reRow in dsKey.Tables["UserKey"].Rows) //{ // number++; //这里用foreach // reRow["Number"] = number; //} dsKey.WriteXml("UserKey.xml"); } Visible = true; } else { Visible = true; } }
【文件预览】:
LangKeyExpert
----密码管理专家安装项目.CSP(8KB)
----LangKeyExpert.suo(45KB)
----LangKeyExpert()
--------frmAbout.resx(67KB)
--------frmKeyChange.resx(8KB)
--------frmShowCaption.Designer.cs(3KB)
--------LangKeyExpert.csproj(7KB)
--------frmKeyChange.cs(2KB)
--------frmView.Designer.cs(3KB)
--------frmView.cs(800B)
--------bin()
--------frmAbout.Designer.cs(6KB)
--------obj()
--------Properties()
--------Program.cs(474B)
--------frmAbout.cs(529B)
--------frmPersonalEdition.resx(39KB)
--------frmShowCaption.cs(2KB)
--------frmPersonalEdition.Designer.cs(23KB)
--------frmKeyAdd.cs(2KB)
--------frmPersonalEdition.cs(9KB)
--------LangKeyExpert.csproj.user(605B)
--------frmKeyChange.Designer.cs(8KB)
--------images()
--------frmKeyAdd.Designer.cs(8KB)
--------frmView.resx(8KB)
--------frmShowCaption.resx(9KB)
--------frmKeyAdd.resx(9KB)
----Release()
--------密码管理专家.exe(1.16MB)
----LangKeyExpert.sln(928B)