/**m* SpringCardApplication/RtdUri.GetContentEx * * SYNOPSIS * public RtdUri GetContentEx() * * DESCRIPTION * Constructs a RtdUri object, using the values of the different fields in the form * and returns this object * **/ public RtdUri GetContentEx() { if (!eValue.Text.Equals("")) { SaveString("Uri.Value", eValue.Text); } RtdUri t = new RtdUri(eValue.Text); return(t); }
/**m* SpringCardApplication/RtdUri.SetContent * * SYNOPSIS * public void SetContent(RtdUri uri) * * DESCRIPTION * Only called by the "public override void SetContent(Ndef ndef)" method, if the ndef is an RtdUri object. * It prints on the form the content of the RtdUri object passed as a parameter. * **/ public void SetContent(RtdUri uri) { ClearContent(); eValue.Text = uri.Value; }