コード例 #1
0
        private void addContactBtn_Click(object sender, EventArgs e)
        {
            ContactActions contactOP = new ContactActions();

            contactOP.Text = "Create";
            contactOP.ShowDialog();
            GetContactsData();
        }
コード例 #2
0
        private void contactsEditBtn_Click(object sender, EventArgs e)
        {
            ContactActions contactOP = new ContactActions();

            contactOP.Text = "Edit";
            contactOP.EditContact(Convert.ToInt32(contactID.Text));
            contactOP.ShowDialog();
            GetContactsData();
        }