private void backBtn_Click(object sender, EventArgs e) { this.Close(); if (formType == 0) { userHome.Location = new Point(this.Location.X, this.Location.Y); userHome.Show(); } else { itemRetrieve.Location = new Point(this.Location.X, this.Location.Y); itemRetrieve.Show(); } }
private void backBtn_Click(object sender, EventArgs e) { this.Close(); if (member.auth == 0) { userHome.Location = new Point(this.Location.X, this.Location.Y); userHome.Show(); } else { adminHome.Location = new Point(this.Location.X, this.Location.Y); adminHome.Show(); } }