Beispiel #1
0
        public string makeComment(string strColKor, string str1)
        {
            String str2 = str1.PadRight(nMaxColEngLength * 2 + 3) + "<!-- " + strColKor;

            CalculateByteLength calculateByteLength = new CalculateByteLength();
            int nTotal = calculateByteLength.calculate(strColKor);

            String str3 = str2.PadRight(nMaxColEngLength * 2 + 3 + nMaxColKorLength - nTotal) + " -->";
            return str3;
        }
Beispiel #2
0
        public string makeComment(string filedComment, string str1)
        {
            String str2 = (str1).PadRight(nMaxColEngLength) + "<!-- " + filedComment;

            CalculateByteLength calculateByteLength = new CalculateByteLength();
            int nTotal = calculateByteLength.calculate(filedComment);

            String str3 = str2.PadRight(nMaxColEngLength + nMaxColKorLength - nTotal) + " -->";

            return str3;
        }
Beispiel #3
0
        public string makeComment(string strColKor, string str1)
        {
            String str2 = str1.PadRight(nMaxColEngLength * 2 + 3) + "<!-- " + strColKor;

            CalculateByteLength calculateByteLength = new CalculateByteLength();
            int nTotal = calculateByteLength.calculate(strColKor);

            String str3 = str2.PadRight(nMaxColEngLength * 2 + 3 + nMaxColKorLength - nTotal) + " -->";

            return(str3);
        }
Beispiel #4
0
        public string makeComment(string filedComment, string str1)
        {
            String str2 = (str1).PadRight(nMaxColEngLength) + "<!-- " + filedComment;

            CalculateByteLength calculateByteLength = new CalculateByteLength();
            int nTotal = calculateByteLength.calculate(filedComment);

            String str3 = str2.PadRight(nMaxColEngLength + nMaxColKorLength - nTotal) + " -->";

            return(str3);
        }