private void HTMLEditor1Click(object sender, SpiceLogic.HtmlEditorControl.Domain.BOs.EditorEventArgs.EditorMouseEventArgs e) { OnClick(e); }
private void HTMLEditor1KeyDown(object sender, SpiceLogic.HtmlEditorControl.Domain.BOs.EditorEventArgs.EditorKeyEventArgs e) { //32 is space bar which for some reason doesn't convert to KeyPress //the event fires twice so only add space after second firing if (e.KeyCode.Equals(32) && _lastKeyPress.Equals(32)) { //insert space //winFormHtmlEditor1.InsertText(" "); //reset the buffer _lastKeyPress = 0; return; } _lastKeyPress = e.KeyCode; }
private void HTMLEditor1Click(object sender, SpiceLogic.WinHTMLEditor.EditorMouseEventArgs e) { OnClick(e); }