Exemplo n.º 1
0
 private void copyGameMasterNode_Click(object sender, EventArgs e)
 {
     if (mSelectedNode != null)
     {
         CloneDialogCallback callback = new CloneDialogCallback(this, mSelectedNode);
         InputDialog         dialog   = new InputDialog("Clone " + mSelectedNode.Name, "Type name of new node", mSelectedNode.Name, "Clone!");
         dialog.SetCallback(callback);
         dialog.ShowDialog();
     }
 }
 private void copyGameMasterNode_Click(object sender, EventArgs e)
 {
     if (mSelectedNode != null)
     {
         CloneDialogCallback callback = new CloneDialogCallback(this, mSelectedNode);
         InputDialog dialog = new InputDialog("Clone " + mSelectedNode.Name, "Type name of new node", mSelectedNode.Name, "Clone!");
         dialog.SetCallback(callback);
         dialog.ShowDialog();
     }
 }