Beispiel #1
0
        protected virtual void OnPicked(SecurityPickedEventArgs args)
        {
            var handler = this.SecurityPicked;

            if (handler != null)
            {
                handler(this, args);
            }
        }
Beispiel #2
0
        private void ConsiderPickingSecurity()
        {
            var security = this.SelectedSecurity;

            if (security == null)
            {
                this.OnReset();
            }
            else
            {
                var args = new SecurityPickedEventArgs(security);
                this.OnPicked(args);
            }
            this.SelectedSecurity = null;
        }