private void btnLogin_Click(object sender, EventArgs e)
 {
     try
     {
         OpenMdiForm.OpenAndCloseNoMdi(new frmLogin(), this);
     }
     catch (CustomException error)
     {
         DialogMessage.MessageFullComButtonOkIconeDeInformacao(error.Message, "Aviso");
     }
     catch (Exception error)
     {
         SaveErroInTxt.RecordInTxt(error, this.GetType().Name);
         DialogMessage.MessageComButtonOkIconeErro(error.Message, "Erro");
     }
 }
Beispiel #2
0
 private void btnLogin_Click(object sender, EventArgs e)
 {
     OpenMdiForm.OpenAndCloseNoMdi(new frmLogin(), this);
 }