private void FindScriptCounts()
        {
            // Set wait pointer
            Cursor.Current            = Cursors.WaitCursor;
            toolStripStatusLabel.Text = Properties.Resources.Counting_Code_Lines;
            Application.DoEvents();
            try
            {
                // Get codelines object
                SiebelScriptLines codeLines = new SiebelScriptLines(_sciptVersion);

                // Apply settings
                ScriptSettings settings = new ScriptSettings
                {
                    CountObjNameFilter  = _scriptCountObjectNameFilter,
                    CountUserNameFIlter = _scriptCountUserNameFilter,
                    Version             = _sciptVersion,
                    IgnoreInactive      = Settings.Default.ScriptIgnoreInactive
                };
                _siebelApp.GetCodeLineCount(codeLines, settings, UpdateStatusBar);
                PopulateCodeLine(codeLines);
            }
            catch (Exception e3)
            {
                ShowError("Siebel Error", "A problem has occurred while counting code lines",
                          e3.ToString());
            }
            finally
            {
                // Set wait pointer
                Cursor.Current            = Cursors.Default;
                toolStripStatusLabel.Text = Properties.Resources.Ready;
                Application.DoEvents();
            }
        }
        /// <summary>
        /// Handle the button click event for the code line calculation
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonCodeLines_Click(object sender, EventArgs e)
        {
            // Set wait pointer
            Cursor.Current            = Cursors.WaitCursor;
            toolStripStatusLabel.Text = "Counting code lines...";
            dataGridViewCodeLines.Rows.Clear();
            Application.DoEvents();
            try
            {
                SiebelScriptLines codeLines = new SiebelScriptLines(comboBoxVer.Text);

                siebelRep.GetCodeLineCount(siebelApp, codeLines);
                populateCodeLine(codeLines);
            }
            catch (Exception e3)
            {
                showError("Siebel Error", "A problem has occurred while counting code lines",
                          e3.ToString());
            }
            finally
            {
                // Set wait pointer
                Cursor.Current            = Cursors.Default;
                toolStripStatusLabel.Text = "Ready";
                Application.DoEvents();
            }
        }