Пример #1
0
        public static IEnumerator <object> ShowFullTextSearchTask()
        {
            var dialog = new FindInFilesDialog();

            dialog.Show();
            dialog.BringToFront();
            dialog.Focus();

            Future <ConnectionWrapper> f;

            yield return(Database.OpenReadConnection().Run(out f));

            dialog.SetConnection(f.Result);
        }
Пример #2
0
        public static IEnumerator<object> ShowFullTextSearchTask()
        {
            var dialog = new FindInFilesDialog();
            dialog.Show();

            Future<ConnectionWrapper> f;
            yield return Database.OpenReadConnection().Run(out f);
            dialog.SetConnection(f.Result);
        }