Handles requests from the UI and forwards them to the remote service. Messages recieved from the service routed through this controller to update the UI.
示例#1
0
 public StockForm()
 {
     InitializeComponent();
     stockController           = ContextRegistry.GetContext()["StockController"] as StockController;
     stockController.StockForm = this;
 }
 public StockForm()
 {
     InitializeComponent();
     stockController = ContextRegistry.GetContext()["StockController"] as StockController;
     stockController.StockForm = this;
 }