mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-10 09:56:25 +00:00
49 lines
887 B
C#
49 lines
887 B
C#
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using MonoMac.Foundation;
|
||
|
using MonoMac.AppKit;
|
||
|
|
||
|
namespace NBTExplorer
|
||
|
{
|
||
|
public partial class MainWindowController : MonoMac.AppKit.NSWindowController
|
||
|
{
|
||
|
#region Constructors
|
||
|
|
||
|
// Called when created from unmanaged code
|
||
|
public MainWindowController (IntPtr handle) : base (handle)
|
||
|
{
|
||
|
Initialize ();
|
||
|
}
|
||
|
|
||
|
// Called when created directly from a XIB file
|
||
|
[Export ("initWithCoder:")]
|
||
|
public MainWindowController (NSCoder coder) : base (coder)
|
||
|
{
|
||
|
Initialize ();
|
||
|
}
|
||
|
|
||
|
// Call to load from the XIB/NIB file
|
||
|
public MainWindowController () : base ("MainWindow")
|
||
|
{
|
||
|
Initialize ();
|
||
|
}
|
||
|
|
||
|
// Shared initialization code
|
||
|
void Initialize ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
//strongly typed window accessor
|
||
|
public new MainWindow Window {
|
||
|
get {
|
||
|
return (MainWindow)base.Window;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|