1. 소스/// /// 주어진 TextBox 컨트롤에 수직스크롤바가 있는지의 여부를 구한다. /// /// TextBox 컨트롤 /// /// - true : 수직스크롤바가 있다. /// - false : 수직스크롤바가 없다. /// bool ExistsVScroll(TextBox txt) { try { StringBuilder sb = new StringBuilder(txt.Text); string lastline = txt.Lines[txt.Lines.Count() - 1]; SizeF size; using (Graphics g = Graphics.FromHwnd(txt.Handle)) { if (string.IsNullOrWhiteSpace(lastline)) sb.Append("1"); s..