المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : WPF: how do I write output from methods invoked through an event to a textbox in window1?



C# Programming
03-16-2010, 04:43 AM
An event calls method A in some cases and method B in others.
Both A and B return a string.
The event handler returns void.

How do I write the return value from the right method to a textbox in my main Window?