An error occurs when vortex2d. Net creates a node before screenmanager.
Source: Internet
Author: User
When you plan to use vortex2d to display the graphic data stored in the database, you plan to create a node list and add the previously designed graph to the node list based on the graphic data in the database, then, it is displayed when vortex2d is displayed. When I have not created a screenmanager, I first create a Node object, and then initialize vortex2d when the form is displayed, and run the following command to: sender. _ graphscreen = new screenmanager (sender. _ targetcontext, sender. mouse, keyboard);, the system prompts a type error. Once you cancel CodeAnd everything is as usual. Therefore, it is determined that the node and its subclass objects cannot be created before the screenmanager is created.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service