protected virtual void updateContextStatusBar(GISATreeNode node) { if (!(MasterPanel.isContextPanel(this))) { return; } if (node == null || node.NivelRow.RowState == DataRowState.Detached) { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Empty; } else { GISADataset.RelacaoHierarquicaRow rhRow = ((GISATreeNode)node).RelacaoHierarquicaRow; GISADataset.TipoNivelRelacionadoRow tnrRow = TipoNivelRelacionado.GetTipoNivelRelacionadoFromRelacaoHierarquica(rhRow); ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico(node); if (pathEstrut.Count == 0) { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Format(" {0}: {1}", tnrRow.Designacao, node.NivelRow.Codigo); } else { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Format(" {0}: {1}", tnrRow.Designacao, Nivel.buildPath(pathEstrut)); } } }
protected void SetToolTip_action(object sender, object item) { if (item != null) { if (sender == this.nivelEstruturalList1) { ListViewItem lvItem = (ListViewItem)item; if (!(((GISATreeNode)item).NivelRow == null) && !(((GISATreeNode)item).NivelRow.RowState == DataRowState.Detached)) { var nRow = ((GISATreeNode)item).NivelRow; var cod = string.Empty; GisaDataSetHelper.HoldOpen ho = new GisaDataSetHelper.HoldOpen(GisaDataSetHelper.GetConnection()); try { cod = DBAbstractDataLayer.DataAccessRules.NivelRule.Current.GetCodigoCompletoNivel(nRow.ID, ho.Connection); } catch (Exception ex) { Trace.WriteLine(ex); throw; } finally { ho.Dispose(); } lvItem.ToolTipText = cod; } } else if (sender == this.nivelDocumentalListNavigator1) { ListViewItem lvItem = (ListViewItem)item; if (!(((GISADataset.NivelRow)lvItem.Tag).RowState == DataRowState.Detached) || !(this.controloNivelListEstrutural1.SelectedNode.NivelRow.RowState == DataRowState.Detached)) { ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico(this.controloNivelListEstrutural1.SelectedNode); ArrayList pathDoc = this.nivelDocumentalListNavigator1.GetCodigoCompletoCaminhoUnico(lvItem); lvItem.ToolTipText = string.Format("{0}/{1}", GISA.Model.Nivel.buildPath(pathEstrut), GISA.Model.Nivel.buildPath(pathDoc)); } } else { if (!(((GISATreeNode)item).NivelRow == null) && !(((GISATreeNode)item).NivelRow.RowState == DataRowState.Detached)) { ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico((GISATreeNode)item); if (pathEstrut.Count == 0) { ((GISATreeNode)item).ToolTipText = ((GISATreeNode)item).NivelRow.Codigo; } else { ((GISATreeNode)item).ToolTipText = string.Format("{0}", GISA.Model.Nivel.buildPath(pathEstrut)); } } } } }
private string GetCodigoCompleto(object element) { MasterPanelPermissoesPlanoClassificacao mpPPC = (MasterPanelPermissoesPlanoClassificacao)(((frmMain)this.TopLevelControl).MasterPanel); string nCod = null; if (element is GISATreeNode) { GISATreeNode node = (GISATreeNode)element; ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico(node); if (pathEstrut.Count == 0) { nCod = node.NivelRow.Codigo; } else { nCod = Nivel.buildPath(pathEstrut); } } else if (element is ListViewItem) { ListViewItem item = (ListViewItem)element; GISADataset.RelacaoHierarquicaRow rhRow = (GISADataset.RelacaoHierarquicaRow)(GisaDataSetHelper.GetInstance().RelacaoHierarquica.Select(string.Format("ID={0} AND IDUpper={1}", ((GISADataset.NivelRow)item.Tag).ID, mpPPC.nivelNavigator1.ContextBreadCrumbsPathID))[0]); GISADataset.TipoNivelRelacionadoRow tnrRow = TipoNivelRelacionado.GetTipoNivelRelacionadoFromRelacaoHierarquica(rhRow); ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico(mpPPC.nivelNavigator1.SelectedNode); ArrayList pathDoc = mpPPC.nivelNavigator1.GetCodigoCompletoCaminhoUnico(item); if (pathDoc.Count == 0 && pathEstrut.Count == 0) { nCod = tnrRow.Designacao; } else { nCod = string.Format("{0}/{1}", Nivel.buildPath(pathEstrut), Nivel.buildPath(pathDoc)); } } return(nCod); }
protected virtual void updateContextStatusBar(ListViewItem listViewItem) { if (!(MasterPanel.isContextPanel(this))) { return; } if (listViewItem == null || (listViewItem != null && listViewItem.ListView == null) || ((GISADataset.NivelRow)listViewItem.Tag).RowState == DataRowState.Detached) { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Empty; } else { // prever a situação onde, concorrentemente, outro utilizador fez cut/paste do nível em(questão) // mudando assim, o caminho actual do mesmo if (GisaDataSetHelper.GetInstance().RelacaoHierarquica.Select(string.Format("ID={0} AND IDUpper={1}", ((GISADataset.NivelRow)listViewItem.Tag).ID, this.nivelNavigator1.ContextBreadCrumbsPathID)).Length > 0) { GISADataset.RelacaoHierarquicaRow rhRow = (GISADataset.RelacaoHierarquicaRow)(GisaDataSetHelper.GetInstance().RelacaoHierarquica.Select(string.Format("ID={0} AND IDUpper={1}", ((GISADataset.NivelRow)listViewItem.Tag).ID, this.nivelNavigator1.ContextBreadCrumbsPathID))[0]); GISADataset.TipoNivelRelacionadoRow tnrRow = TipoNivelRelacionado.GetTipoNivelRelacionadoFromRelacaoHierarquica(rhRow); ArrayList pathEstrut = ControloNivelList.GetCodigoCompletoCaminhoUnico(this.nivelNavigator1.SelectedNode); ArrayList pathDoc = this.nivelNavigator1.GetCodigoCompletoCaminhoUnico(listViewItem); if (pathDoc.Count == 0 && pathEstrut.Count == 0) { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Format(" {0}", tnrRow.Designacao); } else { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Format(" {0}: {1}/{2}", tnrRow.Designacao, Nivel.buildPath(pathEstrut), Nivel.buildPath(pathDoc)); } } else { ((frmMain)TopLevelControl).StatusBarPanelHint.Text = string.Empty; } } }
private void InitializeComponent() { this.TabControl1 = new System.Windows.Forms.TabControl(); this.TabPage2 = new System.Windows.Forms.TabPage(); this.chkFiltroUFsEliminadas = new System.Windows.Forms.CheckBox(); this.txtGuiaIncorporacao = new System.Windows.Forms.TextBox(); this.lblGuiaIncorporacao = new System.Windows.Forms.Label(); this.txtCodigoBarras = new System.Windows.Forms.TextBox(); this.lblCodigoBarras = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cdbInicioDoFim = new GISA.Controls.PxCompleteDateBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.cdbFimDoFim = new GISA.Controls.PxCompleteDateBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cdbDataInicio = new GISA.Controls.PxCompleteDateBox(); this.lblDataProducaoInicio = new System.Windows.Forms.Label(); this.lblDataProducaoFim = new System.Windows.Forms.Label(); this.cdbDataFim = new GISA.Controls.PxCompleteDateBox(); this.cbTipoAcond = new System.Windows.Forms.ComboBox(); this.Label3 = new System.Windows.Forms.Label(); this.cbAssociacoes = new System.Windows.Forms.ComboBox(); this.Label2 = new System.Windows.Forms.Label(); this.cdbDataEdicaoInicio = new GISA.Controls.PxCompleteDateBox(); this.cdbDataEdicaoFim = new GISA.Controls.PxCompleteDateBox(); this.lblDataEdicaoFim = new System.Windows.Forms.Label(); this.lblDataEdicaoInicio = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.txtOperador = new System.Windows.Forms.TextBox(); this.lblOperador = new System.Windows.Forms.Label(); this.lblDatasProducao = new System.Windows.Forms.Label(); this.txtDesignacao = new System.Windows.Forms.TextBox(); this.lblDesignacao = new System.Windows.Forms.Label(); this.txtCdReferencia = new System.Windows.Forms.TextBox(); this.lblNumero = new System.Windows.Forms.Label(); this.txtCota = new System.Windows.Forms.TextBox(); this.lblCota = new System.Windows.Forms.Label(); this.txtConteudoInformacional = new System.Windows.Forms.TextBox(); this.lblConteudo = new System.Windows.Forms.Label(); this.TabPage3 = new System.Windows.Forms.TabPage(); this.chkEstruturaArquivistica = new System.Windows.Forms.CheckBox(); this.cnList = new ControloNivelList(); this.ToolBarButtonExecutar = new System.Windows.Forms.ToolBarButton(); this.ToolBarButtonLimpar = new System.Windows.Forms.ToolBarButton(); this.ToolBarButtonAjuda = new System.Windows.Forms.ToolBarButton(); this.pnlToolbarPadding.SuspendLayout(); this.TabControl1.SuspendLayout(); this.TabPage2.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.TabPage3.SuspendLayout(); this.SuspendLayout(); // // lblFuncao // this.lblFuncao.Location = new System.Drawing.Point(0, 0); this.lblFuncao.Size = new System.Drawing.Size(800, 24); this.lblFuncao.Text = "Pesquisa"; // // ToolBar // this.ToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ToolBarButtonExecutar, this.ToolBarButtonLimpar, this.ToolBarButtonAjuda }); this.ToolBar.ImageList = null; this.ToolBar.Size = new System.Drawing.Size(3624, 26); // // pnlToolbarPadding // this.pnlToolbarPadding.Location = new System.Drawing.Point(0, 24); this.pnlToolbarPadding.Size = new System.Drawing.Size(800, 28); // // TabControl1 // this.TabControl1.Controls.Add(this.TabPage2); this.TabControl1.Controls.Add(this.TabPage3); this.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.TabControl1.Location = new System.Drawing.Point(0, 52); this.TabControl1.Name = "TabControl1"; this.TabControl1.SelectedIndex = 0; this.TabControl1.Size = new System.Drawing.Size(800, 403); this.TabControl1.TabIndex = 1; // // TabPage2 // this.TabPage2.AutoScroll = true; this.TabPage2.Controls.Add(this.chkFiltroUFsEliminadas); this.TabPage2.Controls.Add(this.txtGuiaIncorporacao); this.TabPage2.Controls.Add(this.lblGuiaIncorporacao); this.TabPage2.Controls.Add(this.txtCodigoBarras); this.TabPage2.Controls.Add(this.lblCodigoBarras); this.TabPage2.Controls.Add(this.groupBox2); this.TabPage2.Controls.Add(this.groupBox1); this.TabPage2.Controls.Add(this.cbTipoAcond); this.TabPage2.Controls.Add(this.Label3); this.TabPage2.Controls.Add(this.cbAssociacoes); this.TabPage2.Controls.Add(this.Label2); this.TabPage2.Controls.Add(this.cdbDataEdicaoInicio); this.TabPage2.Controls.Add(this.cdbDataEdicaoFim); this.TabPage2.Controls.Add(this.lblDataEdicaoFim); this.TabPage2.Controls.Add(this.lblDataEdicaoInicio); this.TabPage2.Controls.Add(this.Label1); this.TabPage2.Controls.Add(this.txtOperador); this.TabPage2.Controls.Add(this.lblOperador); this.TabPage2.Controls.Add(this.lblDatasProducao); this.TabPage2.Controls.Add(this.txtDesignacao); this.TabPage2.Controls.Add(this.lblDesignacao); this.TabPage2.Controls.Add(this.txtCdReferencia); this.TabPage2.Controls.Add(this.lblNumero); this.TabPage2.Controls.Add(this.txtCota); this.TabPage2.Controls.Add(this.lblCota); this.TabPage2.Controls.Add(this.txtConteudoInformacional); this.TabPage2.Controls.Add(this.lblConteudo); this.TabPage2.Location = new System.Drawing.Point(4, 22); this.TabPage2.Name = "TabPage2"; this.TabPage2.Size = new System.Drawing.Size(792, 377); this.TabPage2.TabIndex = 1; this.TabPage2.Text = "Descrição"; // // chkFiltroUFsEliminadas // this.chkFiltroUFsEliminadas.AutoSize = true; this.chkFiltroUFsEliminadas.Checked = false; this.chkFiltroUFsEliminadas.CheckState = System.Windows.Forms.CheckState.Unchecked; this.chkFiltroUFsEliminadas.Location = new System.Drawing.Point(398, 10); this.chkFiltroUFsEliminadas.Name = "chkFiltroUFsEliminadas"; this.chkFiltroUFsEliminadas.Size = new System.Drawing.Size(214, 17); this.chkFiltroUFsEliminadas.TabIndex = 99; this.chkFiltroUFsEliminadas.Text = "Incluir unidades físicas eliminadas"; this.chkFiltroUFsEliminadas.UseVisualStyleBackColor = true; // // txtGuiaIncorporacao // this.txtGuiaIncorporacao.Location = new System.Drawing.Point(128, 329); this.txtGuiaIncorporacao.MaxLength = 2000; this.txtGuiaIncorporacao.Name = "txtGuiaIncorporacao"; this.txtGuiaIncorporacao.Size = new System.Drawing.Size(568, 20); this.txtGuiaIncorporacao.TabIndex = 97; this.txtGuiaIncorporacao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblGuiaIncorporacao // this.lblGuiaIncorporacao.Location = new System.Drawing.Point(8, 326); this.lblGuiaIncorporacao.Name = "lblGuiaIncorporacao"; this.lblGuiaIncorporacao.Size = new System.Drawing.Size(128, 24); this.lblGuiaIncorporacao.TabIndex = 98; this.lblGuiaIncorporacao.Text = "Guia de incorporação"; this.lblGuiaIncorporacao.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtCodigoBarras // this.txtCodigoBarras.Location = new System.Drawing.Point(128, 86); this.txtCodigoBarras.MaxLength = 2000; this.txtCodigoBarras.Name = "txtCodigoBarras"; this.txtCodigoBarras.Size = new System.Drawing.Size(252, 20); this.txtCodigoBarras.TabIndex = 96; this.txtCodigoBarras.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblCodigoBarras // this.lblCodigoBarras.Location = new System.Drawing.Point(8, 83); this.lblCodigoBarras.Name = "lblCodigoBarras"; this.lblCodigoBarras.Size = new System.Drawing.Size(128, 24); this.lblCodigoBarras.TabIndex = 95; this.lblCodigoBarras.Text = "Código de barras:"; this.lblCodigoBarras.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // groupBox2 // this.groupBox2.Controls.Add(this.cdbInicioDoFim); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.cdbFimDoFim); this.groupBox2.Location = new System.Drawing.Point(351, 112); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(217, 77); this.groupBox2.TabIndex = 94; this.groupBox2.TabStop = false; this.groupBox2.Text = "Fim"; // // cdbInicioDoFim // this.cdbInicioDoFim.Checked = false; this.cdbInicioDoFim.Day = 1; this.cdbInicioDoFim.Location = new System.Drawing.Point(47, 19); this.cdbInicioDoFim.Month = 1; this.cdbInicioDoFim.Name = "cdbInicioDoFim"; this.cdbInicioDoFim.Size = new System.Drawing.Size(160, 22); this.cdbInicioDoFim.TabIndex = 9; this.cdbInicioDoFim.Year = 1; // // label4 // this.label4.Location = new System.Drawing.Point(11, 19); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(44, 24); this.label4.TabIndex = 12; this.label4.Text = "entre"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label5 // this.label5.Location = new System.Drawing.Point(11, 43); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(16, 24); this.label5.TabIndex = 14; this.label5.Text = "e"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cdbFimDoFim // this.cdbFimDoFim.Checked = false; this.cdbFimDoFim.Day = 1; this.cdbFimDoFim.Location = new System.Drawing.Point(47, 47); this.cdbFimDoFim.Month = 1; this.cdbFimDoFim.Name = "cdbFimDoFim"; this.cdbFimDoFim.Size = new System.Drawing.Size(160, 22); this.cdbFimDoFim.TabIndex = 10; this.cdbFimDoFim.Year = 1; // // groupBox1 // this.groupBox1.Controls.Add(this.cdbDataInicio); this.groupBox1.Controls.Add(this.lblDataProducaoInicio); this.groupBox1.Controls.Add(this.lblDataProducaoFim); this.groupBox1.Controls.Add(this.cdbDataFim); this.groupBox1.Location = new System.Drawing.Point(128, 112); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(217, 77); this.groupBox1.TabIndex = 93; this.groupBox1.TabStop = false; this.groupBox1.Text = "Início"; // // cdbDataInicio // this.cdbDataInicio.Checked = false; this.cdbDataInicio.Day = 1; this.cdbDataInicio.Location = new System.Drawing.Point(47, 19); this.cdbDataInicio.Month = 1; this.cdbDataInicio.Name = "cdbDataInicio"; this.cdbDataInicio.Size = new System.Drawing.Size(160, 22); this.cdbDataInicio.TabIndex = 7; this.cdbDataInicio.Year = 1; // // lblDataProducaoInicio // this.lblDataProducaoInicio.Location = new System.Drawing.Point(11, 19); this.lblDataProducaoInicio.Name = "lblDataProducaoInicio"; this.lblDataProducaoInicio.Size = new System.Drawing.Size(44, 24); this.lblDataProducaoInicio.TabIndex = 12; this.lblDataProducaoInicio.Text = "entre"; this.lblDataProducaoInicio.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblDataProducaoFim // this.lblDataProducaoFim.Location = new System.Drawing.Point(11, 43); this.lblDataProducaoFim.Name = "lblDataProducaoFim"; this.lblDataProducaoFim.Size = new System.Drawing.Size(16, 24); this.lblDataProducaoFim.TabIndex = 14; this.lblDataProducaoFim.Text = "e"; this.lblDataProducaoFim.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cdbDataFim // this.cdbDataFim.Checked = false; this.cdbDataFim.Day = 1; this.cdbDataFim.Location = new System.Drawing.Point(47, 47); this.cdbDataFim.Month = 1; this.cdbDataFim.Name = "cdbDataFim"; this.cdbDataFim.Size = new System.Drawing.Size(160, 22); this.cdbDataFim.TabIndex = 8; this.cdbDataFim.Year = 1; // // cbTipoAcond // this.cbTipoAcond.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbTipoAcond.Location = new System.Drawing.Point(128, 221); this.cbTipoAcond.Name = "cbTipoAcond"; this.cbTipoAcond.Size = new System.Drawing.Size(252, 21); this.cbTipoAcond.TabIndex = 92; // // Label3 // this.Label3.Location = new System.Drawing.Point(8, 218); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(128, 24); this.Label3.TabIndex = 91; this.Label3.Text = "Tipo de Unidade Fisica:"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbAssociacoes // this.cbAssociacoes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAssociacoes.Items.AddRange(new object[] { "Todas", "Com unidades informacionais", "Sem unidades informacionais" }); this.cbAssociacoes.Location = new System.Drawing.Point(128, 302); this.cbAssociacoes.Name = "cbAssociacoes"; this.cbAssociacoes.Size = new System.Drawing.Size(252, 21); this.cbAssociacoes.TabIndex = 89; // // Label2 // this.Label2.Location = new System.Drawing.Point(8, 299); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(128, 24); this.Label2.TabIndex = 90; this.Label2.Text = "Unidades informacionais:"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cdbDataEdicaoInicio // this.cdbDataEdicaoInicio.Checked = false; this.cdbDataEdicaoInicio.Day = 1; this.cdbDataEdicaoInicio.Location = new System.Drawing.Point(164, 274); this.cdbDataEdicaoInicio.Month = 1; this.cdbDataEdicaoInicio.Name = "cdbDataEdicaoInicio"; this.cdbDataEdicaoInicio.Size = new System.Drawing.Size(171, 22); this.cdbDataEdicaoInicio.TabIndex = 80; this.cdbDataEdicaoInicio.Year = 1; // // cdbDataEdicaoFim // this.cdbDataEdicaoFim.Checked = false; this.cdbDataEdicaoFim.Day = 1; this.cdbDataEdicaoFim.Location = new System.Drawing.Point(365, 273); this.cdbDataEdicaoFim.Month = 1; this.cdbDataEdicaoFim.Name = "cdbDataEdicaoFim"; this.cdbDataEdicaoFim.Size = new System.Drawing.Size(166, 22); this.cdbDataEdicaoFim.TabIndex = 79; this.cdbDataEdicaoFim.Year = 1; // // lblDataEdicaoFim // this.lblDataEdicaoFim.Location = new System.Drawing.Point(341, 271); this.lblDataEdicaoFim.Name = "lblDataEdicaoFim"; this.lblDataEdicaoFim.Size = new System.Drawing.Size(16, 24); this.lblDataEdicaoFim.TabIndex = 76; this.lblDataEdicaoFim.Text = "e"; this.lblDataEdicaoFim.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblDataEdicaoInicio // this.lblDataEdicaoInicio.Location = new System.Drawing.Point(125, 271); this.lblDataEdicaoInicio.Name = "lblDataEdicaoInicio"; this.lblDataEdicaoInicio.Size = new System.Drawing.Size(44, 24); this.lblDataEdicaoInicio.TabIndex = 62; this.lblDataEdicaoInicio.Text = "entre"; this.lblDataEdicaoInicio.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label1 // this.Label1.Location = new System.Drawing.Point(8, 272); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(128, 24); this.Label1.TabIndex = 61; this.Label1.Text = "Data de edição:"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtOperador // this.txtOperador.Location = new System.Drawing.Point(128, 248); this.txtOperador.MaxLength = 2000; this.txtOperador.Name = "txtOperador"; this.txtOperador.Size = new System.Drawing.Size(252, 20); this.txtOperador.TabIndex = 8; this.txtOperador.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblOperador // this.lblOperador.Location = new System.Drawing.Point(8, 245); this.lblOperador.Name = "lblOperador"; this.lblOperador.Size = new System.Drawing.Size(128, 24); this.lblOperador.TabIndex = 55; this.lblOperador.Text = "Operador / Grupo:"; this.lblOperador.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblDatasProducao // this.lblDatasProducao.Location = new System.Drawing.Point(8, 128); this.lblDatasProducao.Name = "lblDatasProducao"; this.lblDatasProducao.Size = new System.Drawing.Size(128, 24); this.lblDatasProducao.TabIndex = 54; this.lblDatasProducao.Text = "Data de produção:"; this.lblDatasProducao.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtDesignacao // this.txtDesignacao.Location = new System.Drawing.Point(128, 34); this.txtDesignacao.MaxLength = 2000; this.txtDesignacao.Name = "txtDesignacao"; this.txtDesignacao.Size = new System.Drawing.Size(568, 20); this.txtDesignacao.TabIndex = 3; this.txtDesignacao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblDesignacao // this.lblDesignacao.Location = new System.Drawing.Point(8, 30); this.lblDesignacao.Name = "lblDesignacao"; this.lblDesignacao.Size = new System.Drawing.Size(128, 24); this.lblDesignacao.TabIndex = 48; this.lblDesignacao.Text = "Título:"; this.lblDesignacao.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtCdReferencia // this.txtCdReferencia.Location = new System.Drawing.Point(128, 8); this.txtCdReferencia.MaxLength = 2000; this.txtCdReferencia.Name = "txtCdReferencia"; this.txtCdReferencia.Size = new System.Drawing.Size(252, 20); this.txtCdReferencia.TabIndex = 2; this.txtCdReferencia.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblNumero // this.lblNumero.Location = new System.Drawing.Point(8, 5); this.lblNumero.Name = "lblNumero"; this.lblNumero.Size = new System.Drawing.Size(128, 24); this.lblNumero.TabIndex = 46; this.lblNumero.Text = "Código parcial:"; this.lblNumero.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtCota // this.txtCota.Location = new System.Drawing.Point(128, 60); this.txtCota.MaxLength = 2000; this.txtCota.Name = "txtCota"; this.txtCota.Size = new System.Drawing.Size(568, 20); this.txtCota.TabIndex = 4; this.txtCota.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblCota // this.lblCota.Location = new System.Drawing.Point(8, 57); this.lblCota.Name = "lblCota"; this.lblCota.Size = new System.Drawing.Size(128, 24); this.lblCota.TabIndex = 44; this.lblCota.Text = "Cota:"; this.lblCota.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtConteudoInformacional // this.txtConteudoInformacional.Location = new System.Drawing.Point(128, 195); this.txtConteudoInformacional.MaxLength = 2000; this.txtConteudoInformacional.Name = "txtConteudoInformacional"; this.txtConteudoInformacional.Size = new System.Drawing.Size(568, 20); this.txtConteudoInformacional.TabIndex = 7; this.txtConteudoInformacional.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MasterPanelPesquisaUF_KeyDown); // // lblConteudo // this.lblConteudo.Location = new System.Drawing.Point(8, 192); this.lblConteudo.Name = "lblConteudo"; this.lblConteudo.Size = new System.Drawing.Size(128, 24); this.lblConteudo.TabIndex = 21; this.lblConteudo.Text = "Conteúdo informacional:"; this.lblConteudo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // TabPage3 // this.TabPage3.AutoScroll = true; this.TabPage3.Controls.Add(this.chkEstruturaArquivistica); this.TabPage3.Controls.Add(this.cnList); this.TabPage3.Location = new System.Drawing.Point(4, 22); this.TabPage3.Name = "TabPage3"; this.TabPage3.Size = new System.Drawing.Size(792, 377); this.TabPage3.TabIndex = 2; this.TabPage3.Text = "Associações"; // // chkEstruturaArquivistica // this.chkEstruturaArquivistica.Location = new System.Drawing.Point(16, 0); this.chkEstruturaArquivistica.Name = "chkEstruturaArquivistica"; this.chkEstruturaArquivistica.Size = new System.Drawing.Size(72, 16); this.chkEstruturaArquivistica.TabIndex = 11; this.chkEstruturaArquivistica.Text = "Estrutura"; // // cnList // this.cnList.Dock = System.Windows.Forms.DockStyle.Top; this.cnList.Location = new System.Drawing.Point(0, 0); this.cnList.Name = "cnList"; this.cnList.Size = new System.Drawing.Size(775, 458); this.cnList.TabIndex = 12; // // ToolBarButtonExecutar // this.ToolBarButtonExecutar.Name = "ToolBarButtonExecutar"; // // ToolBarButtonLimpar // this.ToolBarButtonLimpar.Name = "ToolBarButtonLimpar"; // // ToolBarButtonAjuda // this.ToolBarButtonAjuda.Name = "ToolBarButtonAjuda"; // // MasterPanelPesquisaUF // this.Controls.Add(this.TabControl1); this.Name = "MasterPanelPesquisaUF"; this.Size = new System.Drawing.Size(800, 455); this.Controls.SetChildIndex(this.lblFuncao, 0); this.Controls.SetChildIndex(this.pnlToolbarPadding, 0); this.Controls.SetChildIndex(this.TabControl1, 0); this.pnlToolbarPadding.ResumeLayout(false); this.TabControl1.ResumeLayout(false); this.TabPage2.ResumeLayout(false); this.TabPage2.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.TabPage3.ResumeLayout(false); this.ResumeLayout(false); }
public void InitializeComponent() { this.btnCancel = new System.Windows.Forms.Button(); this.lblPonderacao = new System.Windows.Forms.Label(); this.cbDensidade = new System.Windows.Forms.ComboBox(); this.btnOk = new System.Windows.Forms.Button(); this.cbPonderacao = new System.Windows.Forms.ComboBox(); this.cbSubDensidade = new System.Windows.Forms.ComboBox(); this.lblDensidade = new System.Windows.Forms.Label(); this.lblSubDensidade = new System.Windows.Forms.Label(); this.cnList = new ControloNivelList(); this.SuspendLayout(); // //btnCancel // this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(480, 384); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(88, 23); this.btnCancel.TabIndex = 6; this.btnCancel.Text = "Cancelar"; // //lblPonderacao // this.lblPonderacao.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.lblPonderacao.Location = new System.Drawing.Point(48, 358); this.lblPonderacao.Name = "lblPonderacao"; this.lblPonderacao.Size = new System.Drawing.Size(72, 16); this.lblPonderacao.TabIndex = 3; this.lblPonderacao.Text = "Ponderação:"; // //cbDensidade // this.cbDensidade.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.cbDensidade.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbDensidade.Location = new System.Drawing.Point(128, 328); this.cbDensidade.Name = "cbDensidade"; this.cbDensidade.Size = new System.Drawing.Size(121, 21); this.cbDensidade.TabIndex = 2; // //btnOk // this.btnOk.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)); this.btnOk.Location = new System.Drawing.Point(384, 384); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(88, 23); this.btnOk.TabIndex = 5; this.btnOk.Text = "Adicionar"; // //cbPonderacao // this.cbPonderacao.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.cbPonderacao.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbPonderacao.Location = new System.Drawing.Point(128, 358); this.cbPonderacao.Name = "cbPonderacao"; this.cbPonderacao.Size = new System.Drawing.Size(121, 21); this.cbPonderacao.TabIndex = 4; // //cbSubDensidade // this.cbSubDensidade.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.cbSubDensidade.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSubDensidade.Location = new System.Drawing.Point(368, 328); this.cbSubDensidade.Name = "cbSubDensidade"; this.cbSubDensidade.Size = new System.Drawing.Size(121, 21); this.cbSubDensidade.TabIndex = 3; // //lblDensidade // this.lblDensidade.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.lblDensidade.Location = new System.Drawing.Point(24, 328); this.lblDensidade.Name = "lblDensidade"; this.lblDensidade.Size = new System.Drawing.Size(96, 16); this.lblDensidade.TabIndex = 6; this.lblDensidade.Text = "Tipo de produção:"; // //lblSubDensidade // this.lblSubDensidade.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)); this.lblSubDensidade.Location = new System.Drawing.Point(264, 328); this.lblSubDensidade.Name = "lblSubDensidade"; this.lblSubDensidade.Size = new System.Drawing.Size(104, 16); this.lblSubDensidade.TabIndex = 5; this.lblSubDensidade.Text = "Grau de densidade:"; // //cnList // this.cnList.Anchor = (System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)); this.cnList.Location = new System.Drawing.Point(0, 0); this.cnList.Name = "cnList"; this.cnList.Size = new System.Drawing.Size(578, 320); this.cnList.TabIndex = 1; // //FormComparacao // this.AcceptButton = this.btnOk; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(578, 415); this.ControlBox = false; this.Controls.Add(this.cnList); this.Controls.Add(this.cbSubDensidade); this.Controls.Add(this.cbDensidade); this.Controls.Add(this.lblDensidade); this.Controls.Add(this.lblSubDensidade); this.Controls.Add(this.cbPonderacao); this.Controls.Add(this.lblPonderacao); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MinimizeBox = false; this.Name = "FormComparacao"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Comparação"; this.ResumeLayout(false); //INSTANT C# NOTE: Converted event handlers: }