Inheritance: SetupWindow
Example #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public UI() {
     Setup      = new Setup();
     About      = new About();
     Setting    = new Setting();
     Transmission   = new TransmissionWindow();
     Program.Controller.UIHasLoaded();
 }
Example #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 ();
        }
Example #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();
        }
Example #4
0
        public UI ()
        {
            Application.Init();

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

            Program.Controller.UIHasLoaded ();
        }
Example #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 ();
        }
Example #6
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 ();
            }
        }
Example #7
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;
        }