示例#1
0
 private void btRelLista_Click(object sender, EventArgs e)
 {
     if (relatorio == null)
     {
         relatorio           = new formRelatorio();
         relatorio.TRel      = 4;
         relatorio.MdiParent = this;
         relatorio.Show();
         relatorio.FormClosed += new FormClosedEventHandler(fecharRelVendas);
     }
 }
示例#2
0
 private void fecharRelVendas(object sender, EventArgs e)
 {
     relatorio = null;
 }