Beispiel #1
0
 public EditNodeDefineForm(NodeTemplateForm classForm, NodeDefine nodeDefine, Action editCallback)
 {
     m_ClassForm      = classForm;
     m_NodeDefine     = nodeDefine;
     m_Content        = XmlUtility.ObjectToString(m_NodeDefine);
     m_EditNodeDefine = XmlUtility.StringToObject <NodeDefine>(m_Content);
     m_EditCallback   = editCallback;
     InitializeComponent();
 }
Beispiel #2
0
 public AddDefineForm(NodeType nodeType, NodeTemplateForm classForm)
 {
     m_DefaultNodeType  = nodeType;
     m_NodeTemplateForm = classForm;
     InitializeComponent();
 }
Beispiel #3
0
        private void 类视图ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NodeTemplateForm classForm = new NodeTemplateForm();

            classForm.ShowDialog();
        }