Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Hamons <chris.hamons@xamarin.com>2016-09-19 21:06:40 +0300
committerGitHub <noreply@github.com>2016-09-19 21:06:40 +0300
commitd5982dd35f4287823d91ef111a14662f6eaec780 (patch)
tree405936cc20456889683cdca3b6ec2dc8f914e214 /BookmarkAssistant.cs
parentea60f85a862962fcca96a66db7719c5552fbaa3a (diff)
Port to Unified XM 4.5 (#1)
Diffstat (limited to 'BookmarkAssistant.cs')
-rw-r--r--BookmarkAssistant.cs15
1 files changed, 5 insertions, 10 deletions
diff --git a/BookmarkAssistant.cs b/BookmarkAssistant.cs
index 0501f6a..199174f 100644
--- a/BookmarkAssistant.cs
+++ b/BookmarkAssistant.cs
@@ -1,24 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using MonoMac.Foundation;
-using MonoMac.AppKit;
+using Foundation;
+using AppKit;
namespace macdoc
{
- public partial class BookmarkAssistant : MonoMac.AppKit.NSView
+ public partial class BookmarkAssistant : AppKit.NSView
{
public event Action<int> BookmarkDeleted;
public BookmarkAssistant (IntPtr handle) : base (handle)
{
}
-
- [Export ("initWithCoder:")]
- public BookmarkAssistant (NSCoder coder) : base (coder)
- {
- }
-
+
partial void DeleteButtonClicked (NSButton sender)
{
if (bookmarkTableView.SelectedRowCount != 1)
@@ -29,7 +24,7 @@ namespace macdoc
return;
var temp = BookmarkDeleted;
if (temp != null)
- temp (index);
+ temp ((int)index);
}
public NSTableView TableView {