37 lines
804 B
C#
37 lines
804 B
C#
using System;
|
|
using Billing.Languages;
|
|
using Billing.Models;
|
|
using Billing.UI;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Billing.Views
|
|
{
|
|
public partial class AddBillPage : BillingPage
|
|
{
|
|
public Command CheckBill { get; }
|
|
|
|
private readonly Bill bill;
|
|
private readonly DateTime createDate;
|
|
|
|
public AddBillPage(DateTime date)
|
|
{
|
|
createDate = date;
|
|
CheckBill = new Command(OnCheckBill);
|
|
InitializeComponent();
|
|
Title = Resource.AddBill;
|
|
}
|
|
|
|
public AddBillPage(Bill bill)
|
|
{
|
|
this.bill = bill;
|
|
CheckBill = new Command(OnCheckBill);
|
|
InitializeComponent();
|
|
Title = Resource.EditBill;
|
|
}
|
|
|
|
private void OnCheckBill()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |