public HtmlCompletion(TextArea textArea) { this.textArea = textArea; htmlDataProvider = new HtmlCompletionDataProvider(); //htmlDataProvider.imageList = imageList1; textArea.KeyPress += new KeyPressEventHandler(TextArea_KeyPress); }
public Form1() { InitializeComponent(); htmlDataProvider = new HtmlCompletionDataProvider(); htmlDataProvider.imageList = imageList1; textEditorControl1.ActiveTextAreaControl.TextArea.KeyPress += new KeyPressEventHandler(TextArea_KeyPress); }