Backup/ViewDetailFrom.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

using MyWinFromPIM.file;
using MyWinFromPIM.personInfo;

namespace MyWinFromPIM
{
    public partial class ViewDetailFrom : Form
    {
        public ViewDetailFrom()
        {//下载于www.51aspx.com
            InitializeComponent();
            AddButton(0);
        }

        public ViewDetailFrom(PersonInfo person)
        {
            InitializeComponent();
            AddButton(2);
            this.ViewPerson(person);
            
        }

        public ViewDetailFrom(List<PersonInfo> persons,int selectFrom)
        {
            InitializeComponent();
            AddButton(selectFrom);
            this.persons = persons;
            this.ViewPerson(persons[0]);
            this.lblTotal.Text = "共有" + persons.Count + "条记录匹配";
            this.lblInfo.Text = "\n" + "当前为第1条记录";
           
        }
        //下载于www.51aspx.com
        private void EditerForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }

        private void btnReadNext_Click(object sender, EventArgs e)
        {
            if (persons.Count > 1)
            {
                for (int i = 1; i < persons.Count; i++)
                {
                    ViewNextPerson(persons[i]);
                    this.lblInfo.Text = "\n" + "当前为第" + (i+1) + "条记录";
                }
                
            }
        }
        private void formCloseBtn_Click(object sender, EventArgs e)
        {
            this.Close();
后面还有 46 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。