Esempio n. 1
0
        private void BtnBreakfast_Click(object sender, RoutedEventArgs e)
        {
            var newForm = new WindowBreakfast();

            newForm.Show();
            this.Close();
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windowBreakfast = ((Wawa_TouchScreen.WindowBreakfast)(target));
                return;

            case 2:
                this.btnBreakfastHoagie = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\WindowBreakfast.xaml"
                this.btnBreakfastHoagie.Click += new System.Windows.RoutedEventHandler(this.BtnBreakfastHoagie_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnBreakfastBurrito = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\WindowBreakfast.xaml"
                this.btnBreakfastBurrito.Click += new System.Windows.RoutedEventHandler(this.BtnBreakfastBurrito_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.labelBreakfastHoagie = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.labelBreakfastBurrito = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.labelBreakfastTop = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 23 "..\..\WindowBreakfast.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.labelCancel = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.listboxOrder = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.labelOrder = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 38 "..\..\WindowBreakfast.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.BtnPrevious_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.labelPrevious = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }