Кнопка показать пароль работает неправильно
This commit is contained in:
parent
9458a1c3ea
commit
9436ddca06
@ -123,8 +123,10 @@
|
||||
IsReadOnly="False"
|
||||
TextColor="#6A6A6A" />
|
||||
<Button
|
||||
x:Name="btnPassOpen"
|
||||
Grid.Column="1"
|
||||
BackgroundColor="#f7f7f9"
|
||||
Clicked="btnPassOpen_Clicked"
|
||||
FontSize="16"
|
||||
HeightRequest="40"
|
||||
Text="◉"
|
||||
|
@ -14,6 +14,11 @@
|
||||
await Navigation.PushAsync(new NewPage1());
|
||||
}
|
||||
|
||||
private async void btnPassOpen_Clicked(object sender, EventArgs e)
|
||||
{
|
||||
await Navigation.PushAsync(new NewPage2());
|
||||
}
|
||||
|
||||
//private void OnCounterClicked(object sender, EventArgs e)
|
||||
//{
|
||||
// count++;
|
||||
|
@ -66,6 +66,9 @@
|
||||
<MauiXaml Update="NewPage1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</MauiXaml>
|
||||
<MauiXaml Update="NewPage2.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</MauiXaml>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -11,6 +11,9 @@
|
||||
<MauiXaml Update="NewPage1.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</MauiXaml>
|
||||
<MauiXaml Update="NewPage2.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</MauiXaml>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Update="App.xaml">
|
||||
|
12
NewPage2.xaml
Normal file
12
NewPage2.xaml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="MobailApp.NewPage2"
|
||||
Title="NewPage2">
|
||||
<VerticalStackLayout>
|
||||
<Label
|
||||
Text="Welcome to .NET MAUI!"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center" />
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
9
NewPage2.xaml.cs
Normal file
9
NewPage2.xaml.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace MobailApp;
|
||||
|
||||
public partial class NewPage2 : ContentPage
|
||||
{
|
||||
public NewPage2()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user