How can I change component access modifier through code?



Hi

The subject title says it all.

I have created a designer that can read an XML file and add components to a
container based on the contents of the XML document. This all works fine.
The only thing that is missing is that all the newly added components are
private, but I need them to be protected. How can I accomplish this?

Best regards,
Sigurbjörn


.



Relevant Pages

  • Re: XML Dataset
    ... -without doing it manually - created the dataset with the designer and then instantiated it during the code. ... Dim ds as Dataset ... Then during the 'run' of the application I check to see if the xml file exists. ... Dim xDataFromDataset As Xml.XmlDataDocument ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Import XML file into dataset
    ... your example shows me the XML file in a dataset like the designer does. ... but I don't have a relation to the related datarow in the ... Best regards ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Import XML file into dataset
    ... your example shows me the XML file in a dataset like the designer does. ... but I don't have a relation to the related datarow in the ... Best regards ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Dynamic UI - Win Forms
    ... ASP .NEt application I can write xslt for a control matching the control ... I am trying to get a typed dataset from an xsd. ... > deserialize the winform controls from Xml file. ... > implemented the function of deserialize the designer from Xml files. ...
    (microsoft.public.dotnet.xml)
  • Re: C# 2005 Beta, Crystal Repots 9, & Dynamically Setting Images at Runtime
    ... Other versions of the stand-alone designer don't allow ... We don't even allow it to see a sample XML file for our ... we show it the XSD and that's it. ... So, if you were to design a report based on an ODBC data source, I can ...
    (microsoft.public.dotnet.languages.csharp)

Loading