<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pictures_Renamer_And_Organizer
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void openPictureViewerButton_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "JPEG Images (*.jpg)|*.jpg";
            openFileDialog1.FileName = "";
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                PicturesViewer visualiseur = new PicturesViewer();
                visualiseur.setImage(openFileDialog1.FileName);
                visualiseur.Show();
                
            }

        }

        
        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            
        }

        private void simpleRenameButton_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog folderBrowserDialogSimple = new FolderBrowserDialog();
            if (folderBrowserDialogSimple.ShowDialog() == DialogResult.OK)
            {
                string repertoire = folderBrowserDialogSimple.SelectedPath;
                Organiser.Directory(repertoire);
            }
                <commit_msg>mise en forme<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pictures_Renamer_And_Organizer
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void openPictureViewerButton_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "JPEG Images (*.jpg)|*.jpg";
            openFileDialog1.FileName = "";
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                PicturesViewer visualiseur = new PicturesViewer();
                visualiseur.setImage(openFileDialog1.FileName);
                visualiseur.Show();
                
            }

        }

        
        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            //
        }

        private void simpleRenameButton_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog folderBrowserDialogSimple = new FolderBrowserDialog();
            if (folderBrowserDialogSimple.ShowDialog() == DialogResult.OK)
            {
                string repertoire = folderBrowserDialogSimple.SelectedPath;
                Organiser.Directory(repertoire);
            }
                
{'fraction_non_alphanumeric': 0.07676203768318214, 'fraction_numerical': 0.004884856943475227, 'mean_word_length': 2.0147213459516298, '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': '5218478', 'n_tokens_mistral': 724, 'n_tokens_neox': 707, 'n_words': 144}