Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            var f = new frmContactCT(user);

            if (f.ShowDialog() == DialogResult.OK)
            {
                updateData(user);
            }
        }
Beispiel #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            var contact = bdsContact.Current as Contacts;

            if (contact != null)
            {
                var f = new frmContactCT(user, contact);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    updateData(user);
                }
            }
        }