분류 전체보기172 여러 줄 TextBox 컨트롤 만들기 This TextBox will allow the user to enter multiple lines of text. When the RETURN key is pressed, or when typed text reaches the edge of the text box, a new line is automatically inserted. TextWrapping attribute to Wrap will cause entered text to wrap to a new line when the edge of the TextBox control is reached, automatically expanding the TextBox control to include room for a new line, if nece.. 2015. 3. 21. Visual Studio에서 windows command batch 사용하기 Visaul Studio에서 빌드 후에 매번 특정 파일을 빌드후 특정 폴더 (data) 에 특정 파일(예를 들어 XML 파일)을 복사해야 하는 경우가 있다.이럴 경우 아래 처럼 윈도우 command를 이용하면 좋다 SET mypath="$(OutDir)\Data"echo %mypath%SET binPath="$(TargetDir)Data"echo %binPath% echo "$(SolutionDir)Data\stickyNoteConfig.xml" if not exist binPath ( mkdir "Data") copy "$(SolutionDir)Data\stickyNoteConfig.xml" "Data\stickyNoteConfig.xml" 위 배치 파일을 Post-build event command .. 2015. 3. 17. XSD -> Class 사용하기 두개 파일을 첨부합니다. 1개는 XSD이고, 다른 하나는 XSD를 class로 변환한 CS 파일입니다. [USE CS]using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; using System.Xml.Serialization;using System.IO; namespace XmlLib{ public class XmlUtil { private string curPath = @"stickyNoteConfig.xml"; public object GetObjFromXml(string fileName) { XmlSerializer serializer = new Xml.. 2015. 3. 17. XSD <-> XML 상호 관계 예전에는 XSD를 거의 사용하지 않고 XML을 사용했다. 하지만 지난 프로젝트에 서버 클라이언트 통신을 하면서 XML을 이용했다. 이후 XSD 중요성을 깨달았다. [XSD] SWConsulting Service Korea Sticky Note App (SWConsulting.blog.me) Copyright 2015 SWConsulting Service Korea. All rights reserved. SWConsulting Service Korea Sticky Note App (SWConsulting.blog.me) Copyright 2015 SWConsulting Service Korea. All rights reserved. Application info. [XML] comment1 userName.. 2015. 3. 17. 이전 1 ··· 30 31 32 33 34 35 36 ··· 43 다음