Esempio n. 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            var f = new frmBoundaryEdit();

            if (f.ShowDialog(this) == DialogResult.OK)
            {
                ReloadList();
            }
        }
Esempio n. 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (NoneSelected())
            {
                return;
            }

            var f = new frmBoundaryEdit();

            f.LoadData(GetSelectedNode());
            if (f.ShowDialog(this) == DialogResult.OK)
            {
                ReloadList();
            }
        }