ATMLCommonLibrary.forms.IdentificationNumberForm.IdentificationNumberForm_FormClosing C# (CSharp) Method

IdentificationNumberForm_FormClosing() private method

private IdentificationNumberForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e FormClosingEventArgs
return void
        private void IdentificationNumberForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if( System.Windows.Forms.DialogResult.OK == this.DialogResult )
            {
                e.Cancel = !ValidateChildren();
            }
        }