[C#] noobish problem
Posted: Mon 11 Jun, 2007 6:39 am
I have a little problem, kinda noobish really.
I want a tool window to change the text in a richTextBox of the main window, but the Text attribute of the richTextBox is exactly that, thus it cannot be REF-ed. Now what do I do? If I pass the text as creation parameter to the toolwindow then I can edit it all I want - but then how do I let the main window know that it is to change it's own text into that?
I want a tool window to change the text in a richTextBox of the main window, but the Text attribute of the richTextBox is exactly that, thus it cannot be REF-ed. Now what do I do? If I pass the text as creation parameter to the toolwindow then I can edit it all I want - but then how do I let the main window know that it is to change it's own text into that?