Interclass communication.
-
When I first starting programming in .NET I was fairly new to object-oriented programming. The first program I ever made for .NET had 2 classes that needed to communicate together. I accomplished this by creating a .dll in VB.NET that used implicit late-binding to call the methods in the other class. After a while I realized I could just pass a reference to the class it needs to communicate and it could call the methods directly.:doh:2
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██
-
When I first starting programming in .NET I was fairly new to object-oriented programming. The first program I ever made for .NET had 2 classes that needed to communicate together. I accomplished this by creating a .dll in VB.NET that used implicit late-binding to call the methods in the other class. After a while I realized I could just pass a reference to the class it needs to communicate and it could call the methods directly.:doh:2
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██
The COM way first and the migrated to managed code? :-D
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
When I first starting programming in .NET I was fairly new to object-oriented programming. The first program I ever made for .NET had 2 classes that needed to communicate together. I accomplished this by creating a .dll in VB.NET that used implicit late-binding to call the methods in the other class. After a while I realized I could just pass a reference to the class it needs to communicate and it could call the methods directly.:doh:2
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██
:) You could have used sockets!
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")
-
:) You could have used sockets!
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")