Beispiel #1
0
        private void BtnTestCommand_Connection_Click(object sender, EventArgs e)
        {
            var connectionNode    = tvQpInstructions.SelectedNode;
            var connectionContext = connectionNode.Tag as ConnectionContext;

            if (connectionContext == null)
            {
                return;
            }

            var form = new Forms.CommandTestForm(connectionContext);

            form.Show();
        }
Beispiel #2
0
        private void BtnTestCommand_Command_Click(object sender, EventArgs e)
        {
            var commandNode   = tvQpInstructions.SelectedNode;
            var qpCommandInfo = commandNode.Tag as QpCommandInfo;

            if (qpCommandInfo == null)
            {
                return;
            }

            ConnectionContext connectionContext = findConnectionContext(commandNode);
            var form = new Forms.CommandTestForm(connectionContext, qpCommandInfo);

            form.Show();
        }