C# 클래스 ACPAddIn.AutoCompleteForm

This class handle the presentation layer for presenting the Suggestion list in a cusotmized window form to user. It provides methods such as to navigate the page, hide the suggestion box and text wrapping for each entry. Author: Loke Yan Hao
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: autocompaste/AutoComPaste 1 사용 예제들

공개 메소드들

메소드 설명
AutoCompleteForm ( ) : System
Hide ( ) : void
getActualWidth ( ) : int
getDisplaySuggestionCount ( ) : int
getNumOfPage ( ) : int
getPageIndex ( ) : int
getSourceNameWrapping ( String sourceName, Font font ) : String
getSuggestionWrapping ( String suggestion, Font font, bool entityMode ) : String
nextSuggestionPage ( ) : void
populateForm ( List suggestions ) : void
previousSuggestionPage ( ) : void
quickPaste ( int i ) : void
selectFirstIndex ( ) : void
showForm ( IWin32Window owner ) : void
updateConfiguration ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ListBox1_DrawItem ( object sender, DrawItemEventArgs e ) : void
ListBox1_SelectedIndexChanged ( object sender, System e ) : void
ListBox_initWidth ( ListBox listBox ) : void
closeBut_MouseClick ( object sender, MouseEventArgs e ) : void
closeBut_MouseHover ( object sender, EventArgs e ) : void
closeBut_MouseLeave ( object sender, EventArgs e ) : void
generateSubstring ( String words, ArrayList wordIndexes ) : String
getRenderTextHeight ( String text, Control control, Font font ) : int
getRenderTextWidth ( String text, Control control, Font font ) : int
listBox1_KeyDown ( object sender, KeyEventArgs e ) : void
listBox1_KeyPress ( object sender, KeyPressEventArgs e ) : void
listBox1_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
nextBut_MouseClick ( object sender, MouseEventArgs e ) : void
nextBut_MouseHover ( object sender, EventArgs e ) : void
nextBut_MouseLeave ( object sender, EventArgs e ) : void
previousBut_MouseClick ( object sender, MouseEventArgs e ) : void
previousBut_MouseHover ( object sender, EventArgs e ) : void
previousBut_MouseLeave ( object sender, EventArgs e ) : void
updateNextPreviousButton ( ) : void
updateSuggestionPageDisplay ( ) : void

메소드 상세

AutoCompleteForm() 공개 메소드

public AutoCompleteForm ( ) : System
리턴 System

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Hide() 공개 메소드

public Hide ( ) : void
리턴 void

getActualWidth() 공개 메소드

public getActualWidth ( ) : int
리턴 int

getDisplaySuggestionCount() 공개 메소드

public getDisplaySuggestionCount ( ) : int
리턴 int

getNumOfPage() 공개 메소드

public getNumOfPage ( ) : int
리턴 int

getPageIndex() 공개 메소드

public getPageIndex ( ) : int
리턴 int

getSourceNameWrapping() 공개 메소드

public getSourceNameWrapping ( String sourceName, Font font ) : String
sourceName String
font System.Drawing.Font
리턴 String

getSuggestionWrapping() 공개 메소드

public getSuggestionWrapping ( String suggestion, Font font, bool entityMode ) : String
suggestion String
font System.Drawing.Font
entityMode bool
리턴 String

nextSuggestionPage() 공개 메소드

public nextSuggestionPage ( ) : void
리턴 void

populateForm() 공개 메소드

public populateForm ( List suggestions ) : void
suggestions List
리턴 void

previousSuggestionPage() 공개 메소드

public previousSuggestionPage ( ) : void
리턴 void

quickPaste() 공개 메소드

public quickPaste ( int i ) : void
i int
리턴 void

selectFirstIndex() 공개 메소드

public selectFirstIndex ( ) : void
리턴 void

showForm() 공개 메소드

public showForm ( IWin32Window owner ) : void
owner IWin32Window
리턴 void

updateConfiguration() 공개 메소드

public updateConfiguration ( ) : void
리턴 void