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

« back to all changes in this revision

Viewing changes to external/monomac/samples/AnimatedClock/MainWindow.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 AnimatedClock
 
9
{
 
10
        public partial class MainWindow : MonoMac.AppKit.NSWindow
 
11
        {
 
12
                public MainWindow (IntPtr handle) : base(handle)
 
13
                {
 
14
                }
 
15
 
 
16
                [Export("initWithCoder:")]
 
17
                public MainWindow (NSCoder coder) : base(coder)
 
18
                {
 
19
                }
 
20
 
 
21
                public override void AwakeFromNib ()
 
22
                {
 
23
                        IsOpaque = false;
 
24
                        BackgroundColor = NSColor.Clear;
 
25
                        MovableByWindowBackground = true;
 
26
                        Level = NSWindowLevel.PopUpMenu;
 
27
                        StyleMask = NSWindowStyle.Borderless;
 
28
                        IsVisible = true;       
 
29
                }
 
30
        }
 
31
}
 
32