2
This commit is contained in:
parent
f8ca7c1833
commit
d1c7ae5c69
@ -39,7 +39,7 @@
|
|||||||
HeightRequest="20"
|
HeightRequest="20"
|
||||||
Clicked="OnButtonClicked" />
|
Clicked="OnButtonClicked" />
|
||||||
|
|
||||||
<Label Text="{Binding User.DisplayName}" TextColor="White" />
|
<Label Text="{Binding User.DisplayName}" TextColor="White" Padding="0,20,0,0" />
|
||||||
|
|
||||||
<Button Text="Профиль"
|
<Button Text="Профиль"
|
||||||
TextColor="White"
|
TextColor="White"
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
using CommunityToolkit.Maui.Views;
|
using CommunityToolkit.Maui.Views;
|
||||||
|
|
||||||
|
using MyDiplom.ViewModels;
|
||||||
|
|
||||||
namespace MyDiplom;
|
namespace MyDiplom;
|
||||||
|
|
||||||
public partial class UsersPage : ContentPage
|
public partial class UsersPage : ContentPage
|
||||||
{
|
{
|
||||||
public UsersPage()
|
public UsersPage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
this.BindingContext = new UserViewModels();
|
||||||
|
}
|
||||||
private void OnButtonClicked(object sender, EventArgs e)
|
private void OnButtonClicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var buyPopup = new BuyPage();
|
var buyPopup = new BuyPage();
|
||||||
this.ShowPopup(buyPopup);
|
this.ShowPopup(buyPopup);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user