Added Insert and Replace buttons

Added comments with a link to the sendkeys key commands
Logic to let the Import Word Contents form know which edit item should receive the key strokes
This commit is contained in:
2016-03-15 17:46:46 +00:00
parent bd15160789
commit 77591553c2
4 changed files with 91 additions and 19 deletions

View File

@@ -2449,11 +2449,11 @@ namespace Volian.Controls.Library
IsControlChar = false;
}
}
private void RtbSendKeys(string keys)
public void RtbSendKeys(string keys)
{
Focus();
SendKeys.Send(keys); // With .Net Framework 3.0 this can be replaced with EditingCommands
// http://msdn.microsoft.com/en-us/library/ms771634.aspx
SendKeys.Send(keys); // list of keys https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send%28v=vs.80%29.aspx
// With .Net Framework 3.0 this can be replaced with EditingCommands http://msdn.microsoft.com/en-us/library/ms771634.aspx
}
public bool PasteRtfAsText(bool PasteNoReturnsSetting)
{