コード例 #1
0
        private void pb_edit_Click(object sender, EventArgs e)
        {
            EditContact editContact = new EditContact(this.Tag.ToString());

            editContact.FormClosing += new FormClosingEventHandler(this.EditContact_FormClosing);
            //editContact.FormClosing += new FormClosingEventHandler(this.form);
            editContact.ShowDialog();
        }