Ejemplo n.º 1
0
        private void ToolsCopyToLayer(object sender, EventArgs e)
        {
            LayerSelectForm f = new LayerSelectForm();

            if (f.ShowDialog() == DialogResult.OK)
            {
                Layer chosenlayer = (Layer)f.treeView1.SelectedNode.Tag;
                Editor.Instance.copySelectedItemsToLayer(chosenlayer);
            }
        }
Ejemplo n.º 2
0
 private void ToolsMoveToLayer(object sender, EventArgs e)
 {
     LayerSelectForm f = new LayerSelectForm();
     if (f.ShowDialog() == DialogResult.OK)
     {
         Layer chosenlayer = (Layer)f.treeView1.SelectedNode.Tag;
         Editor.Instance.moveSelectedItemsToLayer(chosenlayer);
     }
 }