Hi,
I am new to developing custom user controls in VB.Net. I am creating a graphical interface that will display CNC files. I have already created a class that reads and analyzes the CNC file and this class is used in my custom control to get the information that is to be drawn in the custom control. The class has many properties available that affect the way in which the CNC data is processed. I set some of these properties at design time within the custom control but what i am looking to do is expose the class properties to the user through the custom control.
For instance:
The class has a boolean property called Class.AlignHoles. How can i set up my control to show this property like CustomControl.AlignHoles. Do i have to replicate the properties within the custom controls or is it a matter of scope?
Any help will be greatly appreciated.
Thanks,
Joel
I am new to developing custom user controls in VB.Net. I am creating a graphical interface that will display CNC files. I have already created a class that reads and analyzes the CNC file and this class is used in my custom control to get the information that is to be drawn in the custom control. The class has many properties available that affect the way in which the CNC data is processed. I set some of these properties at design time within the custom control but what i am looking to do is expose the class properties to the user through the custom control.
For instance:
The class has a boolean property called Class.AlignHoles. How can i set up my control to show this property like CustomControl.AlignHoles. Do i have to replicate the properties within the custom controls or is it a matter of scope?
Any help will be greatly appreciated.
Thanks,
Joel