West Wind Web Store .NET 2.0
|
wwBusiness.StatusMessage
|
For example a common use might be to hook this event to displaying messages on a status bar of a Windows Form. Internally your code can call OnStatusMessage() method to fire messages. If an event is hooked up the event is forwarded.
// *** Hook up Event and point at StatusMessage method Invoice = WebStoreFactory.GetbusInvoice(); // *** Hook up Invoice message events so that they go to the status bar Invoice.StatusMessage += new Westwind.BusinessObjects.delStatusMessage(this.StatusMessage); ... // *** StatusMessage Handler in the form public void StatusMessage(string Message) { this.StatusBar.Panels[0].Text = Message; }
Last Updated: 3/7/2007 |
Send topic feedback