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?
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?

FroglegRank #1,020 · 1.9K reputationPosted Feb 27, 2011, 11:20 PM EST
ShankeyRank #972 · 2.1K reputationPosted Feb 27, 2011, 10:18 PM EST
ShankeyRank #972 · 2.1K reputationPosted Feb 27, 2011, 10:20 PM EST
Shahid Habib3 reputationPosted Feb 28, 2011, 5:40 AM EST
Thank you Frogleg. You showed me exactly what I wanted.
Suthish NairRank #92 · 22.8K reputationPosted Feb 28, 2011, 8:25 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Feb 28, 2011, 7:43 PM EST