Exemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Qualidade/QualidadeFuncionario.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.satisfacaoFuncionarioSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoFuncionarioSetDomainDataSource")));
     this.satisfacaoFuncionarioSetDataGrid         = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoFuncionarioSetDataGrid")));
     this.codigo_funcionarioColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigo_funcionarioColumn")));
     this.comentariosColumn        = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn")));
     this.data_avaliacaoColumn     = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn")));
     this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn")));
     this.nome_funcionarioColumn        = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nome_funcionarioColumn")));
     this.nota_ambiente_trabalhoColumn  = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_ambiente_trabalhoColumn")));
     this.nota_colegas_trabalhoColumn   = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_colegas_trabalhoColumn")));
     this.nota_finalColumn              = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn")));
     this.nota_satisfacao_pessoalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_satisfacao_pessoalColumn")));
     this.pgrSatisfacaoFuncionario      = ((System.Windows.Controls.DataPager)(this.FindName("pgrSatisfacaoFuncionario")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.dfrSatisfacaoFuncionario = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoFuncionario")));
     this.button2 = ((System.Windows.Controls.Button)(this.FindName("button2")));
 }
Exemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ConveniosPlanoSaude/ConvenioPlanoSaude.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.convenioPlanoSaudeSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("convenioPlanoSaudeSetDomainDataSource")));
     this.lblTitulo = ((System.Windows.Controls.Label)(this.FindName("lblTitulo")));
     this.convenioPlanoSaudeSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("convenioPlanoSaudeSetDataGrid")));
     this.codigoColumn         = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigoColumn")));
     this.empresaColumn        = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("empresaColumn")));
     this.observacoesColumn    = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("observacoesColumn")));
     this.planoColumn          = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("planoColumn")));
     this.telefoneColumn       = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("telefoneColumn")));
     this.pgrServicoMedico     = ((System.Windows.Controls.DataPager)(this.FindName("pgrServicoMedico")));
     this.btnRegistrar         = ((System.Windows.Controls.Button)(this.FindName("btnRegistrar")));
     this.dfrConvenio          = ((System.Windows.Controls.DataForm)(this.FindName("dfrConvenio")));
     this.dgrDescontosServicos = ((System.Windows.Controls.DataGrid)(this.FindName("dgrDescontosServicos")));
     this.nomeColumn           = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.descricaoColumn      = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descricaoColumn")));
     this.descontoColumn       = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descontoColumn")));
     this.btnDeletar           = ((System.Windows.Controls.Button)(this.FindName("btnDeletar")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ClientApplication;component/Views/Transaction/NewTransactionWindow.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.busyIndicator = ((ClientApplication.Controls.BusyIndicator)(this.FindName("busyIndicator")));
     this.newTransactionForm = ((System.Windows.Controls.DataForm)(this.FindName("newTransactionForm")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ConvenioPlanoSaude/RegistroConvenioPlanoSaude.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dfrNovoConvenio = ((System.Windows.Controls.DataForm)(this.FindName("dfrNovoConvenio")));
     this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/QualidadeCliente/RegistroSatisfacaoFuncionario.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.dfrSatisfacaoFuncionario = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoFuncionario")));
     this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MQuter-eLabApp;component/View/Editors/ParamValueEditor.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MagicBox = ((System.Windows.Controls.Grid)(this.FindName("MagicBox")));
     this.ParamDataForm = ((System.Windows.Controls.DataForm)(this.FindName("ParamDataForm")));
     this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ClientApplication;component/Views/Login/RegistrationForm.xaml", System.UriKind.Relative));
     this.busyIndicator = ((ClientApplication.Controls.BusyIndicator)(this.FindName("busyIndicator")));
     this.registerForm = ((System.Windows.Controls.DataForm)(this.FindName("registerForm")));
     this.registerButton = ((System.Windows.Controls.Button)(this.FindName("registerButton")));
     this.registerCancel = ((System.Windows.Controls.Button)(this.FindName("registerCancel")));
     this.backToLogin = ((System.Windows.Controls.HyperlinkButton)(this.FindName("backToLogin")));
 }
Exemplo n.º 8
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/JNotes;component/Views/Login/LoginForm.xaml", System.UriKind.Relative));
     this.busyIndicator = ((JNotes.Controls.BusyIndicator)(this.FindName("busyIndicator")));
     this.loginForm = ((System.Windows.Controls.DataForm)(this.FindName("loginForm")));
     this.loginButton = ((System.Windows.Controls.Button)(this.FindName("loginButton")));
     this.loginCancel = ((System.Windows.Controls.Button)(this.FindName("loginCancel")));
     this.registerNow = ((System.Windows.Controls.HyperlinkButton)(this.FindName("registerNow")));
 }
Exemplo n.º 9
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ServicoMedico/RegistroServicoMedico.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dfrNovoServico = ((System.Windows.Controls.DataForm)(this.FindName("dfrNovoServico")));
     this.CancelButton   = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton       = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Qualidade/RegistroSatisfacaoFuncionario.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.dfrSatisfacaoFuncionario = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoFuncionario")));
     this.CancelButton             = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
 }
Exemplo n.º 11
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StudBusApp;component/Views/%D0%9A%D0%BE%D0%BF%D0%B8%D1%8F%20%D0%93%D1%80%D1%83%D" +
                                                                   "0%BF%D0%BF%D1%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot             = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PageScrollViewer       = ((System.Windows.Controls.ScrollViewer)(this.FindName("PageScrollViewer")));
     this.ContentStackPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("ContentStackPanel")));
     this.HeaderText             = ((System.Windows.Controls.TextBlock)(this.FindName("HeaderText")));
     this.группаDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("группаDomainDataSource")));
     this.группаDataForm         = ((System.Windows.Controls.DataForm)(this.FindName("группаDataForm")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/CRUDServicoMedico.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.servicoMedicoSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("servicoMedicoSetDomainDataSource")));
     this.lblTitulo = ((System.Windows.Controls.Label)(this.FindName("lblTitulo")));
     this.servicoMedicoSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("servicoMedicoSetDataGrid")));
     this.codigoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigoColumn")));
     this.descricaoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descricaoColumn")));
     this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.precoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("precoColumn")));
     this.pgrServicoMedico = ((System.Windows.Controls.DataPager)(this.FindName("pgrServicoMedico")));
     this.btnRegistrar = ((System.Windows.Controls.Button)(this.FindName("btnRegistrar")));
     this.dfrServico = ((System.Windows.Controls.DataForm)(this.FindName("dfrServico")));
     this.btnDeletar = ((System.Windows.Controls.Button)(this.FindName("btnDeletar")));
 }
