Пример #1
0
 public GeneradorReportes(int ir, string nr, Reportes rpt)
 {
     InitializeComponent();
     id_reporte     = ir;
     nombre_reporte = nr;
     reportes       = rpt;
 }
Пример #2
0
 private void barButtonItemReportes_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (Application.OpenForms["Reportes"] != null)
     {
         reportes.BringToFront();
     }
     else
     {
         reportes           = new Ventas.Reportes.Reportes();
         reportes.MdiParent = this;
         reportes.Show();
     }
 }