private void btn_setPanel_logs_Click(object sender, RoutedEventArgs e) { var logPanel = new ModUI_Logs(); setPanel(logPanel); }