private void TssfrmRelatorios_Click(object sender, EventArgs e)
 {
     try
     {
         //Setando o mousepointer para ocupado.
         Cursor.Current = Cursors.WaitCursor;
         Form frm = new frmRelatorios(this);
         OpenTela(frm);
         return;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Acesso Negado", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #2
0
 public frmRelatorioPesquisa(frmRelatorios frmRelatorios)
 {
     InitializeComponent();
     this.frmRelatorios = frmRelatorios;
 }