private void vShowDespachantes(object sender, EventArgs e) { m_formFCadastros.Cursor = System.Windows.Forms.Cursors.WaitCursor; mdlDespachante.clsDespachante cls_Despachante = new mdlDespachante.clsDespachante(ref m_cls_ter_tratadorErro, ref m_cls_dba_ConnectionDB, m_strEnderecoExecutavel, m_nIdExportador); cls_Despachante.ShowDialog(); m_formFCadastros.Cursor = System.Windows.Forms.Cursors.Default; }
private void m_btDespachantePe_Click(object sender, System.EventArgs e) { vCreateDataBase(); mdlDespachante.clsDespachante obj = new mdlDespachante.clsDespachante(ref m_cls_tre_tratadorErro, ref m_cls_dba_ConnectionBD, m_txtPath.Text, Int32.Parse(m_txtIdExportador.Text), m_txtIdCodigo.Text); obj.ShowDialog(); if (obj.m_bModificado) { } }