Exemplo n.º 1
0
 public clsPDF(ref mdlTratamentoErro.clsTratamentoErro cls_ter_tratadorErro, ref mdlDataBaseAccess.clsDataBaseAccess cls_dba_ConnectionDB, string strEnderecoExecutavel, int nIdExportador, string strIdPE)
 {
     m_cls_ter_tratadorErro  = cls_ter_tratadorErro;
     m_cls_dba_ConnectionDB  = cls_dba_ConnectionDB;
     m_strEnderecoExecutavel = strEnderecoExecutavel;
     m_nIdExportador         = nIdExportador;
     m_strIdPE = strIdPE;
     m_cls_Pe  = new clsPEInfo(ref m_cls_ter_tratadorErro, ref m_cls_dba_ConnectionDB, m_strEnderecoExecutavel, m_nIdExportador, m_strIdPE);
 }
Exemplo n.º 2
0
 private void Button1_Click(object sender, System.EventArgs e)
 {
     System.Windows.Forms.Form referencia = (System.Windows.Forms.Form) this;
     mdlPEInfo.clsPEInfo       teste      = new mdlPEInfo.clsPEInfo(ref m_cls_tre_tratadorErro, ref m_cls_dba_ConnectionBD, m_strEnderecoExecutavel, ref referencia, Int32.Parse(this.txtIdExportador.Text), txtIdCotacao.Text);
     teste.Show();
 }