<commit_before>using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using MySql.Data.MySqlClient;

public class MainView : Form
{
    TabControl tabControl = null;
    TabPage rsvTab = null;
    TabPage pvTab = null;
    RawSqlView rsv = null;
    PreferencesView pv = null;

    public PreferencesView PrefsView { get { return pv; } }
    public RawSqlView RawSqlView { get { return rsv; } }

    public MainView()
    {
        this.SuspendLayout();

        tabControl = new TabControl();
        tabControl.Dock = DockStyle.Fill;
        Controls.Add(tabControl);

        rsvTab = new TabPage("Raw SQL");
        rsv = new RawSqlView();
        rsv.Dock = DockStyle.Fill;
        rsvTab.Controls.Add(rsv);
        tabControl.TabPages.Add(rsvTab);

        pvTab = new TabPage("Preferences");
        pv = new PreferencesView();
        pv.Dock = DockStyle.Fill;
        pvTab.Controls.Add(pv);<commit_msg>MainView: Enable DoubleBuffer, just because<commit_after>using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using MySql.Data.MySqlClient;

public class MainView : Form
{
    TabControl tabControl = null;
    TabPage rsvTab = null;
    TabPage pvTab = null;
    RawSqlView rsv = null;
    PreferencesView pv = null;

    public PreferencesView PrefsView { get { return pv; } }
    public RawSqlView RawSqlView { get { return rsv; } }

    public MainView()
    {
        this.SuspendLayout();

        this.DoubleBuffered = true;

        tabControl = new TabControl();
        tabControl.Dock = DockStyle.Fill;
        Controls.Add(tabControl);

        rsvTab = new TabPage("Raw SQL");
        rsv = new RawSqlView();
        rsv.Dock = DockStyle.Fill;
        rsvTab.Controls.Add(rsv);
        tabControl.TabPages.Add(rsvTab);

        pvTab = new TabPage("Preferences");
        pv = new PreferencesView();
        pv.Dock = DockStyle.Fill;
        pvTab.Controls.Add(pv);
{'fraction_non_alphanumeric': 0.10323574730354391, 'fraction_numerical': 0.0, 'mean_word_length': 2.6343283582089554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6131467', 'n_tokens_mistral': 630, 'n_tokens_neox': 600, 'n_words': 145}