예제 #1
0
 private void gEstoque_DoubleClick(object sender, EventArgs e)
 {
     if (BS_Estoque.Current != null)
     {
         TFRastrearLancamentos fRastrear = new TFRastrearLancamentos();
         try
         {
             fRastrear.BS_Estoque.Add(BS_Estoque.Current as TRegistro_LanEstoque);
             fRastrear.TRastrear = TP_Rastrear.tm_estoque;
             fRastrear.ShowDialog();
         }
         finally
         {
             fRastrear.Dispose();
         }
     }
 }
예제 #2
0
 private void gBloquetos_DoubleClick(object sender, EventArgs e)
 {
     if (dsBloqueto.Current != null)
     {
         TFRastrearLancamentos fRastrear = new TFRastrearLancamentos();
         try
         {
             fRastrear.dsBloqueto.Add(dsBloqueto.Current as blTitulo);
             fRastrear.TRastrear = TP_Rastrear.tm_bloqueto;
             fRastrear.ShowDialog();
         }
         finally
         {
             fRastrear.Dispose();
         }
     }
 }
예제 #3
0
 private void dataGridcaixa_DoubleClick(object sender, EventArgs e)
 {
     if (bindingSourceCaixa.Current != null)
     {
         TFRastrearLancamentos fRastrear = new TFRastrearLancamentos();
         try
         {
             fRastrear.bindingSourceCaixa.Add(bindingSourceCaixa.Current as TRegistro_LanCaixa);
             fRastrear.TRastrear = TP_Rastrear.tm_caixa;
             fRastrear.ShowDialog();
         }
         finally
         {
             fRastrear.Dispose();
         }
     }
 }