Example #1
0
        private void ShowSelectQuery()
        {
            BrowserConnect     parameterConnect = new BrowserConnect();
            AddNewProviderForm form             = new AddNewProviderForm(parameterConnect);

            if (form.ShowDialog() == DialogResult.OK)
            {
                String parameters = AddDefaultSelections(form.Parameters, form.Selection);
                Clipboard.SetText(parameters);
                MessageBox.Show("Please paste clipboard text into parameter field!", "Trac Explorer");
            }
        }
Example #2
0
        public string ShowOptionsDialog(IntPtr hParentWnd, string parameters)
        {
            BrowserConnect     parameterConnect = new BrowserConnect();
            AddNewProviderForm form             = new AddNewProviderForm(parameterConnect);

            if (form.ShowDialog() == DialogResult.OK)
            {
                return(AddDefaultSelections(form.Parameters, form.Selection));
            }
            else
            {
                return(parameters);
            }
        }
Example #3
0
        private void ShowSelectQuery()
        {
            BrowserConnect parameterConnect = new BrowserConnect();
            AddNewProviderForm form = new AddNewProviderForm(parameterConnect);

            if (form.ShowDialog() == DialogResult.OK)
            {
                String parameters = AddDefaultSelections(form.Parameters, form.Selection);
                Clipboard.SetText(parameters);
                MessageBox.Show("Please paste clipboard text into parameter field!", "Trac Explorer");
            }
        }
Example #4
0
        public string ShowOptionsDialog(IntPtr hParentWnd, string parameters)
        {
            BrowserConnect parameterConnect = new BrowserConnect();
            AddNewProviderForm form = new AddNewProviderForm(parameterConnect);

            if (form.ShowDialog() == DialogResult.OK)
            {
                return AddDefaultSelections(form.Parameters, form.Selection);
            }
            else
            {
                return parameters;
            }
        }