private void btnContactList_Click(object sender, EventArgs e) { //this sets up the formcontactlistclass frmContactList newcontactlist = new frmContactList(); //shows the new contact list form newcontactlist.Show(); //closes the current form. this.Close(); }