private void Form1_Load(object sender, EventArgs e) { Form3 form3 = new Form3(); form3.ShowDialog(); form3.Dispose(); if (!form3.getInto()) { this.Dispose(); } else { //设置email this.email = form3.email; //初始化用户显示 this.Text = "欢迎:" + this.judge.Who(this.email); // MessageBox.Show("登入成功"); } //登入界面进入完成,接下来就是进入模式选择页面 Form5 form5 = new Form5(); form5.ShowDialog(); form5.Dispose(); this.time = form5.time; //设置时间 this.mode = form5.mode; //设置模式 }