//进入信息点查询界面 private void pictureBox1_Click_1(object sender, EventArgs e) { this.Hide(); SearchInfo userSearch = new SearchInfo(this.username); userSearch.ShowDialog(); }
//进入信息点查询界面,并跳转至宿舍分类 private void symbolBox1_Click(object sender, EventArgs e) { this.Hide(); SearchInfo userSearch = new SearchInfo(this.username, "学生宿舍"); userSearch.ShowDialog(); }
private void metroTile1_Click(object sender, EventArgs e) { this.Visible = false; SearchInfo searchinfo = new SearchInfo(); searchinfo.ShowDialog(); this.Close(); }
private void lbl_return_Click(object sender, EventArgs e) { //判断用户是否已登录 if (type == 0 && this.username != null)//用户在Library界面点开Login并登录 { this.Hide(); introForm = new IntroForm(this.username); introForm.ShowDialog(); } else if (type == 1)//Library来自主界面 { this.Hide(); introForm = new IntroForm(this.username); introForm.ShowDialog(); } else if (type == 2)//Library来自SearchInfo界面 { this.Hide(); searchInfo = new SearchInfo(this.username, "图书馆"); searchInfo.ShowDialog(); } }