CmisSync.GeneralSettingsController.Initialize C# (CSharp) Method

Initialize() public method

public Initialize ( ) : void
return void
        void Initialize()
        {
            Controller.HideWindowEvent += delegate
            {
                using (var a = new NSAutoreleasePool ())
                {
                    InvokeOnMainThread (delegate {
                        Window.PerformClose (this);
                    });
                }
            };

            Controller.ShowWindowEvent += delegate
            {
                using (var a = new NSAutoreleasePool ())
                {
                    InvokeOnMainThread (delegate {
                        Window.OrderFrontRegardless ();
                    });
                }
            };
        }