Case "MARGINX" : StyleList(CurIdx).MarginX = Line.Substring(Seppos + 1).ToUpper Case "MARGINY" : StyleList(CurIdx).MarginY = Line.Substring(Seppos + 1).ToUpper Case "PICSTYLE" : StyleList(CurIdx).picstyle = Line.Substring(Seppos + 1).ToUpper Case "PRINTFONTOFFSET" : StyleList(CurIdx).PrintFontOffset = Line.Substring(Seppos + 1).ToUpper Case "PRINTBG" : StyleList(CurIdx).Printbg = Line.Substring(Seppos + 1).ToUpper Case "SCALEX" : StyleList(CurIdx).ScaleX = Line.Substring(Seppos + 1).ToUpper Case "SCALEY" : StyleList(CurIdx).ScaleY = Line.Substring(Seppos + 1).ToUpper Case "BAKX" : StyleList(CurIdx).bakx = Line.Substring(Seppos + 1).ToUpper Case "BAKY" : StyleList(CurIdx).baky = Line.Substring(Seppos + 1).ToUpper Case "BAKW" : StyleList(CurIdx).bakw = Line.Substring(Seppos + 1).ToUpper Case "BAKH" : StyleList(CurIdx).bakh = Line.Substring(Seppos + 1).ToUpper Case "VIEWIMAGE" : StyleList(CurIdx).Viewimage = Line.Substring(Seppos + 1).ToUpper Case "FILTER" : StyleList(CurIdx).Filter = Line.Substring(Seppos + 1).ToUpper Case Else dr = StyleList(CurIdx).PATTERNTABLE.NewRow dr(0) = CStr(Findkey & Line.Substring(0, Seppos)).ToUpper dr(1) = Line.Substring(Seppos + 1).ToUpper StyleList(CurIdx).PATTERNTABLE.Rows.Add(dr) End Select Public Function PARSE_½Ã°ø³â¿ù(ByVal srcstr As String) As Boolean '/¼±·Î¸íÀÇ ±æÀÌ´Â ¿¹ÃøµÇÁö ¾Ê´Â´Ù µ¿Àû ÄÁÆ®·Ñ »ý¼ºÀ» »ç¿ëÇÑ´Ù. '/¼±·Î¸íÀÇ ±æÀÌ´Â ¿¹ÃøµÇÁö ¾Ê´Â´Ù µ¿Àû ÄÁÆ®·Ñ »ý¼ºÀ» »ç¿ëÇÑ´Ù. Me.CLEAR_ITEM(S½Ã°ø³â¿ù) Dim Log As String = "\Parse_½Ã°ø³â¿ù.txt" If srcstr = "" OrElse Not Me.cb_yymm.Checked Then AddLog(Admin, "Zero Length - Return", Log) Return False End If Dim Wlen As Short = srcstr.Length Dim SepPos As Short = srcstr.IndexOf(";") Dim SRC() As Char = srcstr.ToCharArray AddLog(Admin, "Length=" & Wlen & " Sep=" & SepPos, Log) For i As Integer = 0 To Wlen - 1 '//¸ðµç¹®ÀÚ¸¦ ÇÒ´çÇÑ´Ù. Try Me.S½Ã°ø³â¿ù(i).MyText = SRC(i) Catch ex As Exception Exit For End Try Next Return True End Function Public Sub PARSE_¼±·Î¸íÆÐÅÏ(ByVal Srcstr As String) Dim Log As String = "\Parse_¼±·Î¸íÆÐÅÏ.txt" Dim Wlen As Short = Srcstr.Length : If Wlen <= 0 Then Return Dim Src() As Char = Srcstr.ToCharArray Dim SepPos As Short = Srcstr.IndexOf(";") '±æÀÌÆÐÅÏ¿©ºÎ¸¦ È®ÀÎÇßÀ¸¹Ç·Î ÆÐÅÏÀ»Àû¿ëÇÑ´Ù.[STYLE1LINEPATTERN9] Dim Pname As String = "LINEPATTERN" & Wlen ' Me.±æÀÌÆÐÅÏ¿¬½À(Srcstr, Pname, Log, "L", S¼±·Î¸í) '//ÆÐÅÏ1ÀÌ ³¡³µ´Ù ÆÐÅÏ2¸¦ ã´Â´Ù. '//ÆÐÅÏ2´Â style1LInepatternII¹®ÀÚ¼ýÀÚÇü½Ä Pname = "LINEPATTERNII" & PATTERN_ENC(¼±·Î¸í) Me.¹®ÀÚÆÐÅÏ¿¬½À(Srcstr, Pname, Log, Me.S¼±·Î¸í) End Sub Public Function PARSE_Àü»ê¹øÈ£(ByVal srcstr As String) As Boolean '/¼±·Î¸íÀÇ ±æÀÌ´Â ¿¹ÃøµÇÁö ¾Ê´Â´Ù µ¿Àû ÄÁÆ®·Ñ »ý¼ºÀ» »ç¿ëÇÑ´Ù. Me.CLEAR_ITEM(SÀü»ê¹øÈ£) Dim Log As String = "\Parse_Àü»ê¹øÈ£.txt" If srcstr = "" OrElse Not Me.cb_kwang.Checked Then AddLog(Admin, "Zero Length - Return", Log) Return False End If Dim Wlen As Short = srcstr.Length Dim SepPos As Short = srcstr.IndexOf(";") Dim SRC() As Char = srcstr.ToCharArray AddLog(Admin, "Length=" & Wlen & " Sep=" & SepPos, Log) '/¼±·Î¸íÀÇ ±æÀÌ´Â ¿¹ÃøµÇÁö ¾Ê´Â´Ù µ¿Àû ÄÁÆ®·Ñ »ý¼ºÀ» »ç¿ëÇÑ´Ù. For i As Integer = 0 To Wlen - 1 '//¸ðµç¹®ÀÚ¸¦ ÇÒ´çÇÑ´Ù. Try SÀü»ê¹øÈ£(i).MyText = SRC(i).ToString Me.SÀü»ê¹øÈ£(i).Visible = True Catch ex As Exception Exit For End Try 'MsgBox("Àü»ê¹øÈ£=" & SÀü»ê¹øÈ£(i).MyText) Next Return True End Function Public Sub PARSE_Àü»ê¹øÈ£ÆÐÅÏ(ByVal srcstr As String) Dim Log As String = "\Parse_Àü»ê¹øÈ£ÆÐÅÏ.txt" Dim Wlen As Short = srcstr.Length Dim SepPos As Short = srcstr.IndexOf(";") Dim SrC() As Char = srcstr.ToCharArray Dim Pname As String = "JNUMPATTERN" & Wlen ' Me.±æÀÌÆÐÅÏ¿¬½À(srcstr, Pname, Log, "S", SÀü»ê¹øÈ£) Pname = "JNUMPATTERNII" & PATTERN_ENC(srcstr) Me.¹®ÀÚÆÐÅÏ¿¬½À(srcstr, Pname, Log, SÀü»ê¹øÈ£) End Sub