private void metroButton3_Click(object sender, EventArgs e) { this.Hide(); Niños_Reportes n = new Niños_Reportes(this); n.ShowDialog(); }
public Niños_Reportes2(Niños_Reportes objNiñosReportes, string comando, string tipo) { this.objNiñosReportes = objNiñosReportes; this.comando = comando; this.tipo = tipo; InitializeComponent(); if (tipo == "Completo") { this.comando = "select * " + comando.Substring(136); } }
public void crear(Niños_Reportes objReportes) { Niños_Reportes2 reporte = new Niños_Reportes2(objReportes, _parts[0], _parts[1]); reporte.ShowDialog(); }