public bool ShowActivateSerialKey() { EnterSerialKey form = new EnterSerialKey(); form.AcceptSerialKey += new EnterSerialKey.StringEventReturnBool(VerificarClave); form.sMessage = "Ingrese el Serial Key de activación."; while ((!Licenses.Instance.Activated) && !(form.bCancelPressed)) { form.Open(); } if (form.bCancelPressed) { return(false); } else { return(true); } }
private bool ShowEnterSerialKey() { EnterSerialKey form = new EnterSerialKey(); form.AcceptSerialKey += new EnterSerialKey.StringEventReturnBool(ValidateSerial); form.sMessage = "Ingrese el Serial Key."; while (!ValidateSerial(Licenses.Instance.Serial) && !(form.bCancelPressed)) { form.Open(); } if (form.bCancelPressed) { return(false); } else { return(true); } }