<commit_before>using System;
using Gtk;
using System.Windows.Forms;
using Interpreter;

public partial class MainWindow: Gtk.Window
{	
	static Gtk.Image img = new Gtk.Image();
	public void SetImageSrc(string src) {
		//this.image1.Pixbuf = "";
		img.Pixbuf = new Gdk.Pixbuf (src);
	}

	public MainWindow (): base (Gtk.WindowType.Toplevel)
	{
		Build ();
		img = image3;
	}

	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Gtk.Application.Quit ();
		a.RetVal = true;
	}

	protected void OpenFile (object sender, EventArgs e)
	{
		OpenFileDialog ofd = new OpenFileDialog ();
		ofd.Filter = "BizMachine|*.biz";
		DialogResult result = ofd.ShowDialog();
		if (result == DialogResult.OK) {
			Interpreter.Interpreter.ExecuteProgram (ofd.FileName);
		}
	}
}<commit_msg>Added label in main window<commit_after>using System;
using Gtk;
using System.Windows.Forms;
using Interpreter;

public partial class MainWindow: Gtk.Window
{	
	static Gtk.Image img = new Gtk.Image();
	static Gtk.Label registerLabel = new Gtk.Label ();

	public void SetImageSrc(string src) {
		//this.image1.Pixbuf = "";
		img.Pixbuf = new Gdk.Pixbuf (src);
	}

	public void UpdateRegisterOutput(string output) {
		registerLabel.Text = output;
	}

	public MainWindow (): base (Gtk.WindowType.Toplevel)
	{
		Build ();
		img = image4;
		registerLabel = label1;
	}

	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Gtk.Application.Quit ();
		a.RetVal = true;
	}

	protected void OpenFile (object sender, EventArgs e)
	{
		OpenFileDialog ofd = new OpenFileDialog ();
		ofd.Filter = "BizMachine|*.biz";
		DialogResult result = ofd.ShowDialog();
		if (result == DialogResult.OK) {
			Interpreter.Interpreter.ExecuteProgram (ofd.FileName);
		}
	}
}
{'fraction_non_alphanumeric': 0.12185354691075514, 'fraction_numerical': 0.002860411899313501, 'mean_word_length': 4.054913294797688, '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': '2480734', 'n_tokens_mistral': 639, 'n_tokens_neox': 599, 'n_words': 147}