Esempio n. 1
0
 protected virtual void OnTextEditorStart(object sender, ref TextEditorArgs args)
 {
     if (TextEditorStart != null)
     {
         TextEditorStart(sender, ref args);
     }
 }
Esempio n. 2
0
        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);
        }