public frmFAssinaturaCadEdit(ref mdlTratamentoErro.clsTratamentoErro tratadorErro, string enderecoExecutavel, ref frmFAssinatura formFAssinatura) { // // Required for Windows Form Designer support // InitializeComponent(); m_cls_ter_tratadorErro = tratadorErro; m_strEnderecoExecutavel = enderecoExecutavel; m_formFAssinatura = formFAssinatura; }
public void ShowDialog() { try { m_formFAssinatura = new frmFAssinatura(ref m_cls_ter_tratadorErro, m_strEnderecoExecutavel); InitializeEventsFormAssinatura(); m_formFAssinatura.ShowDialog(); m_formFAssinatura.Dispose(); } catch (Exception err) { Object erro = err; m_cls_ter_tratadorErro.trataErro(ref erro); } }