Update Testproject/Readme

This commit is contained in:
FlorianDahn 2019-03-20 17:50:11 +07:00
parent 16baef0c45
commit acd06a6948
2 changed files with 7 additions and 10 deletions

View File

@ -594,7 +594,7 @@ There are some default types of forms to make the interaction with users easier.
For now we have the following:
- [AlertDialog](#alert-dialog)
Just a simple dialog with one ok Button.
Just a simple dialog with one Button.
- [AutoCleanForm](#autocleanform)
A form which needs to be derived from. It will be delete all in the context sent messages to the user after every new message or on leaving the formular and navigates somewhere else.

View File

@ -73,9 +73,6 @@ namespace TelegramBaseTest.Tests
{
PromptDialog pd = new PromptDialog("Please confirm", new ButtonBase("Ok", "ok"), new ButtonBase("Cancel", "cancel"));
pd.ButtonForms.Add("ok", null);
pd.ButtonForms.Add("cancel", null);
pd.ButtonClicked += async (s, en) =>
{
var tf = new TestForm2();