- 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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user