- adding OpenModal/CloseModal features to leave a form open and "just" show a prompt and get back

- added new "ModalDialog" class to present modal forms
- updating examples for prompt dialog to use the modal feature
This commit is contained in:
FlorianDahn
2019-10-11 22:37:54 +02:00
parent 3bea2783b1
commit 9cbde4830e
5 changed files with 77 additions and 7 deletions
+2 -5
View File
@@ -31,7 +31,7 @@ namespace TelegramBaseTest.Tests
{
await this.Device.Send("Ciao from Form 2");
}
@@ -84,12 +84,9 @@ namespace TelegramBaseTest.Tests
pd.Completed += async (s, en) =>
{
await this.Device.Send("Hello " + pd.Value);
var tf = new TestForm2();
await pd.NavigateTo(tf);
};
await this.NavigateTo(pd);
await this.OpenModal(pd);
}