R
Ryan Ternier
I'm running a small C# app and I am trying to accomplish the following:
//Presentation Tier
txtMyTextBox.text = MyObject.SomeProperty;
//Business Tier
class MyObject
{
.....
public string SomeProperty
{
....
}
public event System.EventHandler SomeProperty_OnChange;
.....
}
What I want is when anything modifies the SomeProperty property, for the
PresentationTier to be pushed that data.
The class the SomeProperty belongs to runs many loops, and I want the
property text changing each time it hits a new loop to show the new data in
the textbox without the Presentation Tier having to do any of the work.
I did this in VB a long time ago, and totally forget how to do it haha.
Any help would be very appreciated.
//Presentation Tier
txtMyTextBox.text = MyObject.SomeProperty;
//Business Tier
class MyObject
{
.....
public string SomeProperty
{
....
}
public event System.EventHandler SomeProperty_OnChange;
.....
}
What I want is when anything modifies the SomeProperty property, for the
PresentationTier to be pushed that data.
The class the SomeProperty belongs to runs many loops, and I want the
property text changing each time it hits a new loop to show the new data in
the textbox without the Presentation Tier having to do any of the work.
I did this in VB a long time ago, and totally forget how to do it haha.
Any help would be very appreciated.