• 大小: 122KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: C#
  • 标签: c#,  Xml,  通讯录  

资源简介

采用C#设计的一个简易通讯录,Xml存储通讯录信息

资源截图

代码片段和文件信息

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

namespace ContactList
{
    public partial class AddNewContactForm : ContactList.ContactForm
    {
        public AddNewContactForm()
        {
            InitializeComponent();
        }

        private void txtContactName_TextChanged(object sender EventArgs e)
        {

        }

        private void btnSaveContact_Click(object sender EventArgs e)
        {
            if (xmlOperation.SaveContact(this) == 1)
            {
                MessageBox.Show(“保存成功“ “提示?“ MessageBoxButtons.OK);
            }
        }

        private void btnExit_Click(object sender EventArgs e)
        {
            this.Close();
        }

        private void btnUploadPicture_Click(object sender EventArgs e)
        {

        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-11-25 16:42  ContactList\
     目录           0  2012-11-29 14:49  ContactList\ContactList\
     文件        1978  2012-11-29 15:10  ContactList\ContactList\AddNewContactForm.Designer.cs
     文件         963  2012-11-29 15:03  ContactList\ContactList\AddNewContactForm.cs
     文件        5817  2012-11-29 15:03  ContactList\ContactList\AddNewContactForm.resx
     文件        7010  2012-11-29 10:22  ContactList\ContactList\AllContacts.Designer.cs
     文件        7191  2012-11-29 13:51  ContactList\ContactList\AllContacts.cs
     文件        6022  2012-11-29 10:22  ContactList\ContactList\AllContacts.resx
     文件       14916  2012-11-29 15:03  ContactList\ContactList\ContactForm.Designer.cs
     文件         614  2012-11-29 15:03  ContactList\ContactList\ContactForm.cs
     文件        5817  2012-11-29 15:03  ContactList\ContactList\ContactForm.resx
     文件        6552  2012-11-29 15:03  ContactList\ContactList\ContactList.csproj
     文件        1713  2012-11-29 15:13  ContactList\ContactList\EditContactForm.Designer.cs
     文件        2462  2012-11-29 15:13  ContactList\ContactList\EditContactForm.cs
     文件        5817  2012-11-29 15:13  ContactList\ContactList\EditContactForm.resx
     文件        7206  2012-11-28 14:40  ContactList\ContactList\FindingContacts.Designer.cs
     文件        3669  2012-11-29 14:33  ContactList\ContactList\FindingContacts.cs
     文件        5817  2012-11-28 14:40  ContactList\ContactList\FindingContacts.resx
     文件        2022  2012-11-26 15:10  ContactList\ContactList\Help.Designer.cs
     文件         359  2012-11-26 15:10  ContactList\ContactList\Help.cs
     文件        5817  2012-11-26 15:10  ContactList\ContactList\Help.resx
     文件        8232  2012-11-26 15:22  ContactList\ContactList\MainWindow.Designer.cs
     文件        1328  2012-11-26 15:25  ContactList\ContactList\MainWindow.cs
     文件        6015  2012-11-26 15:22  ContactList\ContactList\MainWindow.resx
     文件         508  2012-11-26 15:13  ContactList\ContactList\Program.cs
     目录           0  2012-11-25 16:42  ContactList\ContactList\Properties\
     文件        1434  2012-11-25 16:42  ContactList\ContactList\Properties\AssemblyInfo.cs
     文件        2850  2012-11-25 16:42  ContactList\ContactList\Properties\Resources.Designer.cs
     文件        5612  2012-11-25 16:42  ContactList\ContactList\Properties\Resources.resx
     文件        1096  2012-11-25 16:42  ContactList\ContactList\Properties\Settings.Designer.cs
     文件         249  2012-11-25 16:42  ContactList\ContactList\Properties\Settings.settings
............此处省略38个文件信息

评论

共有 条评论