Exemplo n.º 1
0
    public void PlaceUp()
    {
        RowSelectionModel sm = this.GridPanel2.SelectionModel.Primary as RowSelectionModel;

        if (sm.SelectedRows.Count == 1)
        {
            RowSelectionModel sm1 = this.GridPanel1.SelectionModel.Primary as RowSelectionModel;


            //DBSCMDataContext db = new DBSCMDataContext();
            var   pp = dc.YPlanplace.First(p => p.Ctid == Decimal.Parse(sm1.SelectedRecordID) && p.Id == decimal.Parse(sm.SelectedRows[0].RecordID));
            HBBLL hb = new HBBLL();
            hb.MoveUp2(pp.Id, pp.Moveorder.Value, pp.Ctid);

            PlanPlaceStoreLoad(Decimal.Parse(sm1.SelectedRecordID));
        }
    }