public void OpenQuery()
 {
     Query q = view.SelectProjectQuery(CurrentProject);
     if (q != null)
     {
         IQueryPresenter qp = new QueryPresenter(this,q);
         view.Display(qp.View);
     }
 }
 public void AddNewQuery()
 {
     IQueryPresenter qp = new QueryPresenter(this);
     //qp.NHibernateConfiguration = this.nHibernateConfiguration;
     view.Display(qp.View);
 }