Xaf tip 12--How to pass parameters between controllers
After working with MVC pattern exposed by Xaf I have realized that the best way to to pass parameters between controllers is by using events like public class PricePricetypeController : ViewController { public event EventHandler < AdjustingPriceTypeEventArgs > AdjustingPriceType; public void OnAdjustingPriceType( AdjustingPriceTypeEventArgs e) { EventHandler < AdjustingPriceTypeEventArgs > handler = AdjustingPriceType; if (handler != null ) handler( this , e); } protected override void OnFrameAssigned() {
Διαβάστε περισσότερα »