Example #1
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            frmMJMapAdd frm = new frmMJMapAdd(this.Text, CurrentTool, tabControl1.SelectedTab.Tag.ToString());

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
Example #2
0
        protected override void ExecItemAdd()
        {
            base.ExecItemAdd();
            frmMJMapAdd frm = new frmMJMapAdd(this.Text, CurrentTool, "");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }