基本信息
源码名称:【精工源码】Mykey信息分类管理软件(库及源码)
源码大小:0.63M
文件格式:.zip
开发语言:C#
更新时间:2020-03-09
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 1 元×
微信扫码支付:1 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
Mykey for winodws是个简洁高效的轻量级个人重要信息分类管理软件及源码。
使用轻量级SQLite数据库,本地化存储,绿色便携。
主要功能有:
--记录的新增、删除、修改、保存
--记录的分组、树状分组过滤查询
--记录的EXCEL导出、记录的打印
--数据列表显示行号、允许多选等
--显示软件运行时长、当前操作状态
--模糊查询、输入时实时快速查询等
//数据编辑状态
private void ChangeState(int intState)
{
switch (intState)
{
case 0:
intStateID = 0;
lblState.Text = "Browsing"; //浏览中
pnlState.BackColor = Color.Gainsboro;
break;
case 1:
intStateID = 1;
lblState.Text = "Adding"; //新增中
pnlState.BackColor = Color.LightGreen;
break;
case 2:
intStateID = 2;
lblState.Text = "Editing"; //编辑中
pnlState.BackColor = Color.Thistle;
break;
case 3:
intStateID = 3;
lblState.Text = "Deleting"; //删除中
pnlState.BackColor = Color.Orange;
break;
}
ChangeTextEdit();
}
// 为Dgv显示行号
private void DgvRowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X,
e.RowBounds.Location.Y,
dgvKeyList.RowHeadersWidth - 4,
e.RowBounds.Height);
TextRenderer.DrawText(e.Graphics, (e.RowIndex 1).ToString(),
dgvKeyList.RowHeadersDefaultCellStyle.Font,
rectangle,
dgvKeyList.RowHeadersDefaultCellStyle.ForeColor,
TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
}
private void ToolBtnAbout_Click(object sender, EventArgs e)
{
MessageBox.Show("Any questions please contact me. \nQQ: 1060897578 \nMail:shoowang@163.com",
"Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
//列表导出Excel
private void ToolBtnExcel_Click(object sender, EventArgs e)
{