private void appsBtn_Click(object sender, RoutedEventArgs e)
        {
            AppsMenu appsmenu = new AppsMenu(this.Height - bottomPanel.Height, this.Left);

            appsmenu.Show();
            appsmenu.Closed += (s, args) => { if (appsmenu.CloseShell)
                                              {
                                                  try { this.Close(); } catch { /* tried to close while close dialog present */ }
                                              }
            };
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppsMenuWin = ((autumn.AppsMenu)(target));

            #line 5 "..\..\..\AppsMenu.xaml"
                this.AppsMenuWin.Loaded += new System.Windows.RoutedEventHandler(this.AppsMenuWin_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\AppsMenu.xaml"
                this.AppsMenuWin.Deactivated += new System.EventHandler(this.AppsMenuWin_Deactivated);

            #line default
            #line hidden
                return;

            case 2:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.appsList = ((System.Windows.Controls.ListBox)(target));

            #line 8 "..\..\..\AppsMenu.xaml"
                this.appsList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.appsList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\AppsMenu.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }