<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace CAC
{
    public static class SideFormManager
    {
        private static dynamic SideForm = null;
        public static void Show(SideForms FormName)
        {
            Close();
            SideForm = Activator.CreateInstance(Type.GetType("CAC." + FormName.ToString()));

            UpdatePosition();
            SideForm.Show();<commit_msg>Added ShowExisting method to SideFormManager<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace CAC
{
    public static class SideFormManager
    {
        private static dynamic SideForm = null;
        public static void Show(SideForms FormName)
        {
            Close();
            SideForm = Activator.CreateInstance(Type.GetType("CAC." + FormName.ToString()));
            UpdatePosition();
            SideForm.Show();

        }
        public static void ShowExisting(dynamic FormToShow)
        {
            Close();
            SideForm = FormToShow;
            UpdatePosition();
            SideForm.Show();
{'fraction_non_alphanumeric': 0.09105431309904154, 'fraction_numerical': 0.0, 'mean_word_length': 2.5098039215686274, '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': '3180819', 'n_tokens_mistral': 316, 'n_tokens_neox': 311, 'n_words': 81}