コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM2 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormOk));
     this.associacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     this.SuspendLayout();
     //
     // associacaoBGM1
     //
     colunaAssociacaoBGM1.Caption   = "ColunaAssociacaoBGM1";
     colunaAssociacaoBGM1.FieldName = "ColunaAssociacaoBGM1";
     colunaAssociacaoBGM2.Caption   = "ColunaAssociacaoBGM2";
     colunaAssociacaoBGM2.FieldName = "ColunaAssociacaoBGM2";
     this.associacaoBGM1.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM1,
         colunaAssociacaoBGM2
     });
     resources.ApplyResources(this.associacaoBGM1, "associacaoBGM1");
     this.associacaoBGM1.Name   = "associacaoBGM1";
     this.associacaoBGM1.Titulo = "[AssociacaoBGM]";
     //
     // Form1
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.associacaoBGM1);
     this.Name = "Form1";
     this.Controls.SetChildIndex(this.associacaoBGM1, 0);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM2 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM3 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM4 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM5 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM6 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM7 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     this.button1        = new System.Windows.Forms.Button();
     this.associacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     this.cmbBxEdtTipo   = new DevExpress.XtraEditors.ComboBoxEdit();
     this.lblCtrZona     = new FGlobus.Componentes.WinForms.LabelControlBGM(this.components);
     this.gridControl1   = new DevExpress.XtraGrid.GridControl();
     this.gridView1      = new DevExpress.XtraGrid.Views.Grid.GridView();
     ((System.ComponentModel.ISupportInitialize)(this.cmbBxEdtTipo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(901, 69);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(122, 37);
     this.button1.TabIndex = 1;
     this.button1.Text     = "Consultar";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click_2);
     //
     // associacaoBGM1
     //
     colunaAssociacaoBGM1.Banda              = "Emp\\Fil\\Gar";
     colunaAssociacaoBGM1.Caption            = "Empresa";
     colunaAssociacaoBGM1.FieldName          = "Empresa";
     colunaAssociacaoBGM2.Banda              = "Emp\\Fil\\Gar";
     colunaAssociacaoBGM2.Caption            = "Filial";
     colunaAssociacaoBGM2.FieldName          = "Filial";
     colunaAssociacaoBGM3.Banda              = "Emp\\Fil\\Gar";
     colunaAssociacaoBGM3.Caption            = "Garagem";
     colunaAssociacaoBGM3.FieldName          = "Garagem";
     colunaAssociacaoBGM4.Caption            = "Placa";
     colunaAssociacaoBGM4.FieldName          = "Placa";
     colunaAssociacaoBGM5.Caption            = "Prefixo";
     colunaAssociacaoBGM5.FieldName          = "Prefixo";
     colunaAssociacaoBGM5.FieldNameAssociado = "Prefixo";
     colunaAssociacaoBGM6.Caption            = "Condicao";
     colunaAssociacaoBGM6.FieldName          = "Condicao";
     colunaAssociacaoBGM7.Caption            = "MyEnum";
     colunaAssociacaoBGM7.FieldName          = "MyEnum";
     this.associacaoBGM1.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM1,
         colunaAssociacaoBGM2,
         colunaAssociacaoBGM3,
         colunaAssociacaoBGM4,
         colunaAssociacaoBGM5,
         colunaAssociacaoBGM6,
         colunaAssociacaoBGM7
     });
     this.associacaoBGM1.LayOut   = FGlobus.Componentes.WinForms.AssociacaoBGM.eLayOut.Horizontal;
     this.associacaoBGM1.Location = new System.Drawing.Point(12, 12);
     this.associacaoBGM1.Name     = "associacaoBGM1";
     this.associacaoBGM1.Size     = new System.Drawing.Size(865, 433);
     this.associacaoBGM1.TabIndex = 0;
     this.associacaoBGM1.TipoCondicaoItemAssociado = FGlobus.Componentes.WinForms.AssociacaoBGM.eTipoCondicaoItemAssociado.Bloquear;
     this.associacaoBGM1.Titulo = "Veículos";
     //
     // cmbBxEdtTipo
     //
     this.cmbBxEdtTipo.EditValue = "";
     this.cmbBxEdtTipo.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.cmbBxEdtTipo.Location  = new System.Drawing.Point(901, 34);
     this.cmbBxEdtTipo.Name      = "cmbBxEdtTipo";
     this.cmbBxEdtTipo.Properties.AutoComplete = false;
     this.cmbBxEdtTipo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cmbBxEdtTipo.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cmbBxEdtTipo.ShowToolTips             = false;
     this.cmbBxEdtTipo.Size     = new System.Drawing.Size(122, 20);
     this.cmbBxEdtTipo.TabIndex = 4;
     //
     // lblCtrZona
     //
     this.lblCtrZona.Appearance.ForeColor = System.Drawing.Color.Black;
     this.lblCtrZona.Controle             = this.cmbBxEdtTipo;
     this.lblCtrZona.Location             = new System.Drawing.Point(901, 15);
     this.lblCtrZona.Name     = "lblCtrZona";
     this.lblCtrZona.Size     = new System.Drawing.Size(44, 13);
     this.lblCtrZona.TabIndex = 11;
     this.lblCtrZona.Text     = "Condição";
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(901, 149);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(362, 232);
     this.gridControl1.TabIndex = 12;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     //
     // FrmAssociacaoBGM3
     //
     this.ClientSize = new System.Drawing.Size(1331, 473);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.lblCtrZona);
     this.Controls.Add(this.cmbBxEdtTipo);
     this.Controls.Add(this.associacaoBGM1);
     this.Controls.Add(this.button1);
     this.Name   = "FrmAssociacaoBGM3";
     this.Shown += new System.EventHandler(this.FrmAssociacaoBGM3_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.cmbBxEdtTipo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAssociacaoBGMDemo1));
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM2 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM3 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM4 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     this.associacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBotoesMFCadastro)).BeginInit();
     this.pnlCtrlBotoesMFCadastro.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTelaMFCadastro)).BeginInit();
     this.pnlCtrlTelaMFCadastro.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlCtrlBotoesMFCadastro
     //
     this.pnlCtrlBotoesMFCadastro.Location = new System.Drawing.Point(0, 309);
     //
     // pnlCtrlTelaMFCadastro
     //
     this.pnlCtrlTelaMFCadastro.Controls.Add(this.associacaoBGM1);
     this.pnlCtrlTelaMFCadastro.Size = new System.Drawing.Size(494, 278);
     //
     // smpBtnBGMExcluirMFCadastro
     //
     this.smpBtnBGMExcluirMFCadastro.Image    = ((System.Drawing.Image)(resources.GetObject("smpBtnBGMExcluirMFCadastro.Image")));
     this.smpBtnBGMExcluirMFCadastro.Location = new System.Drawing.Point(346, 6);
     //
     // smpBtnBGMLimparMFCadastro
     //
     this.smpBtnBGMLimparMFCadastro.Image    = ((System.Drawing.Image)(resources.GetObject("smpBtnBGMLimparMFCadastro.Image")));
     this.smpBtnBGMLimparMFCadastro.Location = new System.Drawing.Point(198, 6);
     //
     // smpBtnBGMGravarMFCadastro
     //
     this.smpBtnBGMGravarMFCadastro.Image    = ((System.Drawing.Image)(resources.GetObject("smpBtnBGMGravarMFCadastro.Image")));
     this.smpBtnBGMGravarMFCadastro.Location = new System.Drawing.Point(50, 6);
     //
     // associacaoBGM1
     //
     colunaAssociacaoBGM1.Caption              = "ID";
     colunaAssociacaoBGM1.FieldName            = "ID";
     colunaAssociacaoBGM1.VisualizarNosLayouts = "";
     colunaAssociacaoBGM2.Caption              = "Código";
     colunaAssociacaoBGM2.FieldName            = "Cod";
     colunaAssociacaoBGM3.Caption              = "Descrição";
     colunaAssociacaoBGM3.FieldName            = "Desc";
     colunaAssociacaoBGM4.Caption              = "Apelido";
     colunaAssociacaoBGM4.FieldName            = "Ape";
     colunaAssociacaoBGM4.VisualizarNosLayouts = "A;H";
     this.associacaoBGM1.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM1,
         colunaAssociacaoBGM2,
         colunaAssociacaoBGM3,
         colunaAssociacaoBGM4
     });
     this.associacaoBGM1.Location             = new System.Drawing.Point(12, 6);
     this.associacaoBGM1.Name                 = "associacaoBGM1";
     this.associacaoBGM1.Obrigatorio          = true;
     this.associacaoBGM1.Size                 = new System.Drawing.Size(470, 271);
     this.associacaoBGM1.TabIndex             = 0;
     this.associacaoBGM1.Titulo               = "Demonstração controle associação BGM";
     this.associacaoBGM1.ClickBotaoConsultar += new FGlobus.Componentes.WinForms.AssociacaoBGMConsultarEventHandler(this.associacaoBGM1_ClickBotaoConsultar);
     //
     // FrmAssociacaoBGMDemo1
     //
     this.Appearance.ForeColor            = System.Drawing.Color.Black;
     this.Appearance.Options.UseForeColor = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode    = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize       = new System.Drawing.Size(494, 352);
     this.Name             = "FrmAssociacaoBGMDemo1";
     this.Text             = "Demonstração controle associação BGM";
     this.HabilitarBotoes += new FGlobus.Componentes.WinForms.MasterFormEventHandler(this.FrmAssociacaoBGMDemo1_HabilitarBotoes);
     this.Shown           += new System.EventHandler(this.FrmAssociacaoBGMDemo1_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBotoesMFCadastro)).EndInit();
     this.pnlCtrlBotoesMFCadastro.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTelaMFCadastro)).EndInit();
     this.pnlCtrlTelaMFCadastro.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM1  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM2  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM3  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM4  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM5  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM6  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM7  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM8  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM9  = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM10 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM11 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM12 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM13 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM14 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAssociacaoBGM1));
     this.associacaoBGM5     = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     this.listBoxControl1    = new DevExpress.XtraEditors.ListBoxControl();
     this.simpleButton1      = new DevExpress.XtraEditors.SimpleButton();
     this.imageComboBoxEdit1 = new DevExpress.XtraEditors.ImageComboBoxEdit();
     this.associacaoBGM1     = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     this.gridControl1       = new DevExpress.XtraGrid.GridControl();
     this.advBandedGridView1 = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView();
     this.gridBand1          = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.simpleButton2      = new DevExpress.XtraEditors.SimpleButton();
     this.imageCollection1   = new DevExpress.Utils.ImageCollection(this.components);
     this.textEditBGM1       = new FGlobus.Componentes.WinForms.TextEditBGM(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.listBoxControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageComboBoxEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBGM1.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // associacaoBGM5
     //
     this.associacaoBGM5.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)));
     colunaAssociacaoBGM1.Caption      = "ColunaAssociacaoBGM7";
     colunaAssociacaoBGM1.FieldName    = "MyEnumX";
     colunaAssociacaoBGM2.Caption      = "ID";
     colunaAssociacaoBGM2.FieldName    = "ID";
     colunaAssociacaoBGM2.FormatString = "000";
     colunaAssociacaoBGM2.FormatType   = DevExpress.Utils.FormatType.Numeric;
     colunaAssociacaoBGM3.Caption      = "Cod";
     colunaAssociacaoBGM3.FieldName    = "Cod";
     colunaAssociacaoBGM3.FormatString = "";
     colunaAssociacaoBGM4.Caption      = "Cod2";
     colunaAssociacaoBGM4.FieldName    = "Cod2";
     colunaAssociacaoBGM4.FormatString = "";
     colunaAssociacaoBGM5.Caption      = "Desc";
     colunaAssociacaoBGM5.FieldName    = "Desc";
     colunaAssociacaoBGM5.FormatString = "";
     colunaAssociacaoBGM6.Caption      = "ApeXXXX";
     colunaAssociacaoBGM6.FieldName    = "ApeXXXX";
     colunaAssociacaoBGM6.FormatString = "";
     colunaAssociacaoBGM7.Caption      = "OK";
     colunaAssociacaoBGM7.FieldName    = "OK";
     colunaAssociacaoBGM7.FormatString = "";
     colunaAssociacaoBGM8.Caption      = "Data";
     colunaAssociacaoBGM8.FieldName    = "Data";
     colunaAssociacaoBGM8.FormatString = "g";
     colunaAssociacaoBGM8.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.associacaoBGM5.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM1,
         colunaAssociacaoBGM2,
         colunaAssociacaoBGM3,
         colunaAssociacaoBGM4,
         colunaAssociacaoBGM5,
         colunaAssociacaoBGM6,
         colunaAssociacaoBGM7,
         colunaAssociacaoBGM8
     });
     this.associacaoBGM5.LayOut              = FGlobus.Componentes.WinForms.AssociacaoBGM.eLayOut.Horizontal;
     this.associacaoBGM5.Location            = new System.Drawing.Point(12, 12);
     this.associacaoBGM5.Name                = "associacaoBGM5";
     this.associacaoBGM5.OrdenacaoAutomatica = false;
     this.associacaoBGM5.Size                = new System.Drawing.Size(842, 651);
     this.associacaoBGM5.TabIndex            = 6;
     this.associacaoBGM5.Titulo              = "[AssociacaoBGM]";
     //
     // listBoxControl1
     //
     this.listBoxControl1.Location = new System.Drawing.Point(956, 56);
     this.listBoxControl1.Name     = "listBoxControl1";
     this.listBoxControl1.Size     = new System.Drawing.Size(197, 48);
     this.listBoxControl1.TabIndex = 7;
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(956, 27);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(75, 23);
     this.simpleButton1.TabIndex = 8;
     this.simpleButton1.Text     = "simpleButton1";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // imageComboBoxEdit1
     //
     this.imageComboBoxEdit1.Location = new System.Drawing.Point(1053, 24);
     this.imageComboBoxEdit1.Name     = "imageComboBoxEdit1";
     this.imageComboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.imageComboBoxEdit1.Size     = new System.Drawing.Size(100, 20);
     this.imageComboBoxEdit1.TabIndex = 9;
     //
     // associacaoBGM1
     //
     colunaAssociacaoBGM9.Caption    = "ColunaAssociacaoBGM1";
     colunaAssociacaoBGM9.FieldName  = "ID";
     colunaAssociacaoBGM10.Caption   = "ColunaAssociacaoBGM2";
     colunaAssociacaoBGM10.FieldName = "Cod";
     colunaAssociacaoBGM11.Caption   = "ColunaAssociacaoBGM3";
     colunaAssociacaoBGM11.FieldName = "Cod2";
     colunaAssociacaoBGM12.Caption   = "ColunaAssociacaoBGM4";
     colunaAssociacaoBGM12.FieldName = "Desc";
     colunaAssociacaoBGM13.Caption   = "ColunaAssociacaoBGM5";
     colunaAssociacaoBGM13.FieldName = "Ape";
     colunaAssociacaoBGM14.Caption   = "ColunaAssociacaoBGM6";
     colunaAssociacaoBGM14.FieldName = "Cadastro1";
     this.associacaoBGM1.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM9,
         colunaAssociacaoBGM10,
         colunaAssociacaoBGM11,
         colunaAssociacaoBGM12,
         colunaAssociacaoBGM13,
         colunaAssociacaoBGM14
     });
     this.associacaoBGM1.HabilitarBotaoConsultar = true;
     this.associacaoBGM1.Location             = new System.Drawing.Point(956, 110);
     this.associacaoBGM1.Name                 = "associacaoBGM1";
     this.associacaoBGM1.Size                 = new System.Drawing.Size(467, 180);
     this.associacaoBGM1.TabIndex             = 33;
     this.associacaoBGM1.Titulo               = "[AssociacaoBGM]";
     this.associacaoBGM1.ClickBotaoConsultar += new FGlobus.Componentes.WinForms.AssociacaoBGMConsultarEventHandler(this.associacaoBGM1_ClickBotaoConsultar);
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(956, 308);
     this.gridControl1.MainView = this.advBandedGridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(467, 307);
     this.gridControl1.TabIndex = 34;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.advBandedGridView1
     });
     //
     // advBandedGridView1
     //
     this.advBandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
         this.gridBand1
     });
     this.advBandedGridView1.GridControl = this.gridControl1;
     this.advBandedGridView1.Name        = "advBandedGridView1";
     this.advBandedGridView1.OptionsView.ShowAutoFilterRow = true;
     this.advBandedGridView1.OptionsView.ShowBands         = false;
     //
     // gridBand1
     //
     this.gridBand1.Caption  = "gridBand1";
     this.gridBand1.MinWidth = 20;
     this.gridBand1.Name     = "gridBand1";
     //
     // simpleButton2
     //
     this.simpleButton2.Location = new System.Drawing.Point(1227, 70);
     this.simpleButton2.Name     = "simpleButton2";
     this.simpleButton2.Size     = new System.Drawing.Size(75, 23);
     this.simpleButton2.TabIndex = 35;
     this.simpleButton2.Text     = "simpleButton2";
     this.simpleButton2.Click   += new System.EventHandler(this.simpleButton2_Click);
     //
     // imageCollection1
     //
     this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream")));
     this.imageCollection1.Images.SetKeyName(0, "addFavoritos16x16.png");
     this.imageCollection1.Images.SetKeyName(1, "Agenda.png");
     this.imageCollection1.Images.SetKeyName(2, "ajuda16x16.png");
     this.imageCollection1.Images.SetKeyName(3, "AlignBottom_16x16.png");
     this.imageCollection1.Images.SetKeyName(4, "AlignHorizontalCenters_16x16.png");
     this.imageCollection1.Images.SetKeyName(5, "AlignLeft_16x16.png");
     this.imageCollection1.Images.SetKeyName(6, "AlignRight_16x16.png");
     this.imageCollection1.Images.SetKeyName(7, "AlignToGrid_16x16.png");
     this.imageCollection1.Images.SetKeyName(8, "AlignTop_16x16.png");
     this.imageCollection1.Images.SetKeyName(9, "AlignVerticalCenters_16x16.png");
     this.imageCollection1.Images.SetKeyName(10, "Alimentacao.bmp");
     this.imageCollection1.Images.SetKeyName(11, "anotacoes16x16.png");
     this.imageCollection1.Images.SetKeyName(12, "BackColor_16x16.png");
     this.imageCollection1.Images.SetKeyName(13, "BringToFront_16x16.png");
     //
     // textEditBGM1
     //
     this.textEditBGM1.Location = new System.Drawing.Point(860, 186);
     this.textEditBGM1.Name     = "textEditBGM1";
     this.textEditBGM1.Size     = new System.Drawing.Size(100, 20);
     this.textEditBGM1.TabIndex = 36;
     //
     // FrmAssociacaoBGM1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1431, 675);
     this.Controls.Add(this.textEditBGM1);
     this.Controls.Add(this.simpleButton2);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.associacaoBGM1);
     this.Controls.Add(this.imageComboBoxEdit1);
     this.Controls.Add(this.simpleButton1);
     this.Controls.Add(this.listBoxControl1);
     this.Controls.Add(this.associacaoBGM5);
     this.Name   = "FrmAssociacaoBGM1";
     this.Text   = "Demonstração controle associação BGM";
     this.Shown += new System.EventHandler(this.FrmTeste_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.listBoxControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageComboBoxEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBGM1.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM colunaAssociacaoBGM2 = new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.gridView1    = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
     this.repositoryItemComboBox1            = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemImageComboBox1       = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
     this.associacaoBGM1 = new FGlobus.Componentes.WinForms.AssociacaoBGM();
     this.button1        = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(12, 12);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemCheckedComboBoxEdit1,
         this.repositoryItemComboBox1,
         this.repositoryItemImageComboBox1
     });
     this.gridControl1.Size     = new System.Drawing.Size(540, 570);
     this.gridControl1.TabIndex = 7;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Appearance.ViewCaption.Options.UseTextOptions = true;
     this.gridView1.Appearance.ViewCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
         styleFormatCondition1
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.Editable = false;
     this.gridView1.FocusedRowChanged       += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // repositoryItemCheckedComboBoxEdit1
     //
     this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false;
     this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1";
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AutoHeight = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     //
     // repositoryItemImageComboBox1
     //
     this.repositoryItemImageComboBox1.AutoHeight = false;
     this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1";
     //
     // associacaoBGM1
     //
     colunaAssociacaoBGM1.Caption            = "Código";
     colunaAssociacaoBGM1.FieldName          = "Codigo";
     colunaAssociacaoBGM1.FieldNameAssociado = "CodigoCadastro";
     colunaAssociacaoBGM2.Caption            = "Descrição";
     colunaAssociacaoBGM2.FieldName          = "Descricao";
     this.associacaoBGM1.Colunas.AddRange(new FGlobus.Componentes.WinForms.AssociacaoBGM.ColunaAssociacaoBGM[] {
         colunaAssociacaoBGM1,
         colunaAssociacaoBGM2
     });
     this.associacaoBGM1.HabilitarBotaoConsultar = true;
     this.associacaoBGM1.Location             = new System.Drawing.Point(934, 12);
     this.associacaoBGM1.Name                 = "associacaoBGM1";
     this.associacaoBGM1.OrdenacaoAutomatica  = false;
     this.associacaoBGM1.Size                 = new System.Drawing.Size(386, 570);
     this.associacaoBGM1.TabIndex             = 8;
     this.associacaoBGM1.Titulo               = "[AssociacaoBGM]";
     this.associacaoBGM1.ClickBotaoConsultar += new FGlobus.Componentes.WinForms.AssociacaoBGMConsultarEventHandler(this.associacaoBGM1_ClickBotaoConsultar);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(558, 12);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(88, 38);
     this.button1.TabIndex = 9;
     this.button1.Text     = "button1";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // FrmAssociacaoBGM4
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1340, 594);
     this.Controls.Add(this.associacaoBGM1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.gridControl1);
     this.Name   = "FrmAssociacaoBGM4";
     this.Text   = "FrmAssociacaoBGM4";
     this.Shown += new System.EventHandler(this.FrmAssociacaoBGM4_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
     this.ResumeLayout(false);
 }