示例#1
0
 private void CargarElementoSeleccionado()
 {
     if (_currentRow != null)
     {
         String Accion = "";
         Accion = (Convert.ToBoolean(_currentRow["Aplicado"]) == false) ? "Edit" : "View";
         frmDocumentoInv ofrmDocumento = new frmDocumentoInv(Convert.ToInt32(_currentRow["IDTransaccion"]), Accion);
         // ofrmDocumento.MdiParent = this;
         ofrmDocumento.WindowState = FormWindowState.Normal;
         //ShowPagesRibbonMan(false);
         ofrmDocumento.Show();
     }
 }