protected virtual void OnTextEditorStart(object sender, ref TextEditorArgs args) { if (TextEditorStart != null) { TextEditorStart(sender, ref args); } }
private void ShowEditor() { var args = new TextEditorArgs(_editorFont, _editorTitle, _text); OnTextEditorStart(this, ref args); var vk = new VirtualKeyboard(); vk.TextEditorClosing += VK_TextEditorClosing; Text = vk.Show(args.EditorFont, args.DefaultValue, _pwd, _layout, args.EditorTitle); }