예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            ChildEdirForm newForm = new ChildEdirForm();

            newForm.ShowDialog();
            RefreshChildList();
        }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            int chilID = (int)childListDataGridView.SelectedRows[0].Cells[0].Value;

            ChildEdirForm newForm = new ChildEdirForm();

            foreach (ChildInfo child in _childList)
            {
                child.GetChild(chilID);
                newForm._newChild = child;
            }
            newForm.ShowDialog();
            RefreshChildList();
        }