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

مشاهدة النسخة كاملة : Reading loaded form data



C# Programming
02-28-2011, 05:14 PM
Is it possible to read data from controls of already loaded form in winforms?
Suppose I have a simple mdi application. I open Form1 from menu. On form1 I fill textboxes with clientID and productID. I keep Form1 open. Now I open Form2 from menu. Can I read clientID and productID of Form1 in load event of Form2?