private void editAssociationButton_Click(object sender, EventArgs e)
        {
            ISession session = DatabaseManager.Instance.OpenSession();
            IList<Object> associations = session.QueryOver<Object>("Association").List();
            SelectionForm selection = new SelectionForm(associations);
            selection.ShowDialog();

            // Get selection result
            Association association = (Association)selection.getSelection();

            if (association != null)
            {
                AssociationForm associationForm = new AssociationForm(association.Id);
                associationForm.ShowDialog();
            }
        }
 private void newAssociationButton_Click(object sender, EventArgs e)
 {
     Form association = new AssociationForm();
     association.ShowDialog();
 }