示例#1
0
文件: Textbox.cs 项目: valoni/Tinkr
 protected virtual void OnTextEditorStart(object sender, ref TextEditorArgs args)
 {
     if (TextEditorStart != null)
     {
         TextEditorStart(sender, ref args);
     }
 }
示例#2
0
文件: Textbox.cs 项目: valoni/Tinkr
        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);
        }