这篇文章讲述了如何利用数据绑定的优秀特性,用一种快速而强大的方法,来定义用户界面的数据读取和数据写入。
This article describes how to take advantage of the data binding feature to provide a quick and powerful way for you to specify how the user interface reads and writes its data.
程序的文本和数据段现在需要写入到mem文件中,这可以使用write系统调用,或者通过将该文件映射到该进程的地址空间中实现。
The program text and data segments now need to get written into the mem file, either using the write system call, or by mapping the file into the process address space.
利用这些业务逻辑,我们可以在可视类和数据源之间进行数据的读取或写入。
The next step is to write some business logic that will read/write data between our visual class and some data source, which in this case is an XML file.
应用推荐