• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆-10  評論-9  文章-0  trackbacks-0

                '添加文件頭定義
                Public Sub AddFileHead()

                    Dim objTextSelection As TextSelection
                    Dim comment As String
                    objTextSelection = CType(DTE.ActiveDocument.Selection, EnvDTE.TextSelection)
                    'objTextSelection.LineUp()
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "http://==================================================================="
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "/** \file"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*  Filename: " + DTE.ActiveDocument.Name
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*  Desc:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*  His:      Ipedo create @ " + Date.Now
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*/"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "http://==================================================================="

                End Sub
                '添加文件函數定義
                Public Sub AddFunctionHead()

                    Dim objTextSelection As TextSelection
                    Dim comment As String
                    objTextSelection = CType(DTE.ActiveDocument.Selection, EnvDTE.TextSelection)
                    'objTextSelection.LineUp()
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "/** \brief"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + " " + "* 函數功能:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* 函數說明:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \param  _f1   第一個浮點參數."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \param  _f2   第二個浮點參數."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \return  bool   返回兩個浮點數是否相等.返回true時表示相等."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* 算法描述:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* (描述內容)"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*/"

                End Sub

                Sub 文件注釋()
                    DTE.ActiveDocument.Selection.Text = "http://==================================================================="
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.Text = "/** \file  "
                    DTE.ActiveDocument.Selection.NewLine()
                    'DTE.ActiveDocument.Selection.Indent()
                    DTE.ActiveDocument.Selection.Text = "* Filename :   " + DTE.ActiveDocument.Name
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.Text = "* Desc     :   "
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.Text = "* His      :   Windy create @" + Date.Now
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.DeleteLeft()
                    DTE.ActiveDocument.Selection.Text = "*/"
                    DTE.ActiveDocument.Selection.NewLine()
                    DTE.ActiveDocument.Selection.Text = "http://==================================================================="
                    DTE.ActiveDocument.Selection.StartOfLine(vsStartOfLineOptions.vsStartOfLineOptionsFirstText)
                End Sub

            posted on 2005-12-02 14:46 Ipedo 閱讀(687) 評論(0)  編輯 收藏 引用
            奇米综合四色77777久久| 丰满少妇人妻久久久久久4| 久久久久亚洲精品日久生情 | 亚洲国产视频久久| 亚洲中文字幕久久精品无码APP| 久久久一本精品99久久精品88| 国产精品免费久久久久影院| 精品久久久无码21p发布| 狠狠久久亚洲欧美专区| 欧美亚洲国产精品久久| 亚洲伊人久久大香线蕉苏妲己| 久久久久亚洲AV成人网人人网站| 一本久久a久久精品亚洲| 91精品国产综合久久四虎久久无码一级 | 亚洲国产日韩欧美久久| 99久久无色码中文字幕| 囯产精品久久久久久久久蜜桃| 日韩亚洲欧美久久久www综合网| 国产香蕉久久精品综合网| 久久精品人人做人人爽电影| 亚洲国产精品高清久久久| 久久婷婷色综合一区二区| 久久性生大片免费观看性| 国产成人无码精品久久久久免费| 国产成人无码精品久久久性色| 久久伊人亚洲AV无码网站| 国产精品99久久久久久董美香| 韩国三级大全久久网站| 色综合久久久久| 26uuu久久五月天| 91精品观看91久久久久久| 久久婷婷国产麻豆91天堂| 久久噜噜电影你懂的| 精品久久久久久亚洲| 国产亚洲婷婷香蕉久久精品| 久久99国产精品久久| 青青青国产成人久久111网站| 久久国产精品成人免费| 99久久综合国产精品二区| 精品一久久香蕉国产线看播放 | 久久精品国产一区二区电影|