예제 #1
0
        public static node_field_info edit_field(node_field_info nfi, NodeGenerator.NodeGenerator ng, node_info this_node)
        {
            subnode_editor se = new subnode_editor(ng, nfi, this_node);

            if (se.ShowDialog() == DialogResult.Cancel)
            {
                snfi.field_name = "";
            }
            return(snfi);
        }
예제 #2
0
        public static node_field_info edit_field(node_field_info nfi, NodeGenerator.NodeGenerator ng, node_info this_node)
        {
            subnode_editor se = new subnode_editor(ng, nfi, this_node);

            se.ShowDialog();

            /*if (se.ShowDialog()==DialogResult.OK)
             * {
             *      return snfi;
             * }*/
            return(snfi);
        }
예제 #3
0
		public static node_field_info edit_field(node_field_info nfi,NodeGenerator.NodeGenerator ng,node_info this_node)
		{
			subnode_editor se=new subnode_editor(ng,nfi,this_node);
			se.ShowDialog();
			/*if (se.ShowDialog()==DialogResult.OK)
			{
				return snfi;
			}*/
			return snfi;
		}
예제 #4
0
		public static node_field_info edit_field(node_field_info nfi,NodeGenerator.NodeGenerator ng,node_info this_node)
		{
			subnode_editor se = new subnode_editor(ng,nfi,this_node);
			if (se.ShowDialog() == DialogResult.Cancel)
			{
                snfi.field_name = "";
			}
			return snfi;
		}