Exemplo n.º 13
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StudBusApp;component/Views/Home.xaml", System.UriKind.Relative));
     this.LayoutRoot             = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PageScrollViewer       = ((System.Windows.Controls.ScrollViewer)(this.FindName("PageScrollViewer")));
     this.ContentStackPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("ContentStackPanel")));
     this.HeaderText             = ((System.Windows.Controls.TextBlock)(this.FindName("HeaderText")));
     this.ContentText            = ((System.Windows.Controls.TextBlock)(this.FindName("ContentText")));
     this.группаDataGrid         = ((System.Windows.Controls.DataGrid)(this.FindName("группаDataGrid")));
     this.кодColumn              = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("кодColumn")));
     this.наименованиеColumn     = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("наименованиеColumn")));
     this.группаDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("группаDomainDataSource")));
     this.dataForm1              = ((System.Windows.Controls.DataForm)(this.FindName("dataForm1")));
     this.студентDataGrid        = ((System.Windows.Controls.DataGrid)(this.FindName("студентDataGrid")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StudBusApp;component/Views/%D0%94%D0%B8%D1%81%D1%86%D0%B8%D0%BF%D0%BB%D0%B8%D0%B" +
                                                                   "D%D1%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PageScrollViewer           = ((System.Windows.Controls.ScrollViewer)(this.FindName("PageScrollViewer")));
     this.ContentStackPanel          = ((System.Windows.Controls.StackPanel)(this.FindName("ContentStackPanel")));
     this.HeaderText                 = ((System.Windows.Controls.TextBlock)(this.FindName("HeaderText")));
     this.дисциплинаDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("дисциплинаDomainDataSource")));
     this.дисциплинаDataForm         = ((System.Windows.Controls.DataForm)(this.FindName("дисциплинаDataForm")));
     this.студентDomainDataSource    = ((System.Windows.Controls.DomainDataSource)(this.FindName("студентDomainDataSource")));
     this.дисциплинаDataGrid         = ((System.Windows.Controls.DataGrid)(this.FindName("дисциплинаDataGrid")));
     this.наименованиеColumn         = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("наименованиеColumn")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
 }
