示例#1
0
        public void Abort()
        {
            _result = new LicenseDialogResult
            {
                Key  = null,
                Type = LicenseDialogResultType.Aborted
            };

            base.OnDisplayed();
        }
示例#2
0
        public void Confirm()
        {
            string key = KeyInputField.text;

            key = key.ToUpper().Trim();

            if (string.IsNullOrEmpty(key))
            {
                return;
            }

            _result = new LicenseDialogResult
            {
                Key  = key,
                Type = LicenseDialogResultType.Confirmed
            };

            base.OnDisplayed();
        }