示例#1
0
        private void Menu_Alugar_Devolver_Click(object sender, RoutedEventArgs e)
        {
            frm_Alugar_Devolver a = new frm_Alugar_Devolver();

            a.ShowDialog();
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fmr_Livros_Alugar_Devolver = ((BiblioTecca.Views.frm_Alugar_Devolver)(target));
                return;

            case 2:
                this.txt_IdLocacao_Buscar = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.lbl_IdLocacao_Buscar = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 12 "..\..\..\Views\frm_Alugar_Devolver.xaml"
                this.btn_frmEmprestimo_Buscar.Click += new System.Windows.RoutedEventHandler(this.btn_frmEmprestimo_Buscar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.txt_NomeLivro_Locacao = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 7:
                this.txt_NomePessoa_Locacao = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 9:
                this.lbl_Status_Locacao = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txt_CodLivro_Locacao = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lbl_CodLivro_Locacao = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.txt_CpfPessoa_Locacao = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.lbl_Cpf_Pessoa_Locacao = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.txt_Situacao = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:

            #line 23 "..\..\..\Views\frm_Alugar_Devolver.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected);

            #line default
            #line hidden
                return;

            case 16:
                this.btn_fmr_Livros_Alugar_Devolver_Locar = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\Views\frm_Alugar_Devolver.xaml"
                this.btn_fmr_Livros_Alugar_Devolver_Locar.Click += new System.Windows.RoutedEventHandler(this.btn_fmr_Livros_Alugar_Devolver_Gravar_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btn_fmr_Livros_Alugar_Devolver_Cancelar = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.txt_Data_Limite_Devolucao = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 19:
                this.lbl_Data_Limite_Devolucao = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txt_Data_Devolucao = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 21:
                this.lbl_Data_Limite_Devolucao_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.btn_fmr_Livros_Alugar_Devolver_Devolver = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\Views\frm_Alugar_Devolver.xaml"
                this.btn_fmr_Livros_Alugar_Devolver_Devolver.Click += new System.Windows.RoutedEventHandler(this.btn_frmPessoa_Alterar_Click);

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