Exemplo n.º 15
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ServicoMedico/CRUDServicoMedico.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.servicoMedicoSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("servicoMedicoSetDomainDataSource")));
     this.lblTitulo = ((System.Windows.Controls.Label)(this.FindName("lblTitulo")));
     this.servicoMedicoSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("servicoMedicoSetDataGrid")));
     this.codigoColumn             = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigoColumn")));
     this.descricaoColumn          = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descricaoColumn")));
     this.nomeColumn       = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.precoColumn      = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("precoColumn")));
     this.pgrServicoMedico = ((System.Windows.Controls.DataPager)(this.FindName("pgrServicoMedico")));
     this.btnRegistrar     = ((System.Windows.Controls.Button)(this.FindName("btnRegistrar")));
     this.dfrServico       = ((System.Windows.Controls.DataForm)(this.FindName("dfrServico")));
     this.btnDeletar       = ((System.Windows.Controls.Button)(this.FindName("btnDeletar")));
 }
Exemplo n.º 16
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/QualidadeCliente/QualidadeCliente.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.satisfacaoClienteSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoClienteSetDomainDataSource")));
     this.satisfacaoClienteSetDataGrid         = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoClienteSetDataGrid")));
     this.comentariosColumn           = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn")));
     this.data_avaliacaoColumn        = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn")));
     this.idColumn                    = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn")));
     this.nomeColumn                  = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.nota_finalColumn            = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn")));
     this.outra_opiniaoColumn         = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("outra_opiniaoColumn")));
     this.qualidade_atendimentoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("qualidade_atendimentoColumn")));
     this.tempo_esperaColumn          = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("tempo_esperaColumn")));
     this.pgrSatisfacaoCliente        = ((System.Windows.Controls.DataPager)(this.FindName("pgrSatisfacaoCliente")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.dfrSatisfacaoCliente = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoCliente")));
     this.Remover = ((System.Windows.Controls.Button)(this.FindName("Remover")));
 }
Exemplo n.º 17
0
        /// <summary>
        /// Sets references on this DataField to its parent DataForm.
        /// </summary>
        /// <param name="parentDataForm">The parent DataForm.</param>
        private void SetBindingsFromParentDataForm(DataForm parentDataForm)
        {
            this._parentDataForm = parentDataForm;

            if (parentDataForm != null)
            {
                this.SetBinding(DataField.DataFormModeProperty, new Binding("Mode") { Source = parentDataForm });
                this.SetBinding(DataField.DataFormLabelPositionProperty, new Binding("LabelPosition") { Source = parentDataForm });
                this.SetBinding(DataField.DataFormDescriptionViewerPositionProperty, new Binding("DescriptionViewerPosition") { Source = parentDataForm });
                this.SetBinding(DataField.StyleProperty, new Binding("DataFieldStyle") { Source = parentDataForm });
                parentDataForm.Fields.Add(this);
            }
        }
Exemplo n.º 18
0
        /// <summary>
        /// Removes all references of this DataField from its parent DataForm, if one exists.
        /// </summary>
        internal void RemoveBindingsFromParentDataForm()
        {
            if (this._parentDataForm != null)
            {
                // Clear the value of the properties to ensure the binding is broken.
                this.ClearValue(DataField.DataFormModeProperty);
                this.ClearValue(DataField.DataFormLabelPositionProperty);
                this.ClearValue(DataField.DataFormDescriptionViewerPositionProperty);

                // Only reset the style if it's getting it from the DataForm.
                if (this._parentDataForm.DataFieldStyle == this.Style)
                {
                    this.ClearValue(DataField.StyleProperty);
                }

                this._parentDataForm = null;
            }
        }
 /// <summary>
 /// Constructs a new <see cref="DataFormAutomationPeer"/>.
 /// </summary>
 /// <param name="owner">The <see cref="DataForm"/>.</param>
 public DataFormAutomationPeer(DataForm owner)
     : base(owner)
 {
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Qualidade/QualidadeFuncionario.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.satisfacaoFuncionarioSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoFuncionarioSetDomainDataSource")));
     this.satisfacaoFuncionarioSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoFuncionarioSetDataGrid")));
     this.codigo_funcionarioColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigo_funcionarioColumn")));
     this.comentariosColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn")));
     this.data_avaliacaoColumn = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn")));
     this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn")));
     this.nome_funcionarioColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nome_funcionarioColumn")));
     this.nota_ambiente_trabalhoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_ambiente_trabalhoColumn")));
     this.nota_colegas_trabalhoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_colegas_trabalhoColumn")));
     this.nota_finalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn")));
     this.nota_satisfacao_pessoalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_satisfacao_pessoalColumn")));
     this.pgrSatisfacaoFuncionario = ((System.Windows.Controls.DataPager)(this.FindName("pgrSatisfacaoFuncionario")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.dfrSatisfacaoFuncionario = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoFuncionario")));
     this.button2 = ((System.Windows.Controls.Button)(this.FindName("button2")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ConvenioPlanoSaude.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.convenioPlanoSaudeSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("convenioPlanoSaudeSetDomainDataSource")));
     this.lblTitulo = ((System.Windows.Controls.Label)(this.FindName("lblTitulo")));
     this.convenioPlanoSaudeSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("convenioPlanoSaudeSetDataGrid")));
     this.codigoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigoColumn")));
     this.empresaColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("empresaColumn")));
     this.observacoesColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("observacoesColumn")));
     this.planoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("planoColumn")));
     this.telefoneColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("telefoneColumn")));
     this.pgrServicoMedico = ((System.Windows.Controls.DataPager)(this.FindName("pgrServicoMedico")));
     this.btnRegistrar = ((System.Windows.Controls.Button)(this.FindName("btnRegistrar")));
     this.dfrConvenio = ((System.Windows.Controls.DataForm)(this.FindName("dfrConvenio")));
     this.dgrDescontosServicos = ((System.Windows.Controls.DataGrid)(this.FindName("dgrDescontosServicos")));
     this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.descricaoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descricaoColumn")));
     this.descontoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descontoColumn")));
     this.btnDeletar = ((System.Windows.Controls.Button)(this.FindName("btnDeletar")));
 }
