Exemplo n.º 1
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TKeys LadeAssignmentKey = new HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TKeys();
            LadeAssignmentKey.LadeAssignmentID_bint = (Int64?)this.LadeAssignmentGridView.CurrentRow.Cells[colLadeAssignmentID_bint.Name].Value;
            LadeAssignmentCacelRequestEntityForm LadeAssignmentCacelRequest = new LadeAssignmentCacelRequestEntityForm((DataTable)this.LadeAssignmentCacelRequestGridView.DataSource, LadeAssignmentKey);

            LadeAssignmentCacelRequest.ShowDialog();
        }
Exemplo n.º 2
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.LadeAssignmentCacelRequestBLL.BLLLadeAssignmentCacelRequest_TKeys LadeAssignmentCacelRequestKey = new HPS.BLL.LadeAssignmentCacelRequestBLL.BLLLadeAssignmentCacelRequest_TKeys();
            LadeAssignmentCacelRequestKey.LadeAssignmentCancelRequestID_int = (Int32)this.LadeAssignmentCacelRequestGridView.CurrentRow.Cells["colLadeAssignmentCancelRequestID_int"].Value;
            HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TKeys LadeAssignmentKey = new HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TKeys();
            LadeAssignmentKey.LadeAssignmentID_bint = (Int64?)this.LadeAssignmentGridView.CurrentRow.Cells[colLadeAssignmentID_bint.Name].Value;
            LadeAssignmentCacelRequestEntityForm LadeAssignmentCacelRequest = new LadeAssignmentCacelRequestEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.LadeAssignmentCacelRequestGridView.DataSource, LadeAssignmentCacelRequestKey, LadeAssignmentKey);

            LadeAssignmentCacelRequest.ShowDialog();
        }