C#,Delphi,Oracle,MSSQL 개발자블로그
카카오톡에서 메세지가오면 우측 하단에 알림창이 뜨는 것 처럼, 폼을 하나 더 만들어서 띄운 후, Timer를 이용하여 일정 시간 후 없어지게 한다. public partial class Form1 : Form { Form2 frm = new Form2(); int timerCount = 0; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { timer1.Start(); System.Drawing.Rectangle ScreenRectangle = Screen.PrimaryScreen.WorkingArea; int xPos = ScreenRectangle.Width - frm.Bou..
Web과 인터페이스하여, web상에 어떤 문자열을 넣을 때, 깨지는 경우가 있을 수 있다. 영문이나 숫자는 잘 나오는데, 한글만 유독 깨진다면 HttpUtility 클래스를 이용하여, 문자열을 encoding하여, 정상적으로 출력하는 것이 방법이 될 수 있다. ex) System.Web; string strEncode = HttpUtility.UrlEncode("대한민국");
셀 속성으로 CheckBox를 지정하였음에도 실행시 체크박스를 클릭했을때 체크표시가 되지 않는 경우가 있다. 이때 Operation 모드를 변경하여 준다. Dim CheckBox As New FarPoint.Win.Spread.CellType.CheckBoxCellType ColumnHeader.Cells(0, col).CellType = CheckBox .OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect -> SingleSelect 설정 시 SPREAD의 특정 행을 클릭하면 해당행 전체가 박스형태로 표시된다 .OperationMode = FarPoint.Win.Spread.OperationMode.Normal -> 특정 행을 클릭하면 행뿐만..