• 大小: 10.37MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-07
  • 语言: C#
  • 标签: C#  winform  通讯录  合集  

资源简介

这是几个实现的比较好的通讯录软件,全部用C#实现,和大家分享。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AddressList
{
    public partial class AddressList : Form
    {
        public AddressList()
        {
            InitializeComponent();
        }

        FrmSelectFriend frmSelectFriend = new FrmSelectFriend();
        //查找按钮,显示查找子窗体
        private void tsmiSelect_Click(object sender EventArgs e)
        {
            if (frmSelectFriend.IsDisposed == true)
            {
                frmSelectFriend = new FrmSelectFriend();
            }
            frmSelectFriend.MdiParent = this;
            frmSelectFriend.Show();
        }

        //关闭窗体
        private void tsmiExit_Click(object sender EventArgs e)
        {
            this.Close();
        }

        //添加信息按钮,显示添加信息子窗体
        FrmAddFriend frmAddFriend = new FrmAddFriend();
        private void tsmiAdd_Click(object sender EventArgs e)
        {
            if (frmAddFriend.IsDisposed == true)
            {
                frmAddFriend = new FrmAddFriend();
            }
            frmAddFriend.MdiParent = this;
            //添加与修改使用同一窗体,用Tag值进行区分,0表示添加窗体,1表示修改窗体
            frmAddFriend.tag = 0;
            frmAddFriend.Show();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-08-04 16:37  通讯录\
     目录           0  2012-08-04 16:37  通讯录\AddressList\
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressList\
     文件        2415  2012-08-02 16:35  通讯录\AddressList\AddressList.sln
     文件        4386  2009-05-19 12:08  通讯录\AddressList\AddressList.sql
     文件       44032  2012-08-03 00:27  通讯录\AddressList\AddressList.suo
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\
     文件        3744  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\AddressListBEL.csproj
     文件         452  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\AddressListBEL.csproj.user
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\bin\
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\bin\Debug\
     文件        5632  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\bin\Debug\AddressListBAL.dll
     文件       17920  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\bin\Debug\AddressListBAL.pdb
     目录           0  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\bin\Release\
     文件        2465  2009-05-23 12:50  通讯录\AddressList\AddressListBAL\Friend.cs
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\obj\
     文件         162  2009-05-20 12:24  通讯录\AddressList\AddressListBAL\obj\AddressListBAL.csproj.FileList.txt
     文件         624  2009-05-19 12:07  通讯录\AddressList\AddressListBAL\obj\AddressListBAL.csproj.FileListAbsolute.txt
     文件         312  2009-05-23 12:50  通讯录\AddressList\AddressListBAL\obj\AddressListBEL.csproj.FileListAbsolute.txt
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\obj\Debug\
     文件        5632  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\obj\Debug\AddressListBAL.dll
     文件       17920  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\obj\Debug\AddressListBAL.pdb
     文件         427  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\obj\Debug\AddressListBEL.csproj.FileListAbsolute.txt
     文件        5032  2012-08-02 16:35  通讯录\AddressList\AddressListBAL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\obj\Debug\Refactor\
     文件       16384  2009-05-23 12:50  通讯录\AddressList\AddressListBAL\obj\Debug\Refactor\AddressListBAL.dll
     目录           0  2009-05-20 12:34  通讯录\AddressList\AddressListBAL\obj\Debug\TempPE\
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBAL\Properties\
     文件        1347  2009-05-17 08:09  通讯录\AddressList\AddressListBAL\Properties\AssemblyInfo.cs
     目录           0  2012-08-04 16:36  通讯录\AddressList\AddressListBLL\
     文件        4187  2012-08-02 16:35  通讯录\AddressList\AddressListBLL\AddressListBLL.csproj
............此处省略393个文件信息

评论

共有 条评论