How do you instantly update an XML document after you add a node to it?

后端 未结 1 1278
一向
一向 2021-01-29 10:31

So I\'m making a calendar program and I need it to update when you add a new entry to it. Right now, I need to click on the xml file to get it to update, then everything else wo

相关标签:
1条回答
  • 2021-01-29 10:54

    Rather than loading your document in the constructor you should create some sub processes, such as

    1. Load the XML from the file into a Document
    2. Create/Update your GUI, given a Document parameter
    0 讨论(0)
提交回复
热议问题