balance binding
This commit is contained in:
@ -69,6 +69,16 @@ namespace Billing.Views
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Balance_Unfocused(object sender, FocusEventArgs e)
|
||||
{
|
||||
if (sender is OptionEntry entry && decimal.TryParse(entry.Text, out decimal d))
|
||||
{
|
||||
var converter = (MoneyConverter)Resources["moneyConverter"];
|
||||
entry.Text = converter.Convert(d, null, null, null)?.ToString();
|
||||
//Balance = d;
|
||||
}
|
||||
}
|
||||
|
||||
private async void OnCheckAccount()
|
||||
{
|
||||
if (Tap.IsBusy)
|
||||
|
Reference in New Issue
Block a user