// Método constructor public ConsultDialog(StatisticsWin super, int mode) { this.super = super; this.mode = mode; InitializeComponent(); initializeData(); }
// Click en el botón "Histórico de pedidos y facturas" private void btnStatistics_Click(object sender, RoutedEventArgs e) { StatisticsWin statistics = new StatisticsWin(); statistics.Show(); }