コード例 #1
0
        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();
        }
コード例 #2
0
 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();
 }