private void button1_Click(object sender, EventArgs e) { var m = new Hikes(); m.Show(); this.Hide(); }
private void buttonHike_Click(object sender, EventArgs e) { var m = new Hikes(login, pass); m.Show(); }