Exemplo n.º 22
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Qualidade/QualidadeCliente.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.satisfacaoClienteSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoClienteSetDomainDataSource")));
     this.satisfacaoClienteSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoClienteSetDataGrid")));
     this.comentariosColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn")));
     this.data_avaliacaoColumn = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn")));
     this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn")));
     this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
     this.nota_finalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn")));
     this.outra_opiniaoColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("outra_opiniaoColumn")));
     this.qualidade_atendimentoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("qualidade_atendimentoColumn")));
     this.tempo_esperaColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("tempo_esperaColumn")));
     this.pgrSatisfacaoCliente = ((System.Windows.Controls.DataPager)(this.FindName("pgrSatisfacaoCliente")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.dfrSatisfacaoCliente = ((System.Windows.Controls.DataForm)(this.FindName("dfrSatisfacaoCliente")));
     this.Remover = ((System.Windows.Controls.Button)(this.FindName("Remover")));
 }
Exemplo n.º 23
0
        /// <summary>
        /// Calls SetAllCanProperties() and either UpdateStates() or UpdateButtonsAndStates()
        /// on the given DataForm.
        /// </summary>
        /// <param name="dataForm">The DataForm.</param>
        /// <param name="onlyUpdateStates">Whether to call UpdateStates() or UpdateButtonsAndStates()</param>
        private static void SetAllCanPropertiesAndUpdate(DataForm dataForm, bool onlyUpdateStates)
        {
            if (dataForm != null)
            {
                dataForm.SetAllCanProperties();

                if (onlyUpdateStates)
                {
                    dataForm.UpdateStates();
                }
                else
                {
                    dataForm.UpdateButtonsAndStates();
                }
            }
        }