<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using homework_manager.Resources;

namespace homework_manager
{
	public partial class MainPage : PhoneApplicationPage
	{
		private ApplicationBarIconButton _addButton;

		// Constructor
		public MainPage()
		{
			InitializeComponent();

			ApplicationBar = new ApplicationBar();

			_addButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/add.png", UriKind.Relative));
			_addButton.Text = "add task";
			ApplicationBar.Buttons.Add(_addButton);
			//ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem("rate & review");
			//ApplicationBar.MenuItems.Add(appBarMenuItem);

		}
	}
}<commit_msg>Added temporary click handler to _addButton on app bar<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using homework_manager.Resources;

namespace homework_manager
{
	public partial class MainPage : PhoneApplicationPage
	{
		private ApplicationBarIconButton _addButton;

		// Constructor
		public MainPage()
		{
			InitializeComponent();

			ApplicationBar = new ApplicationBar();

			_addButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/add.png", UriKind.Relative));
			_addButton.Text = "add task";
			ApplicationBar.Buttons.Add(_addButton);
			_addButton.Click += _addButton_Click;
			//ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem("rate & review");
			//ApplicationBar.MenuItems.Add(appBarMenuItem);

		}

		int assignmentItemNumberTEMP = 0;
		void _addButton_Click(object sender, EventArgs e)
		{
			(App.Current as App).AssignmentItems.Add(new AssignmentItem("Item " + assignmentItemNumberTEMP));
			assignmentItemNumberTEMP++;
		}
	}
}
{'fraction_non_alphanumeric': 0.0984811366976972, 'fraction_numerical': 0.0004899559039686428, 'mean_word_length': 5.401253918495298, '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': '1079927', 'n_tokens_mistral': 624, 'n_tokens_neox': 570, 'n_words': 128}