public QueryTemplate(QueryDialog queryDialog)
 {
     _queryDialog = queryDialog;
 }
 /// <summary>
 /// Show the query window
 /// </summary>
 /// <param name="queries"></param>
 public void ShowQueryWindow(Queries queries)
 {
     TraceLog.WriteLine(new StackFrame().GetMethod().Name, "I see there are " + queries.Count() + " queries here.");
     var query = new QueryDialog(queries);
     query.ShowDialog();
 }
 public QueryTemplate(QueryDialog queryDialog)
 {
     _queryDialog = queryDialog;
 }