ATMLCommonLibrary.controls.MailingAddressControl.cbMailingState_BindingContextChanged C# (CSharp) 메소드

cbMailingState_BindingContextChanged() 개인적인 메소드

private cbMailingState_BindingContextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void
        private void cbMailingState_BindingContextChanged( object sender, EventArgs e )
        {
            foreach (dbState state in cbMailingState.Items)
            {
                if (state.stateCode.Equals( _mailingAddress.State ) || state.stateName.Equals( _mailingAddress.State ))
                {
                    cbMailingState.SelectedItem = state;
                    break;
                }
            }
        }