예제 #1
0
        private void dgImagenes_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            this.Cursor         = Cursors.WaitCursor;
            Principal.IdCliente = dgImagenes.CurrentRow.Cells[0].Value.ToString();

            if (Principal.IdCliente.Length != 0)
            {
                Principal.Action = "1";
                Form rptReportes = new frm_SetData();
                rptReportes.ShowDialog();
            }
            this.Cursor = Cursors.Default;
        }
예제 #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (Principal.TipoProceso == "1")
     {
         this.Cursor         = Cursors.WaitCursor;
         Principal.IdCliente = dgImagenes.CurrentRow.Cells[0].Value.ToString();
         if (Principal.IdCliente.Length != 0)
         {
             Principal.Action = "0";
             Form rptReportes = new frm_SetData();
             rptReportes.ShowDialog();
             MuestraDatos_Detalle();
         }
         this.Cursor = Cursors.Default;
     }
 }
예제 #3
0
 private void dgvBusquedas_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     //
     this.Cursor         = Cursors.WaitCursor;
     Principal.IdCliente = dgvBusquedas.CurrentRow.Cells[4].Value.ToString();
     Principal.Numero    = Convert.ToDouble(dgvBusquedas.CurrentRow.Cells[11].Value.ToString());
     if (Principal.IdCliente.Length != 0)
     {
         Principal.Action = "1";
         Form rptReportes = new frm_SetData();
         rptReportes.ShowDialog();
         if (Principal.Action == "1")
         {  // SOLO PARA EL AREA COMERCIAL
             ListarDatos();
         }
     }
     this.Cursor = Cursors.Default;
 }
 private void dgvBusquedas_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     //
     this.Cursor = Cursors.WaitCursor;
     Principal.IdCliente = dgvBusquedas.CurrentRow.Cells[4].Value.ToString();
     Principal.Numero = Convert.ToDouble(dgvBusquedas.CurrentRow.Cells[11].Value.ToString());
     if (Principal.IdCliente.Length != 0)
     {
         Principal.Action = "1";
         Form rptReportes = new frm_SetData();
         rptReportes.ShowDialog();
         if (Principal.Action == "1")
         {  // SOLO PARA EL AREA COMERCIAL
             ListarDatos();
         }
     }
     this.Cursor = Cursors.Default;
 }
 private void dgImagenes_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     Principal.IdCliente = dgImagenes.CurrentRow.Cells[0].Value.ToString();
     
     if (Principal.IdCliente.Length != 0)
     {
         Principal.Action = "1";
         Form rptReportes = new frm_SetData();
         rptReportes.ShowDialog();
     }
     this.Cursor = Cursors.Default;
 }
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (Principal.TipoProceso == "1")
     {
         this.Cursor = Cursors.WaitCursor;
         Principal.IdCliente = dgImagenes.CurrentRow.Cells[0].Value.ToString();
         if (Principal.IdCliente.Length != 0)
         {
             Principal.Action = "0";
             Form rptReportes = new frm_SetData();
             rptReportes.ShowDialog();
             MuestraDatos_Detalle();
         }
         this.Cursor = Cursors.Default;
     }
 }