Inheritance: MonoMac.AppKit.NSWindow
Exemplo n.º 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public UI() {
     Setup      = new Setup();
     About      = new About();
     Setting    = new Setting();
     Transmission   = new TransmissionWindow();
     Program.Controller.UIHasLoaded();
 }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GUI ()
        {   
			// TODO: The second time windows are shown, the windows
			// don't have the smooth ease in animation, but appear abruptly.
			// The ease out animation always seems to work
            Setup      = new Setup ();
            About      = new About ();
            
            Program.Controller.UIHasLoaded ();
        }
Exemplo n.º 3
0
        public UI() {
            Application.Init();

            this.Setup      = new Setup();
            this.About      = new About();
            this.StatusIcon = new StatusIcon();
            this.Setting    = new Setting();
            this.Transmissions = new TransmissionWindow();
            Program.Controller.UIHasLoaded();
        }
Exemplo n.º 4
0
        public UI ()
        {
            Application.Init();

            Setup      = new Setup ();
            About      = new About ();
            StatusIcon = new StatusIcon ();

            Program.Controller.UIHasLoaded ();
        }
Exemplo n.º 5
0
        public GUI ()
        {
            Application.Init();

            Setup      = new Setup ();
            About      = new About ();
            StatusIcon = new StatusIcon ();
			CmisSync.Lib.Utils.SetUserNotificationListener (new UserNotificationListenerLinux (StatusIcon));
            Program.Controller.UIHasLoaded ();
        }
Exemplo n.º 6
0
        public UI() {
            using (var a = new NSAutoreleasePool()) {
                NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed("cmissync-app.icns");

                this.SetFolderIcon();

                this.Setup = new SetupWizardController();
                this.About = new About();
                this.StatusIcon = new StatusIcon();
                this.Settings = new GeneralSettingsController();
                this.Transmission = new TransmissionWidgetController();
                this.Transmission.LoadWindow();
                this.Transmission.Window.IsVisible = false;

                Program.Controller.UIHasLoaded();
            }
        }
Exemplo n.º 7
0
        public UI ()
        {
            using (var a = new NSAutoreleasePool ())
            {
                GrowlApplicationBridge.WeakDelegate = this;
                GrowlApplicationBridge.Delegate     = new CmisSyncGrowlDelegate ();

                NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed ("cmissync-app.icns");

                SetFolderIcon ();
    
                Setup      = new Setup ();
                About      = new About ();
                Bubbles    = new Bubbles ();
                StatusIcon = new StatusIcon ();

                Program.Controller.UIHasLoaded ();
            }
        }
Exemplo n.º 8
0
        public void Dispose() {
            if (this.disposed) {
                return;
            }

            if (this.Setup != null) {
                this.Setup.Dispose();
                this.Setup = null;
            }

            if (this.About != null) {
                this.About.Dispose();
                this.About = null;
            }

            if (this.StatusIcon != null) {
                this.StatusIcon.Dispose();
                this.StatusIcon = null;
            }

            if (this.Setting != null) {
                this.Setting.Dispose();
                this.Setting = null;
            }

            this.disposed = true;
        }