项目部分

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

namespace WindowsFormsApplication2
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }
        public LoginInfo[] array;
        private void Form1_Load(object sender, EventArgs e)
        {
            array = new LoginInfo[10];
            LoginInfo infol = new LoginInfo();
            infol.name = "王尼玛";
            infol.id = "11";
            infol.Email = "11@qq.com";
            infol.Password = "11";
            array[0] = infol;
           
        }
    }
}

posted on 2017-06-13 17:06  沉沦空白的心  阅读(88)  评论(0编辑  收藏  举报