public SpendBillEdit(BillSpend c) { InitializeComponent(); this.objBillSpend = c; // date.Format = DateTimePickerFormat.Custom; // this.date.CustomFormat = "MM-dd-yyyy"; if (this.objBillSpend != null) { this.id.Text = c.Id; this.reason.Text = c.Expenses; this.receiver.Text = c.Receiver; this.note.Text = c.Note; this.reason.Text = c.Expenses; this.date.Value = c.Dateestablish; } }
public bool updateBillSpend(BillSpend c) { return billSpendDAT.updateBillSpend(c); }
public bool addBillSpend(BillSpend c) { return billSpendDAT.addBillSpend(c); }