2025-02-27 14:43:22 +03:00
|
|
|
|
namespace MobailApp
|
|
|
|
|
{
|
|
|
|
|
public partial class MainPage : ContentPage
|
|
|
|
|
{
|
2025-03-10 10:02:43 +03:00
|
|
|
|
//int count = 0;
|
2025-03-13 15:09:11 +03:00
|
|
|
|
bool Pass = false;
|
2025-03-13 15:34:34 +03:00
|
|
|
|
string Email = "";
|
2025-02-27 14:43:22 +03:00
|
|
|
|
|
|
|
|
|
public MainPage()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 11:37:45 +03:00
|
|
|
|
private async void Button_Clicked(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
await Navigation.PushAsync(new NewPage1());
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-13 14:47:44 +03:00
|
|
|
|
private async void btnPassOpen_Clicked(object sender, EventArgs e)
|
|
|
|
|
{
|
2025-03-13 15:09:11 +03:00
|
|
|
|
if(Pass == false)
|
|
|
|
|
{
|
|
|
|
|
btnPassOpen.Text = "◎";
|
|
|
|
|
etyPass.IsPassword = false;
|
|
|
|
|
Pass = true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
btnPassOpen.Text = "◉";
|
|
|
|
|
etyPass.IsPassword = true;
|
|
|
|
|
Pass = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//await Navigation.PushAsync(new NewPage2());
|
2025-03-13 14:47:44 +03:00
|
|
|
|
}
|
|
|
|
|
|
2025-03-10 10:02:43 +03:00
|
|
|
|
//private void OnCounterClicked(object sender, EventArgs e)
|
|
|
|
|
//{
|
|
|
|
|
// count++;
|
2025-02-27 14:43:22 +03:00
|
|
|
|
|
2025-03-10 10:02:43 +03:00
|
|
|
|
// if (count == 1)
|
|
|
|
|
// CounterBtn.Text = $"Clicked {count} time";
|
|
|
|
|
// else
|
|
|
|
|
// CounterBtn.Text = $"Clicked {count} times";
|
2025-02-27 14:43:22 +03:00
|
|
|
|
|
2025-03-10 10:02:43 +03:00
|
|
|
|
// SemanticScreenReader.Announce(CounterBtn.Text);
|
|
|
|
|
//}
|
2025-03-05 09:15:28 +03:00
|
|
|
|
|
2025-03-10 10:02:43 +03:00
|
|
|
|
//private async void NewPageOpenbtn_Clicked(System.Object sender, System.EventArgs e)
|
|
|
|
|
//{
|
|
|
|
|
// await Navigation.PushAsync(new NewPage1());
|
|
|
|
|
//}
|
2025-02-27 14:43:22 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|