private void button1_Click(object sender, EventArgs e)
 {
     repository.AddNewCategory(textBox1.Text);
     MessageBox.Show("Prideta");
     Close();
 }