WinForm(3)
-
[WinForm] 사용자 정의컨트롤 도구상자에 표시
평소 사용자 정의 컨트롤을 dll로 만들어서 가져 왓는데 많이 불편하다. 그래서 현재 프로젝트 혹은 솔루션에서 만든 사용자 정의 콘트롤을 올리는 방법을 정리한다. [도구] → [옵션] 항목에 들어간다. [여기서 Windows Forms 디자이너] → [도구상자] → [AutoToolboxPopulate] 값을 False에서 True로 수정한다. 그럼 자동으로 도구상자에 사용자 정의 컨트롤이 올라와 있을 것이다.
2019.12.06 -
[WinForm]MID 폼 일때 Child 모두 닫기
private bool Search(){ foreach (Form openForm in this.MdiChildren) { openForm.Close(); } return true; }
2012.08.28 -
[WinForm 6.20] 02. 데이터 STX-ETX기준으로 데이터 받기
int a = comPort.ReadByte(); real += ((char)a).ToString(); temp = string.Format("{0:x}", a); if (temp.Equals("2")) { temp = ""; while (!temp.Equals("3")) { a = comPort.ReadByte(); temp = string.Format("{0:x}", a); real += ((char)a).ToString(); } if (temp.Equals("3")) { com.ReciveStram(real);//
2011.06.20