AGS.Editor.CustomResolutionDialog.udWidthHeight_Validating C# (CSharp) 메소드

udWidthHeight_Validating() 개인적인 메소드

private udWidthHeight_Validating ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
리턴 void
        private void udWidthHeight_Validating(object sender, CancelEventArgs e)
        {
            NumericUpDown num = (NumericUpDown)sender;
            num.Value = Math.Max(1, num.Value);
        }