예제 #1
0
        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;

            }
        }
예제 #2
0
 public bool updateBillSpend(BillSpend c)
 {
     return billSpendDAT.updateBillSpend(c);
 }
예제 #3
0
 public bool addBillSpend(BillSpend c)
 {
     return billSpendDAT.addBillSpend(c);
 }