Update Testproject/Readme
This commit is contained in:
parent
16baef0c45
commit
acd06a6948
@ -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.
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user