void SupportReport() { string report = Engine.Instance.GetSupportReport(TableLogsController.GetBody(false)); string [] pboardTypes = new string[] { "NSStringPboardType" }; NSPasteboard.GeneralPasteboard.DeclareTypes(pboardTypes, null); NSPasteboard.GeneralPasteboard.SetStringForType(report, pboardTypes [0]); GuiUtils.MessageBox(Messages.LogsCopyClipboardDone); }
void LogsDoCopy(bool selectedOnly) { string t = TableLogsController.GetBody(selectedOnly); if (t != "") { string[] pboardTypes = new string[] { "NSStringPboardType" }; NSPasteboard.GeneralPasteboard.DeclareTypes(pboardTypes, null); NSPasteboard.GeneralPasteboard.SetStringForType(t, pboardTypes[0]); GuiUtils.MessageBoxInfo(LanguageManager.GetText("LogsCopyClipboardDone")); } }