I am working on a WPF application.
In the object Application I create a new object windows :
Code :
toolkit = new Toolkit(this);
toolkit = new Toolkit(this);
Toolkit is defined as public partial class Toolkit : Window
And if i try :
Code :
toolkit.AnyMethod();
toolkit.AnyMethod();
The compilator say to me the method is undefined. I can't understand.
I hope you will help me

VulpesRank #55 · 29.2K reputationPosted Jan 29, 2012, 4:27 AM EST
Guillaume Leclerc3 reputationPosted Jan 29, 2012, 4:32 AM EST
I casted my windows as a normal windows not as a Toolkit. I was stupid sorry.
The problem is solved