protected virtual void OnPicked(SecurityPickedEventArgs args) { var handler = this.SecurityPicked; if (handler != null) { handler(this, args); } }
private void ConsiderPickingSecurity() { var security = this.SelectedSecurity; if (security == null) { this.OnReset(); } else { var args = new SecurityPickedEventArgs(security); this.OnPicked(args); } this.SelectedSecurity = null; }