Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnClientes = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 20 "..\..\MenuPrincipal.xaml"
                this.btnClientes.Click += new System.Windows.RoutedEventHandler(this.btnClientes_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnProdutos = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 27 "..\..\MenuPrincipal.xaml"
                this.btnProdutos.Click += new System.Windows.RoutedEventHandler(this.btnProdutos_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnVendas = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 33 "..\..\MenuPrincipal.xaml"
                this.btnVendas.Click += new System.Windows.RoutedEventHandler(this.btnVendas_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnFornecedores = ((dn32ImageButton.Controls.dn32ImageButton)(target));
                return;

            case 5:
                this.btnCompras = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 45 "..\..\MenuPrincipal.xaml"
                this.btnCompras.Click += new System.Windows.RoutedEventHandler(this.btnCompras_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnUsuarios = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 51 "..\..\MenuPrincipal.xaml"
                this.btnUsuarios.Click += new System.Windows.RoutedEventHandler(this.btnUsuarios_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtCodigo = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnSalvar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 30 "..\..\FormCadastroDeUsuario - Copy.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.checkBox1_Copy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.checkBox1_Copy1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.checkBox1_Copy2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.checkBox1_Copy3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.checkBox1_Copy4 = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\FormUsuarios.xaml"
                ((ControladorDePedidos.WPF.FormUsuarios)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnNovo = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 26 "..\..\FormUsuarios.xaml"
                this.btnNovo.Click += new System.Windows.RoutedEventHandler(this.btnNovo_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnEditar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 34 "..\..\FormUsuarios.xaml"
                this.btnEditar.Click += new System.Windows.RoutedEventHandler(this.btnEditar_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnExcluir = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 41 "..\..\FormUsuarios.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnAtualizar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 49 "..\..\FormUsuarios.xaml"
                this.btnAtualizar.Click += new System.Windows.RoutedEventHandler(this.btnAtualizar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.lstUsuarios = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\FormCadastroDeVenda.xaml"
                ((ControladorDePedidos.WPF.FormCadastroDeVenda)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lstProdutos = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.btnExcluir = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 35 "..\..\FormCadastroDeVenda.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnAdicionar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 43 "..\..\FormCadastroDeVenda.xaml"
                this.btnAdicionar.Click += new System.Windows.RoutedEventHandler(this.btnAdicionar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnCliente = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 51 "..\..\FormCadastroDeVenda.xaml"
                this.btnCliente.Click += new System.Windows.RoutedEventHandler(this.btnCliente_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txtCliente = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\FormBuscaDeProduto.xaml"
                ((ControladorDePedidos.WPF.FormBuscaDeProduto)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\FormBuscaDeProduto.xaml"
                this.txtTermoDaBusca.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtTermoDaBusca_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.lstProdutos = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.btnAdicionar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 49 "..\..\FormBuscaDeProduto.xaml"
                this.btnAdicionar.Click += new System.Windows.RoutedEventHandler(this.btnAdicionar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txtQuantidade = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtNome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.btnSalvar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 28 "..\..\FormCadastroDeCliente.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.txtNome_Copy1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.textBlock_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\FormCadastroDeProduto.xaml"
                ((ControladorDePedidos.WPF.FormCadastroDeProduto)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.btnSalvar = ((dn32ImageButton.Controls.dn32ImageButton)(target));

            #line 29 "..\..\FormCadastroDeProduto.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.txtValorDeCompra = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.textBlock_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.txtValorDeVenda = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.textBlock_Copy3 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 11:
                this.textBlock_Copy4 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 13:
                this.textBlock_Copy5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txtEstoqueMinimo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.textBlock_Copy6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.cmbMarcas = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.textBlock_Copy7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.cmbFornecedores = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }