I'm looking for a way to do two-way communication between a PB object and a .NET (C#) object. In looking at Brad's .NET version of his GUI controls, I see how to give the .NET object a reference to the PB object. But in that example, it's cast as a PowerObject (basically). That C# code only calls TriggerEvent() on the PB object.
I want to create a custom class in C# called foo1. I want to create a method on foo1 called bar1().
I want to create a custom class in PB called foo2. I want to create a method on foo2 called bar2().
I want to be able to create an instance of foo1 within foo2. I want to be able to call foo1.bar1() from within foo2.
(I'm good up until here.)
I want to be able to reference foo2 from within foo1. I want to be able to call foo2.bar2() from within foo1.