private void finalizeButton_Click(object sender, EventArgs e) { //fire the event; all OrderRows s/b listening FinalizedEventArgs args = new FinalizedEventArgs(); OnFinalized(args); }
protected virtual void OnFinalized(FinalizedEventArgs e) { EventHandler <FinalizedEventArgs> handler = Finalized; if (handler != null) { handler(this, e); } }
protected virtual void OnFinalized(FinalizedEventArgs e) { EventHandler<FinalizedEventArgs> handler = Finalized; if (handler != null) { handler(this, e); } }