From 9585a231bded02425aa557928073a2630da9d1f3 Mon Sep 17 00:00:00 2001 From: Florian Dahn Date: Sat, 4 May 2019 18:43:54 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0772b74..7a17739 100644 --- a/README.md +++ b/README.md @@ -222,12 +222,17 @@ On every input the user is sending back to the bot the Action event gets raised. ``` -public class SimpleForm : FormBase +public class SimpleForm : AutoCleanForm { - + public SimpleForm() + { + this.DeleteSide = eSide.Both; + this.DeleteMode = eDeleteMode.OnLeavingForm; + } + public override async Task Opened() { - await this.Device.Send("Hello world!"); + await this.Device.Send("Hello world! (send 'back' to get back to Start)\r\nOr\r\nhi, hello, maybe, bye and ciao"); }