-
大小: 75KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-06-10
- 语言: C#
- 标签:
资源简介
C#编写的通讯录管理系统,C#源代码程序,有添加、删除、修改、首页、上一页、下一页、未页等功能VisualStudio2008创建
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Address
{
public partial class AddMate : Form
{
public Mate FatherMate;
public AddMate(Mate m)
{
InitializeComponent();
this.FatherMate = m;
}
private void btnAdd_Click(object sender EventArgs e)
{
if (this.textBox1.Text == ““)
{
MessageBox.Show(“姓名不能为空!“ “温馨提示“);
return;
}
if (this.textBox3.Text == ““)
{
this.textBox3.Text = “无“;
}
if (this.textBox4.Text == ““)
{
this.textBox4.Text = “无“;
}
if (this.textBox5.Text == ““)
{
this.textBox5.Text = “暂无邮箱“;
}
if (MyMate.AddSingleMate(this.textBox1.Text textBox2.Text textBox3.Text textBox4.Text textBox5.Text))
{
MessageBox.Show(“添加成功!“ “温馨提示!“);
this.FatherMate.bind(this.FatherMate.currentpage this.FatherMate.pagesize);
textBox1.Text = ““;
textBox2.Text = ““;
textBox3.Text = ““;
textBox4.Text = ““;
textBox5.Text = ““;
}
else
{
MessageBox.Show(“添加失败!“);
}
}
private void btnEnd_Click(object sender EventArgs e)
{
this.Close();
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 1770 2009-02-08 16:52 通讯录管理系统\Address\AddMate.cs
I.A.... 8154 2009-02-08 16:52 通讯录管理系统\Address\AddMate.Designer.cs
I.A.... 5814 2009-02-08 16:52 通讯录管理系统\Address\AddMate.resx
I.A.... 4731 2009-02-08 16:59 通讯录管理系统\Address\Address.csproj
I.A.... 168 2009-02-08 16:45 通讯录管理系统\Address\Address.csproj.user
I.A.... 30720 2009-02-08 16:59 通讯录管理系统\Address\bin\Debug\Address.exe
I.A.... 50688 2009-02-08 16:59 通讯录管理系统\Address\bin\Debug\Address.pdb
I.A.... 14328 2009-02-08 16:59 通讯录管理系统\Address\bin\Debug\Address.vshost.exe
I.A.... 490 2007-07-21 01:33 通讯录管理系统\Address\bin\Debug\Address.vshost.exe.manifest
I.A.... 5288 2009-02-08 16:56 通讯录管理系统\Address\bin\Debug\mate.xm
I.A.... 3262 2009-02-08 16:59 通讯录管理系统\Address\BlueMoon.ico
I.A.... 3802 2009-02-08 16:59 通讯录管理系统\Address\Mate.cs
I.A.... 6762 2009-02-08 16:59 通讯录管理系统\Address\Mate.Designer.cs
I.A.... 11213 2009-02-08 16:59 通讯录管理系统\Address\Mate.resx
I.A.... 2656 2009-02-08 16:52 通讯录管理系统\Address\ModifyMate.cs
I.A.... 10090 2009-02-08 16:52 通讯录管理系统\Address\ModifyMate.Designer.cs
I.A.... 6008 2009-02-08 16:52 通讯录管理系统\Address\ModifyMate.resx
I.A.... 8596 2009-02-08 16:28 通讯录管理系统\Address\MyMate.cs
I.A.... 180 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.AddMate.resources
I.A.... 1208 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.csproj.FileListAbsolute.txt
I.A.... 969 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.csproj.GenerateResource.Cache
I.A.... 30720 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.exe
I.A.... 3828 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.Mate.resources
I.A.... 180 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.ModifyMate.resources
I.A.... 50688 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.pdb
I.A.... 180 2009-02-08 16:59 通讯录管理系统\Address\obj\Debug\Address.Properties.Resources.resources
I.A.... 487 2009-02-08 16:23 通讯录管理系统\Address\Program.cs
I.A.... 1389 2009-02-08 16:59 通讯录管理系统\Address\Properties\AssemblyInfo.cs
I.A.... 2864 2009-02-08 16:22 通讯录管理系统\Address\Properties\Resources.Designer.cs
I.A.... 5612 2009-02-08 16:22 通讯录管理系统\Address\Properties\Resources.resx
............此处省略17个文件信息
评论
共有 条评论