2025-04-10 15:34:02 +03:00
|
|
|
|
using CommunityToolkit.Maui.Views;
|
|
|
|
|
|
|
|
|
|
using MyDiplom.ViewModels;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-14 09:56:57 +03:00
|
|
|
|
|
|
|
|
|
namespace MyDiplom
|
2025-03-07 11:09:52 +03:00
|
|
|
|
{
|
|
|
|
|
public partial class MainPage : ContentPage
|
|
|
|
|
{
|
|
|
|
|
int count = 0;
|
|
|
|
|
|
|
|
|
|
public MainPage()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2025-03-14 09:56:57 +03:00
|
|
|
|
|
|
|
|
|
this.BindingContext = new UserViewModels();
|
2025-03-07 11:09:52 +03:00
|
|
|
|
}
|
|
|
|
|
|
2025-04-10 15:34:02 +03:00
|
|
|
|
private void OnButtonClicked(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
var buyPopup = new BuyPage();
|
|
|
|
|
this.ShowPopup(buyPopup);
|
|
|
|
|
}
|
2025-03-07 11:09:52 +03:00
|
|
|
|
}
|
|
|
|
|
}
|