Ejemplo n.º 1
0
        void setValueHead(FishEntity.AccountsReceivableHead _head)
        {
            dataGridView1.Rows.Clear( );
            int             idx = dataGridView1.Rows.Add( );
            DataGridViewRow row = dataGridView1.Rows [idx];

            row.Cells ["yfId"].Value             = _head.yfId;
            row.Cells ["province"].Value         = _head.province;
            row.Cells ["region"].Value           = _head.region;
            row.Cells ["customer"].Value         = _head.customer;
            row.Cells ["salesman"].Value         = _head.salesman;
            row.Cells ["yearArrears"].Value      = _head.yearArrears;
            row.Cells ["monthReceivable"].Value  = _head.monthReceivable;
            row.Cells ["monthNetreceipts"].Value = _head.monthNetreceipts;
            row.Cells ["yearReceivable"].Value   = _head.YearReceivable;
            row.Cells ["yearNetreceipts"].Value  = _head.yearNetreceipts;
            row.Cells ["qmqk"].Value             = _head.YearReceivable - _head.yearNetreceipts;
            row.Cells ["remark"].Value           = _head.remark;
            row.Cells ["count"].Value            = _head.count;
        }
Ejemplo n.º 2
0
 void headOf( )
 {
     _head = new FishEntity.AccountsReceivableHead( );
     isOk  = _bll.head_one(cmbYfId.Text, FishEntity.Variable.User.username);
 }