private ShowHiddenCursor ( bool forceShow ) : void | ||
forceShow | bool | |
리턴 | void |
private void ShowHiddenCursorIfMovedOrLeft() { bool flag; TextArea textArea = this.textArea; if (!this.textArea.Focused) { flag = true; } else { Rectangle clientRectangle = this.textArea.ClientRectangle; flag = !clientRectangle.Contains(this.textArea.PointToClient(Cursor.Position)); } textArea.ShowHiddenCursor(flag); }
void ShowHiddenCursorIfMovedOrLeft() { textArea.ShowHiddenCursor(!textArea.Focused || !textArea.ClientRectangle.Contains(textArea.PointToClient(Cursor.Position))); }