Exemplo n.º 1
0
        private void btnAddPersonForm_Click(object sender, EventArgs e)
        {
            AddPersonForm addPersonFRM = new AddPersonForm();

            addPersonFRM.ShowDialog(this);
            RefreshMainForm();
        }
Exemplo n.º 2
0
        // ADD NEW PERSON ----------------------------------------------------------------

        private void btnNew_Click(object sender, EventArgs e)
        {
            AddPersonForm addPerson = new AddPersonForm();

            addPerson.ShowDialog();
        }