MyDiplom/UsersPage.xaml.cs

20 lines
397 B
C#
Raw Normal View History

2025-04-14 12:49:39 +03:00
using CommunityToolkit.Maui.Views;
2025-04-16 08:32:16 +03:00
using MyDiplom.ViewModels;
2025-04-14 12:49:39 +03:00
namespace MyDiplom;
public partial class UsersPage : ContentPage
{
2025-04-16 08:32:16 +03:00
public UsersPage()
{
InitializeComponent();
this.BindingContext = new UserViewModels();
}
2025-04-14 12:49:39 +03:00
private void OnButtonClicked(object sender, EventArgs e)
{
var buyPopup = new BuyPage();
this.ShowPopup(buyPopup);
}
2025-04-16 08:32:16 +03:00
2025-04-14 12:49:39 +03:00
}