• <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
                '添加文件函數(shù)定義
                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 + " " + "* 函數(shù)功能:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* 函數(shù)說明:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \param  _f1   第一個浮點(diǎn)參數(shù)."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \param  _f2   第二個浮點(diǎn)參數(shù)."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* \return  bool   返回兩個浮點(diǎn)數(shù)是否相等.返回true時表示相等."
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "*"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* 算法描述:"
                    objTextSelection.NewLine()
                    objTextSelection.Text = comment + "* (描述內(nèi)容)"
                    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)  編輯 收藏 引用

            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            国产精品免费久久久久影院| 久久久久久av无码免费看大片| 7777精品伊人久久久大香线蕉| 日本久久久久亚洲中字幕| 91精品国产综合久久久久久| 一级做a爰片久久毛片人呢| 午夜精品久久久久久影视777| 香蕉久久av一区二区三区| 国产美女久久久| 97精品依人久久久大香线蕉97| 97精品国产97久久久久久免费 | 99久久精品九九亚洲精品| 99久久综合国产精品免费| 国产成人久久精品麻豆一区| 久久综合给久久狠狠97色 | 久久电影网2021| 国产亚洲精品自在久久| 久久精品国产亚洲av麻豆图片| 久久国产精品偷99| 久久99国产精品久久99果冻传媒| 中文字幕乱码人妻无码久久| 亚洲日本久久久午夜精品| 日韩十八禁一区二区久久 | 99久久99久久精品免费看蜜桃| 思思久久99热只有频精品66| 久久综合久久性久99毛片| 国产99久久久国产精品~~牛| 7777久久亚洲中文字幕| 国产精品久久久久影院色| 99久久国产热无码精品免费 | 中文字幕热久久久久久久| 久久亚洲日韩看片无码| 日本高清无卡码一区二区久久| 久久精品无码一区二区三区日韩| 国内精品久久久久久麻豆| 久久青草国产精品一区| 国产成人精品综合久久久| 久久精品亚洲男人的天堂| 久久精品桃花综合| 亚洲色大成网站WWW久久九九| 久久久久久国产精品无码超碰|