private void leksiImage_Click(object sender, RoutedEventArgs e)
        {
            Hide();
            this.IsEnabled = false;
            WindowLeksi windowLow = new WindowLeksi(this);

            windowLow.Show();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winLeksi = ((ShopKeeper.WindowLeksi)(target));

            #line 8 "..\..\WindowLeksi.xaml"
                this.winLeksi.Closed += new System.EventHandler(this.WinLeksi_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.mainStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.multiGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.multiBtnDown = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.speedGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.speedBtnUp = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.speedBtnDown = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.gameGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.gameBtnUp = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.gameBtnDown = ((System.Windows.Controls.Button)(target));
                return;

            case 12:

            #line 38 "..\..\WindowLeksi.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\WindowLeksi.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

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