Beispiel #1
0
 private void ButtonEventNotifyClickEventHandler(object sender)
 {
     //Schedule to run this in another thread so javascript
     //can continue to excute its events
     Task.Run(() =>
     {
         string str = sender as string;
         if (str == "enter")
         {
             var task = InsertLineBreak();
         }
         else
         {
             WebviewButtonClickEvent?.Invoke(sender);
         }
     });
 }
Beispiel #2
0
 private void HtmlEditorWebviewButtonClickEventHandler(object sender)
 {
     WebviewButtonClickEvent?.Invoke(sender);
 }