public static void emitInfoTextUpdate(string infoText) { InfoTextEventArgs args = new InfoTextEventArgs(); args.InfoText = infoText; OnNewInfoText(args); }
private static void OnNewInfoText(InfoTextEventArgs e) { NewInfoText?.Invoke(null, e); }
private void onNewInfoText(object sender, InfoTextEventArgs e) { Toast.MakeText(this, e.InfoText, ToastLength.Short).Show(); }