示例#1
0
        private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmEdit edit = new FrmEdit(CurEditPos);

            if (edit.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                //保存内容
                MotaWorld.GetInstance().MapManager.LoadNode(edit.CurPosation, edit.EditContent);
            }
        }
示例#2
0
 private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FrmEdit edit = new FrmEdit(CurEditPos);
     if (edit.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         //保存内容
         MotaWorld.GetInstance().MapManager.LoadNode(edit.CurPosation, edit.EditContent);
     }
 }