This commit is contained in:
БП 2025-04-16 08:32:16 +03:00
parent f8ca7c1833
commit d1c7ae5c69
2 changed files with 9 additions and 6 deletions

View File

@ -39,7 +39,7 @@
HeightRequest="20"
Clicked="OnButtonClicked" />
<Label Text="{Binding User.DisplayName}" TextColor="White" />
<Label Text="{Binding User.DisplayName}" TextColor="White" Padding="0,20,0,0" />
<Button Text="Профиль"
TextColor="White"

View File

@ -1,17 +1,20 @@
using CommunityToolkit.Maui.Views;
using MyDiplom.ViewModels;
namespace MyDiplom;
public partial class UsersPage : ContentPage
{
public UsersPage()
{
InitializeComponent();
}
public UsersPage()
{
InitializeComponent();
this.BindingContext = new UserViewModels();
}
private void OnButtonClicked(object sender, EventArgs e)
{
var buyPopup = new BuyPage();
this.ShowPopup(buyPopup);
}
}