コード例 #1
0
        private void OnLoaded(object sender, RoutedEventArgs e)
        {
            new TrashCanPopupManager(this);

            IWindowMover windowMover = new WindowMover(this);

            _windowResizer = new MainWindowResizer(this);

            IWindowDocker docker = new WindowDocker(this, windowMover);

            _windowAutoHider = new WindowAutoHider(this);

            new WindowDockMediator(this, _windowAutoHider, docker);
        }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: dxm007/Droppy
        private void OnLoaded( object sender, RoutedEventArgs e )
        {
            new TrashCanPopupManager( this );

            IWindowMover windowMover = new WindowMover( this );

            _windowResizer = new MainWindowResizer( this );

            IWindowDocker docker = new WindowDocker( this, windowMover );

            _windowAutoHider = new WindowAutoHider( this );

            new WindowDockMediator( this, _windowAutoHider, docker );
        }