~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/samples/UserNotificationExample/UserNotificationExample/MainWindowController.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
using System;
 
3
using System.Collections.Generic;
 
4
using System.Linq;
 
5
using MonoMac.Foundation;
 
6
using MonoMac.AppKit;
 
7
 
 
8
namespace UserNotificationExample
 
9
{
 
10
        public partial class MainWindowController : MonoMac.AppKit.NSWindowController
 
11
        {
 
12
                #region Constructors
 
13
                
 
14
                // Called when created from unmanaged code
 
15
                public MainWindowController (IntPtr handle) : base (handle)
 
16
                {
 
17
                        Initialize ();
 
18
                }
 
19
                
 
20
                // Called when created directly from a XIB file
 
21
                [Export ("initWithCoder:")]
 
22
                public MainWindowController (NSCoder coder) : base (coder)
 
23
                {
 
24
                        Initialize ();
 
25
                }
 
26
                
 
27
                // Call to load from the XIB/NIB file
 
28
                public MainWindowController () : base ("MainWindow")
 
29
                {
 
30
                        Initialize ();
 
31
                }
 
32
                
 
33
                // Shared initialization code
 
34
                void Initialize ()
 
35
                {
 
36
                }
 
37
                
 
38
                #endregion
 
39
                
 
40
                //strongly typed window accessor
 
41
                public new MainWindow Window {
 
42
                        get {
 
43
                                return (MainWindow)base.Window;
 
44
                        }
 
45
                }
 
46
 
 
47
 
 
48
        }
 
49
}
 
50