예제 #1
0
        private void btnAddLocal_Click(object sender, EventArgs e)
        {
            Agregar_Local addLocal = new Agregar_Local();

            addLocal.SetParent(this);
            addLocal.ShowDialog();
        }
예제 #2
0
        private void btnAddLocal_Click(object sender, EventArgs e)
        {
            Agregar_Local addLocal = new Agregar_Local();

            if (addLocal.ShowDialog() == DialogResult.OK)
            {
                //addLocal.SetParent(this);
                addLocal.ShowDialog();
                //updateDataGridView();
            }
            updateDataGridView();
        }