Ejemplo n.º 1
0
        //When the View Reservation Report Button is Clicked
        private void btnReservationRpt_Click(object sender, RoutedEventArgs e)
        {
            Reservation_Report Report = new Reservation_Report();

            Report.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WinReservationReport = ((Group03.Reservation_Report)(target));
                return;

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

            case 3:
                this.grpFilter = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.txtLastName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 7:
                this.lblEndDate = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.dtpStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.dtpEndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 11:
                this.txtResult = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.btnSearch = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.btnMainMenu = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WinReservationReport = ((Group03.Reservation_Report)(target));
                return;

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

            case 3:
                this.grpFilter = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.txtLastName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 7:
                this.lblEndDate = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.dtpStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.dtpEndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 31 "..\..\Reservation Report.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnMainMenu = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\Reservation Report.xaml"
                this.btnMainMenu.Click += new System.Windows.RoutedEventHandler(this.btnMainMenu_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.dtgReservation = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }