Ejemplo n.º 1
0
        //========================================================================================
        // Reset()
        //========================================================================================

        public override void Reset()
        {
            loginTimeoutBox.Value = UserOptions.GetInt("connections/loginTimeout");
            queryTimeoutBox.Value = UserOptions.GetInt("connections/queryTimeout");

            parseModeBox.SelectedIndex = (int)Enum.Parse(
                typeof(Database.ParseMode),
                UserOptions.GetString("connections/parseMode"),
                false);

            planTableBox.Text     = UserOptions.GetString("connections/planTable");
            utilProcedureBox.Text = UserOptions.GetString("connections/utilProcedure");
        }
Ejemplo n.º 2
0
        //========================================================================================
        // Reset()
        //========================================================================================

        public override void Reset()
        {
            queryDirBox.Text    = UserOptions.GetString("general/queryPath");
            resultsDirBox.Text  = UserOptions.GetString("general/resultPath");
            templateDirBox.Text = UserOptions.GetString("general/templatePath");

            queryExtBox.Text    = UserOptions.GetString("general/queryExtension");
            reportExtBox.Text   = UserOptions.GetString("general/reportExtension");
            resultsExtBox.Text  = UserOptions.GetString("general/resultExtension");
            templateExtBox.Text = UserOptions.GetString("general/templateExtension");

            maxMruBox.Value = UserOptions.GetInt("general/maxMru");

            saveModifiedCheck.Checked = UserOptions.GetBoolean("general/saveModified");
            savePositionCheck.Checked = UserOptions.GetBoolean("general/savePosition");
            defaultAppCheck.Checked   = UserOptions.GetBoolean("general/defaultApp");
        }
Ejemplo n.º 3
0
        //========================================================================================
        // Reset()
        //========================================================================================

        public override void Reset()
        {
            targetBox.SelectedIndex = (int)Enum.Parse(
                typeof(Database.ResultTarget),
                UserOptions.GetString("results/general/target"),
                false);

            formatBox.SelectedIndex = (int)Enum.Parse(
                typeof(Database.ResultFormat),
                UserOptions.GetString("results/general/format"),
                false);

            delimeterBox.Text          = UserOptions.GetString("results/general/delimeter");
            maxCharBox.Value           = UserOptions.GetInt("results/general/maxChar");
            printHeadersCheck.Checked  = UserOptions.GetBoolean("results/general/printHeader");
            scrollResultsCheck.Checked = UserOptions.GetBoolean("results/general/scrollResults");
            rightAlignCheck.Checked    = UserOptions.GetBoolean("results/general/rightAlign");
            outputQueryCheck.Checked   = UserOptions.GetBoolean("results/general/outputQuery");
            dbmsOutputCheck.Checked    = UserOptions.GetBoolean("results/general/dbmsOutput");
            cleanNewlinesCheck.Checked = UserOptions.GetBoolean("results/general/cleanNewlines");
        }