//------------------------------------------------------------------------- public WordsQueryController( WordsQueryDialog parentForm, BusinessLogic businessLogic) { _parentForm = parentForm; _businessLogic = businessLogic; }
//-------------------------------------------------------------------------- public void WordsQuery() { WordsQueryDialog documentsQuery = new WordsQueryDialog(_businessLogic); DialogResult result = documentsQuery.ShowDialog(); if (result != DialogResult.OK) { return; } }