Esempio n. 1
0
        private void XExecuteQuery_Click(object sender, RoutedEventArgs e)
        {
            var window = new SubWindows.ExecuteQueryWindow(_noDbService);

            window.SetQuery("", NoDbConnectionType.Mssql);
            window.Show();
        }
Esempio n. 2
0
        private void XQueryButton_Click(object sender, RoutedEventArgs e)
        {
            var queryWindow = new ExecuteQueryWindow(_noDbService);

            queryWindow.SetQuery(new TextRange(xQuery.Document.ContentStart, xQuery.Document.ContentEnd).Text, _noDbConnectionType);
            queryWindow.Show();
        }