private void btCityPreferences_Click(object sender, EventArgs e) { frmNewEntry ne = new frmNewEntry(null, currentUserName); ne.Show(); this.Dispose(); }
private void btNewEntryOnClick(object sender, EventArgs e) { //Object instantiation of the new forcast entry form frmNewEntry ne = new frmNewEntry(this, currentUserName); //When button is clicked hide main menu and show new entry form ne.Show(); this.Hide(); }