private void Edititem_editdata(customer account)
        {
            var viwer = new  Customer.Viwer();

            viwer.id      = account.id;
            viwer.name    = account.name;
            viwer.address = account.address;
        }
Exemple #2
0
        private void add(Model.customer account)
        {
            var viwer = new Customer.Viwer();

            viwer.id      = account.id;
            viwer.name    = account.name;
            viwer.address = account.address;
            //viwer.panno = account.panno;
            viwer.phone = account.phone;
            //viwer.due = account.currentdue.Value;
            //viwer.advance = account.currentadvance.Value;
            viwer.Dock = DockStyle.Top;
            flowLayoutPanel1.Controls.Add(viwer);
        }