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