示例#1
0
 public /*KScoreContol Interface */ void DoShow()
 {
     if (NSThread.IsMain)
     {
         MacGui.macGui.ScoreShow();
     }
     else
     {
         _ = MacGui.BeginInvokeOnMainThreadAsync(() => { DoShow(); return(MacGui.ack); }).Result;
     }
 }
示例#2
0
 public /*KScoreContol Interface */ void DoInvalidate()
 {
     if (NSThread.IsMain)
     {
         // SetSize(MainClass.guiToMac.ScoreSize());  //###
         Invalidate();
     }
     else
     {
         _ = MacGui.BeginInvokeOnMainThreadAsync(() => { DoInvalidate(); return(MacGui.ack); }).Result;
     }
 }