В .net Maui есть ли способ перейти на страницу в середине функции и приостановить эту функцию, пока форма не закроется? ⇐ Android
В .net Maui есть ли способ перейти на страницу в середине функции и приостановить эту функцию, пока форма не закроется?
I am converting a VB.NET(Windows CE) program to a android app using .net Maui. I have come across a line inside a function that I can't seem to find an alternative for on .net Maui.
If frmProd.ShowDialog = Windows.Forms.DialogResult.OK Then Is there a way for me to navigate to a page, pause the function, then once the page has been completed or canceled the function will continue again?
I have tried to show the page before the if statement but the function still continued to move despite passing the code for navigation.
Ideally, what I want it to do is to pause the function until the frmProd(page) has closed and I can get the value that's returned. Is there a way to do this on Maui?
Источник: https://stackoverflow.com/questions/780 ... nction-and
I am converting a VB.NET(Windows CE) program to a android app using .net Maui. I have come across a line inside a function that I can't seem to find an alternative for on .net Maui.
If frmProd.ShowDialog = Windows.Forms.DialogResult.OK Then Is there a way for me to navigate to a page, pause the function, then once the page has been completed or canceled the function will continue again?
I have tried to show the page before the if statement but the function still continued to move despite passing the code for navigation.
Ideally, what I want it to do is to pause the function until the frmProd(page) has closed and I can get the value that's returned. Is there a way to do this on Maui?
Источник: https://stackoverflow.com/questions/780 ... nction-and
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как я могу приостановить свой код, пока окно Toplevel не будет уничтожено?
Anonymous » » в форуме Python - 0 Ответы
- 6 Просмотры
-
Последнее сообщение Anonymous
-