Esempio n. 1
0
File: UI.cs Progetto: sunxk/CmisSync
        public UI()
        {
            using (var a = new NSAutoreleasePool())
            {
                NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed("cmissync-app.icns");

                SetFolderIcon();

                Setup      = new SetupWizardController();
                About      = new About();
                StatusIcon = new StatusIcon();
                Settings   = new GeneralSettingsController();

                Program.Controller.UIHasLoaded();
            }
        }
Esempio n. 2
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();
            }
        }
Esempio n. 3
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();
            }
        }