vivek

vivek

  • NA
  • 1
  • 0

Component: design time support

Oct 19 2005 11:45 AM
I have created a component (say CustomComponent). Now, while building any application (say MyApp), I import this CustomComponent by dragging it from the toolbox. As soon as CustomComponent is placed in my MyApp, I want to add a statement say:

System.Resources.ResourceManager resource = new System.Resources.ResourceManager();

into the InitializeComponent() method of MyApp. How do I go about it? I have a blurred idea of using Designer class for it. Does anyone have a precise solution for the same?