コード例 #1
0
        private void AddControlToGroup(UserRequestProperty prop, LayoutGroup group, Control control, eLayoutSizeType withType = eLayoutSizeType.Percent, int width = 100)
        {
            control.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
            var item = new LayoutControlItem()
            {
                TextVisible = true,
                WidthType   = withType,
                Width       = width,
                HeightType  = eLayoutSizeType.Absolute,
                Height      = control.Height + 8,
                Control     = control
            };

            if (control is TextBoxX)
            {
                item.MinSize = new Size(120, 0);
            }

            LayoutControl1.Controls.Add(control);
            group.Items.Add(item);
            if (control is TextBoxX)
            {
                // item.MinSize = New Size(120, 0)
                if (!prop.AllowEmptyState)
                {
                    var validor = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Requied field!")
                    {
                        HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red
                    };
                    SuperValidator1.SetValidator1(control, validor);
                }
            }
        }
コード例 #2
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tipo_Membresia));
     this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.textBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridViewX1
     //
     this.dataGridViewX1.AllowUserToAddRows = false;
     this.dataGridViewX1.AllowUserToDeleteRows = false;
     this.dataGridViewX1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridViewX1.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewX1.EnableHeadersVisualStyles = false;
     this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.dataGridViewX1.Location = new System.Drawing.Point(31, 203);
     this.dataGridViewX1.MultiSelect = false;
     this.dataGridViewX1.Name = "dataGridViewX1";
     this.dataGridViewX1.ReadOnly = true;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridViewX1.Size = new System.Drawing.Size(431, 150);
     this.dataGridViewX1.TabIndex = 14;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(37, 95);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(75, 23);
     this.labelX2.TabIndex = 13;
     this.labelX2.Text = "Descripcion :";
     //
     // textBoxX2
     //
     this.textBoxX2.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.textBoxX2.Border.Class = "TextBoxBorder";
     this.textBoxX2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxX2.ForeColor = System.Drawing.Color.Black;
     this.textBoxX2.Location = new System.Drawing.Point(118, 94);
     this.textBoxX2.MaxLength = 3000;
     this.textBoxX2.Multiline = true;
     this.textBoxX2.Name = "textBoxX2";
     this.textBoxX2.ReadOnly = true;
     this.textBoxX2.Size = new System.Drawing.Size(271, 91);
     this.textBoxX2.TabIndex = 12;
     //
     // textBoxX1
     //
     this.textBoxX1.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.textBoxX1.Border.Class = "TextBoxBorder";
     this.textBoxX1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxX1.ForeColor = System.Drawing.Color.Black;
     this.textBoxX1.Location = new System.Drawing.Point(118, 68);
     this.textBoxX1.MaxLength = 50;
     this.textBoxX1.Name = "textBoxX1";
     this.textBoxX1.ReadOnly = true;
     this.textBoxX1.Size = new System.Drawing.Size(141, 20);
     this.textBoxX1.TabIndex = 11;
     this.superValidator1.SetValidator1(this.textBoxX1, this.requiredFieldValidator1);
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(37, 65);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(75, 23);
     this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.labelX1.TabIndex = 10;
     this.labelX1.Text = "Nombre :";
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Campo requerido";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.Location = new System.Drawing.Point(162, 23);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(189, 23);
     this.labelX3.TabIndex = 15;
     this.labelX3.Text = "TIPOS DE MEMBRESIA";
     //
     // Tipo_Membresia
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.labelX3);
     this.Controls.Add(this.dataGridViewX1);
     this.Controls.Add(this.labelX2);
     this.Controls.Add(this.textBoxX2);
     this.Controls.Add(this.textBoxX1);
     this.Controls.Add(this.labelX1);
     this.Name = "Tipo_Membresia";
     this.Size = new System.Drawing.Size(497, 380);
     this.Load += new System.EventHandler(this.Tipo_Membresia_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tipo_Empresa));
     this.dgvTipoEmpresa = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.txtDescripcion = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTipoEmpresa)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // dgvTipoEmpresa
     //
     this.dgvTipoEmpresa.AllowUserToAddRows = false;
     this.dgvTipoEmpresa.AllowUserToDeleteRows = false;
     this.dgvTipoEmpresa.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvTipoEmpresa.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTipoEmpresa.DefaultCellStyle = dataGridViewCellStyle1;
     this.dgvTipoEmpresa.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.dgvTipoEmpresa.Location = new System.Drawing.Point(29, 179);
     this.dgvTipoEmpresa.MultiSelect = false;
     this.dgvTipoEmpresa.Name = "dgvTipoEmpresa";
     this.dgvTipoEmpresa.ReadOnly = true;
     this.dgvTipoEmpresa.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvTipoEmpresa.Size = new System.Drawing.Size(473, 150);
     this.dgvTipoEmpresa.TabIndex = 1;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(29, 86);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(75, 23);
     this.labelX2.TabIndex = 13;
     this.labelX2.Text = "Descripcion :";
     //
     // txtDescripcion
     //
     this.txtDescripcion.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtDescripcion.Border.Class = "TextBoxBorder";
     this.txtDescripcion.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtDescripcion.ForeColor = System.Drawing.Color.Black;
     this.txtDescripcion.Location = new System.Drawing.Point(110, 85);
     this.txtDescripcion.Multiline = true;
     this.txtDescripcion.Name = "txtDescripcion";
     this.txtDescripcion.ReadOnly = true;
     this.txtDescripcion.Size = new System.Drawing.Size(271, 81);
     this.txtDescripcion.TabIndex = 3;
     //
     // txtNombre
     //
     this.txtNombre.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtNombre.Border.Class = "TextBoxBorder";
     this.txtNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNombre.ForeColor = System.Drawing.Color.Black;
     this.txtNombre.Location = new System.Drawing.Point(110, 59);
     this.txtNombre.MaxLength = 50;
     this.txtNombre.Name = "txtNombre";
     this.txtNombre.ReadOnly = true;
     this.txtNombre.Size = new System.Drawing.Size(134, 20);
     this.txtNombre.TabIndex = 2;
     this.superValidator1.SetValidator1(this.txtNombre, this.requiredFieldValidator1);
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(29, 56);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(75, 23);
     this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.labelX1.TabIndex = 10;
     this.labelX1.Text = "Nombre :";
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Campo requerido";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.Location = new System.Drawing.Point(185, 17);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(182, 23);
     this.labelX3.TabIndex = 15;
     this.labelX3.Text = "TIPOS DE EMPRESA";
     //
     // Tipo_Empresa
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.labelX3);
     this.Controls.Add(this.dgvTipoEmpresa);
     this.Controls.Add(this.labelX2);
     this.Controls.Add(this.txtDescripcion);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.labelX1);
     this.Name = "Tipo_Empresa";
     this.Size = new System.Drawing.Size(529, 343);
     this.Load += new System.EventHandler(this.Tipo_Empresa_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTipoEmpresa)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Actividades));
     this.labelX27 = new DevComponents.DotNetBar.LabelX();
     this.cbTipSolic = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.ipFechCierre = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.chkbActCerrada = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.chkbRealizado = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.txObservacionesA = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.ipFechProg = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.txRef = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX26 = new DevComponents.DotNetBar.LabelX();
     this.labelX25 = new DevComponents.DotNetBar.LabelX();
     this.labelX24 = new DevComponents.DotNetBar.LabelX();
     this.labelX23 = new DevComponents.DotNetBar.LabelX();
     this.labelX22 = new DevComponents.DotNetBar.LabelX();
     this.labelX21 = new DevComponents.DotNetBar.LabelX();
     this.labelX20 = new DevComponents.DotNetBar.LabelX();
     this.cbTipoAct = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.btnAgregarAct = new DevComponents.DotNetBar.ButtonX();
     this.btnCambiosAct = new DevComponents.DotNetBar.ButtonX();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo Requerido");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     ((System.ComponentModel.ISupportInitialize)(this.ipFechCierre)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ipFechProg)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // labelX27
     //
     //
     //
     //
     this.labelX27.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX27.Location = new System.Drawing.Point(6, 14);
     this.labelX27.Name = "labelX27";
     this.labelX27.Size = new System.Drawing.Size(95, 23);
     this.labelX27.TabIndex = 62;
     this.labelX27.Text = "Tipo de Solicitud :";
     //
     // cbTipSolic
     //
     this.cbTipSolic.DisplayMember = "Text";
     this.cbTipSolic.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbTipSolic.FormattingEnabled = true;
     this.cbTipSolic.ItemHeight = 14;
     this.cbTipSolic.Location = new System.Drawing.Point(116, 12);
     this.cbTipSolic.Name = "cbTipSolic";
     this.cbTipSolic.Size = new System.Drawing.Size(173, 20);
     this.cbTipSolic.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbTipSolic.TabIndex = 61;
     //
     // ipFechCierre
     //
     //
     //
     //
     this.ipFechCierre.BackgroundStyle.Class = "DateTimeInputBackground";
     this.ipFechCierre.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechCierre.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.ipFechCierre.ButtonDropDown.Visible = true;
     this.ipFechCierre.IsPopupCalendarOpen = false;
     this.ipFechCierre.Location = new System.Drawing.Point(116, 139);
     //
     //
     //
     this.ipFechCierre.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFechCierre.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechCierre.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.ipFechCierre.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.ipFechCierre.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechCierre.MonthCalendar.DisplayMonth = new System.DateTime(2012, 6, 1, 0, 0, 0, 0);
     this.ipFechCierre.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.ipFechCierre.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFechCierre.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.ipFechCierre.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFechCierre.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.ipFechCierre.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechCierre.MonthCalendar.TodayButtonVisible = true;
     this.ipFechCierre.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.ipFechCierre.Name = "ipFechCierre";
     this.ipFechCierre.Size = new System.Drawing.Size(173, 20);
     this.ipFechCierre.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ipFechCierre.TabIndex = 60;
     //
     // chkbActCerrada
     //
     //
     //
     //
     this.chkbActCerrada.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkbActCerrada.Location = new System.Drawing.Point(245, 107);
     this.chkbActCerrada.Name = "chkbActCerrada";
     this.chkbActCerrada.Size = new System.Drawing.Size(32, 23);
     this.chkbActCerrada.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkbActCerrada.TabIndex = 59;
     //
     // chkbRealizado
     //
     //
     //
     //
     this.chkbRealizado.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkbRealizado.Location = new System.Drawing.Point(74, 107);
     this.chkbRealizado.Name = "chkbRealizado";
     this.chkbRealizado.Size = new System.Drawing.Size(18, 23);
     this.chkbRealizado.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkbRealizado.TabIndex = 58;
     //
     // txObservacionesA
     //
     this.txObservacionesA.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     //
     //
     //
     this.txObservacionesA.Border.Class = "TextBoxBorder";
     this.txObservacionesA.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txObservacionesA.ForeColor = System.Drawing.Color.Black;
     this.txObservacionesA.Location = new System.Drawing.Point(318, 99);
     this.txObservacionesA.Multiline = true;
     this.txObservacionesA.Name = "txObservacionesA";
     this.txObservacionesA.Size = new System.Drawing.Size(354, 52);
     this.txObservacionesA.TabIndex = 57;
     //
     // ipFechProg
     //
     //
     //
     //
     this.ipFechProg.BackgroundStyle.Class = "DateTimeInputBackground";
     this.ipFechProg.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechProg.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.ipFechProg.ButtonDropDown.Visible = true;
     this.ipFechProg.IsPopupCalendarOpen = false;
     this.ipFechProg.Location = new System.Drawing.Point(116, 64);
     //
     //
     //
     this.ipFechProg.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFechProg.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechProg.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.ipFechProg.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.ipFechProg.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechProg.MonthCalendar.DisplayMonth = new System.DateTime(2012, 6, 1, 0, 0, 0, 0);
     this.ipFechProg.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.ipFechProg.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFechProg.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.ipFechProg.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFechProg.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.ipFechProg.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFechProg.MonthCalendar.TodayButtonVisible = true;
     this.ipFechProg.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.ipFechProg.Name = "ipFechProg";
     this.ipFechProg.Size = new System.Drawing.Size(173, 20);
     this.ipFechProg.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ipFechProg.TabIndex = 51;
     this.superValidator1.SetValidator1(this.ipFechProg, this.requiredFieldValidator1);
     //
     // txRef
     //
     this.txRef.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     //
     //
     //
     this.txRef.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txRef.ForeColor = System.Drawing.Color.Black;
     this.txRef.Location = new System.Drawing.Point(318, 30);
     this.txRef.Multiline = true;
     this.txRef.Name = "txRef";
     this.txRef.Size = new System.Drawing.Size(354, 45);
     this.txRef.TabIndex = 56;
     //
     // labelX26
     //
     //
     //
     //
     this.labelX26.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX26.Location = new System.Drawing.Point(318, 81);
     this.labelX26.Name = "labelX26";
     this.labelX26.Size = new System.Drawing.Size(93, 23);
     this.labelX26.TabIndex = 55;
     this.labelX26.Text = "Observaciones :";
     //
     // labelX25
     //
     //
     //
     //
     this.labelX25.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX25.Location = new System.Drawing.Point(6, 136);
     this.labelX25.Name = "labelX25";
     this.labelX25.Size = new System.Drawing.Size(93, 23);
     this.labelX25.TabIndex = 54;
     this.labelX25.Text = "Fecha de Cierre :";
     //
     // labelX24
     //
     //
     //
     //
     this.labelX24.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX24.Location = new System.Drawing.Point(144, 107);
     this.labelX24.Name = "labelX24";
     this.labelX24.Size = new System.Drawing.Size(95, 23);
     this.labelX24.TabIndex = 53;
     this.labelX24.Text = "Actividad Cerrada :";
     //
     // labelX23
     //
     //
     //
     //
     this.labelX23.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX23.Location = new System.Drawing.Point(6, 107);
     this.labelX23.Name = "labelX23";
     this.labelX23.Size = new System.Drawing.Size(75, 23);
     this.labelX23.TabIndex = 52;
     this.labelX23.Text = "Realizado :";
     //
     // labelX22
     //
     //
     //
     //
     this.labelX22.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX22.Location = new System.Drawing.Point(6, 64);
     this.labelX22.Name = "labelX22";
     this.labelX22.Size = new System.Drawing.Size(111, 23);
     this.labelX22.TabIndex = 50;
     this.labelX22.Text = "Fecha Programada :";
     //
     // labelX21
     //
     //
     //
     //
     this.labelX21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX21.Location = new System.Drawing.Point(318, 9);
     this.labelX21.Name = "labelX21";
     this.labelX21.Size = new System.Drawing.Size(75, 23);
     this.labelX21.TabIndex = 49;
     this.labelX21.Text = "Referencia :";
     //
     // labelX20
     //
     //
     //
     //
     this.labelX20.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX20.Location = new System.Drawing.Point(6, 35);
     this.labelX20.Name = "labelX20";
     this.labelX20.Size = new System.Drawing.Size(95, 23);
     this.labelX20.TabIndex = 48;
     this.labelX20.Text = "Tipo de Actividad :";
     //
     // cbTipoAct
     //
     this.cbTipoAct.DisplayMember = "Text";
     this.cbTipoAct.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbTipoAct.FormattingEnabled = true;
     this.cbTipoAct.ItemHeight = 14;
     this.cbTipoAct.Location = new System.Drawing.Point(116, 38);
     this.cbTipoAct.Name = "cbTipoAct";
     this.cbTipoAct.Size = new System.Drawing.Size(173, 20);
     this.cbTipoAct.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbTipoAct.TabIndex = 47;
     //
     // btnAgregarAct
     //
     this.btnAgregarAct.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnAgregarAct.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnAgregarAct.Location = new System.Drawing.Point(588, 176);
     this.btnAgregarAct.Name = "btnAgregarAct";
     this.btnAgregarAct.Size = new System.Drawing.Size(107, 23);
     this.btnAgregarAct.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnAgregarAct.TabIndex = 63;
     this.btnAgregarAct.Text = "Agregar Actividad";
     this.btnAgregarAct.Click += new System.EventHandler(this.btnAgregarAct_Click);
     //
     // btnCambiosAct
     //
     this.btnCambiosAct.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnCambiosAct.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnCambiosAct.Location = new System.Drawing.Point(481, 176);
     this.btnCambiosAct.Name = "btnCambiosAct";
     this.btnCambiosAct.Size = new System.Drawing.Size(101, 23);
     this.btnCambiosAct.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnCambiosAct.TabIndex = 64;
     this.btnCambiosAct.Text = "Guardar Cambios";
     this.btnCambiosAct.Visible = false;
     this.btnCambiosAct.Click += new System.EventHandler(this.btnCambiosAct_Click);
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Campo Requerido";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // Actividades
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(707, 214);
     this.Controls.Add(this.btnCambiosAct);
     this.Controls.Add(this.btnAgregarAct);
     this.Controls.Add(this.labelX27);
     this.Controls.Add(this.cbTipSolic);
     this.Controls.Add(this.ipFechCierre);
     this.Controls.Add(this.chkbActCerrada);
     this.Controls.Add(this.chkbRealizado);
     this.Controls.Add(this.txObservacionesA);
     this.Controls.Add(this.ipFechProg);
     this.Controls.Add(this.txRef);
     this.Controls.Add(this.labelX26);
     this.Controls.Add(this.labelX25);
     this.Controls.Add(this.labelX24);
     this.Controls.Add(this.labelX23);
     this.Controls.Add(this.labelX22);
     this.Controls.Add(this.labelX21);
     this.Controls.Add(this.labelX20);
     this.Controls.Add(this.cbTipoAct);
     this.Name = "Actividades";
     this.Text = "Actividades";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Actividades_FormClosed);
     this.Load += new System.EventHandler(this.Actividades_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ipFechCierre)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ipFechProg)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Agrupaciones));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.txtNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtDescripcion = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.superValidator2 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     this.dgAgrupaciones = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.requiredFieldValidator2 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Your error message here.");
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgAgrupaciones)).BeginInit();
     this.SuspendLayout();
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(29, 57);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(75, 23);
     this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.labelX1.TabIndex = 0;
     this.labelX1.Text = "Nombre :";
     //
     // txtNombre
     //
     this.txtNombre.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtNombre.Border.Class = "TextBoxBorder";
     this.txtNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNombre.ForeColor = System.Drawing.Color.Black;
     this.txtNombre.Location = new System.Drawing.Point(110, 60);
     this.txtNombre.MaxLength = 50;
     this.txtNombre.Name = "txtNombre";
     this.txtNombre.ReadOnly = true;
     this.txtNombre.Size = new System.Drawing.Size(137, 20);
     this.txtNombre.TabIndex = 1;
     this.superValidator2.SetValidator1(this.txtNombre, this.requiredFieldValidator2);
     //
     // txtDescripcion
     //
     this.txtDescripcion.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtDescripcion.Border.Class = "TextBoxBorder";
     this.txtDescripcion.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtDescripcion.ForeColor = System.Drawing.Color.Black;
     this.txtDescripcion.Location = new System.Drawing.Point(110, 86);
     this.txtDescripcion.MaxLength = 3000;
     this.txtDescripcion.Multiline = true;
     this.txtDescripcion.Name = "txtDescripcion";
     this.txtDescripcion.ReadOnly = true;
     this.txtDescripcion.Size = new System.Drawing.Size(271, 60);
     this.txtDescripcion.TabIndex = 2;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(29, 87);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(75, 23);
     this.labelX2.TabIndex = 3;
     this.labelX2.Text = "Descripcion :";
     //
     // superValidator2
     //
     this.superValidator2.ContainerControl = this;
     this.superValidator2.ErrorProvider = this.errorProvider1;
     this.superValidator2.Highlighter = this.highlighter1;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // dgAgrupaciones
     //
     this.dgAgrupaciones.AllowUserToAddRows = false;
     this.dgAgrupaciones.AllowUserToDeleteRows = false;
     this.dgAgrupaciones.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgAgrupaciones.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgAgrupaciones.DefaultCellStyle = dataGridViewCellStyle2;
     this.dgAgrupaciones.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(241)))), ((int)(((byte)(250)))));
     this.dgAgrupaciones.Location = new System.Drawing.Point(29, 161);
     this.dgAgrupaciones.Name = "dgAgrupaciones";
     this.dgAgrupaciones.ReadOnly = true;
     this.dgAgrupaciones.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgAgrupaciones.Size = new System.Drawing.Size(466, 150);
     this.dgAgrupaciones.TabIndex = 4;
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.Location = new System.Drawing.Point(146, 17);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(249, 23);
     this.labelX3.TabIndex = 5;
     this.labelX3.Text = "Agrupaciónes / Gremios";
     this.labelX3.Click += new System.EventHandler(this.labelX3_Click);
     //
     // requiredFieldValidator2
     //
     this.requiredFieldValidator2.ErrorMessage = "Your error message here.";
     this.requiredFieldValidator2.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // Agrupaciones
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.labelX3);
     this.Controls.Add(this.dgAgrupaciones);
     this.Controls.Add(this.labelX2);
     this.Controls.Add(this.txtDescripcion);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.labelX1);
     this.Name = "Agrupaciones";
     this.Size = new System.Drawing.Size(523, 329);
     this.Load += new System.EventHandler(this.Solicitud_Apoyo_Load);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgAgrupaciones)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tipo_Tarifa));
     this.dgvTipoTarifas = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.txtDescripcion = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.txtMontoAnual = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido.");
     this.requiredFieldValidator2 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido.");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.cADINDataSet = new Sistema_De_Administracion_De_Servicios.CADINDataSet();
     this.tipo_TarifaBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.tipo_TarifaTableAdapter = new Sistema_De_Administracion_De_Servicios.CADINDataSetTableAdapters.Tipo_TarifaTableAdapter();
     this.tableAdapterManager = new Sistema_De_Administracion_De_Servicios.CADINDataSetTableAdapters.TableAdapterManager();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTipoTarifas)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cADINDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tipo_TarifaBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // dgvTipoTarifas
     //
     this.dgvTipoTarifas.AllowUserToAddRows = false;
     this.dgvTipoTarifas.AllowUserToDeleteRows = false;
     this.dgvTipoTarifas.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvTipoTarifas.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvTipoTarifas.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvTipoTarifas.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTipoTarifas.DefaultCellStyle = dataGridViewCellStyle2;
     this.dgvTipoTarifas.EnableHeadersVisualStyles = false;
     this.dgvTipoTarifas.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgvTipoTarifas.Location = new System.Drawing.Point(35, 189);
     this.dgvTipoTarifas.MultiSelect = false;
     this.dgvTipoTarifas.Name = "dgvTipoTarifas";
     this.dgvTipoTarifas.ReadOnly = true;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvTipoTarifas.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dgvTipoTarifas.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvTipoTarifas.Size = new System.Drawing.Size(470, 150);
     this.dgvTipoTarifas.TabIndex = 1;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(35, 111);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(75, 23);
     this.labelX2.TabIndex = 13;
     this.labelX2.Text = "Descripcion :";
     //
     // txtDescripcion
     //
     this.txtDescripcion.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtDescripcion.Border.Class = "TextBoxBorder";
     this.txtDescripcion.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtDescripcion.ForeColor = System.Drawing.Color.Black;
     this.txtDescripcion.Location = new System.Drawing.Point(116, 110);
     this.txtDescripcion.Multiline = true;
     this.txtDescripcion.Name = "txtDescripcion";
     this.txtDescripcion.ReadOnly = true;
     this.txtDescripcion.Size = new System.Drawing.Size(271, 64);
     this.txtDescripcion.TabIndex = 4;
     //
     // txtNombre
     //
     this.txtNombre.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtNombre.Border.Class = "TextBoxBorder";
     this.txtNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNombre.ForeColor = System.Drawing.Color.Black;
     this.txtNombre.Location = new System.Drawing.Point(116, 58);
     this.txtNombre.MaxLength = 50;
     this.txtNombre.Name = "txtNombre";
     this.txtNombre.ReadOnly = true;
     this.txtNombre.Size = new System.Drawing.Size(147, 20);
     this.txtNombre.TabIndex = 2;
     this.superValidator1.SetValidator1(this.txtNombre, this.requiredFieldValidator1);
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(35, 55);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(75, 23);
     this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.labelX1.TabIndex = 10;
     this.labelX1.Text = "Nombre :";
     //
     // txtMontoAnual
     //
     this.txtMontoAnual.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtMontoAnual.Border.Class = "TextBoxBorder";
     this.txtMontoAnual.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtMontoAnual.ForeColor = System.Drawing.Color.Black;
     this.txtMontoAnual.Location = new System.Drawing.Point(116, 84);
     this.txtMontoAnual.MaxLength = 5;
     this.txtMontoAnual.Name = "txtMontoAnual";
     this.txtMontoAnual.ReadOnly = true;
     this.txtMontoAnual.Size = new System.Drawing.Size(79, 20);
     this.txtMontoAnual.TabIndex = 3;
     this.superValidator1.SetValidator1(this.txtMontoAnual, this.requiredFieldValidator2);
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Location = new System.Drawing.Point(35, 81);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(75, 23);
     this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.labelX3.TabIndex = 15;
     this.labelX3.Text = "Monto Anual :";
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Campo requerido.";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // requiredFieldValidator2
     //
     this.requiredFieldValidator2.ErrorMessage = "Campo requerido.";
     this.requiredFieldValidator2.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // labelX4
     //
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX4.Location = new System.Drawing.Point(183, 17);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(175, 23);
     this.labelX4.TabIndex = 16;
     this.labelX4.Text = "TIPOS DE TARIFAS";
     //
     // cADINDataSet
     //
     this.cADINDataSet.DataSetName = "CADINDataSet";
     this.cADINDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // tipo_TarifaBindingSource
     //
     this.tipo_TarifaBindingSource.DataMember = "Tipo_Tarifa";
     this.tipo_TarifaBindingSource.DataSource = this.cADINDataSet;
     //
     // tipo_TarifaTableAdapter
     //
     this.tipo_TarifaTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ActividadesTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CasoTableAdapter = null;
     this.tableAdapterManager.ComunicacionTableAdapter = null;
     this.tableAdapterManager.Contacto_EmpresaTableAdapter = null;
     this.tableAdapterManager.DepartamentosTableAdapter = null;
     this.tableAdapterManager.Empresa_AgrupacionTableAdapter = null;
     this.tableAdapterManager.EmpresaTableAdapter = null;
     this.tableAdapterManager.MensajeTableAdapter = null;
     this.tableAdapterManager.Pago_MembresiaTableAdapter = null;
     this.tableAdapterManager.ReciboTableAdapter = null;
     this.tableAdapterManager.SectoresTableAdapter = null;
     this.tableAdapterManager.Solicitud_ApoyoTableAdapter = null;
     this.tableAdapterManager.Tipo_ActividadTableAdapter = null;
     this.tableAdapterManager.Tipo_EmpresaTableAdapter = null;
     this.tableAdapterManager.Tipo_MembresiaTableAdapter = null;
     this.tableAdapterManager.Tipo_TarifaTableAdapter = this.tipo_TarifaTableAdapter;
     this.tableAdapterManager.UpdateOrder = Sistema_De_Administracion_De_Servicios.CADINDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.UsuarioTableAdapter = null;
     //
     // Tipo_Tarifa
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.labelX4);
     this.Controls.Add(this.txtMontoAnual);
     this.Controls.Add(this.labelX3);
     this.Controls.Add(this.dgvTipoTarifas);
     this.Controls.Add(this.labelX2);
     this.Controls.Add(this.txtDescripcion);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.labelX1);
     this.Name = "Tipo_Tarifa";
     this.Size = new System.Drawing.Size(557, 684);
     this.Load += new System.EventHandler(this.Tipo_Tarifa_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTipoTarifas)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cADINDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tipo_TarifaBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
ファイル: Caso.designer.cs プロジェクト: eduardo-salazar/sag
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Caso));
     this.txCod_resp = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX19 = new DevComponents.DotNetBar.LabelX();
     this.labelX18 = new DevComponents.DotNetBar.LabelX();
     this.txcod_Caso = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX17 = new DevComponents.DotNetBar.LabelX();
     this.labelX16 = new DevComponents.DotNetBar.LabelX();
     this.labelX15 = new DevComponents.DotNetBar.LabelX();
     this.labelX14 = new DevComponents.DotNetBar.LabelX();
     this.labelX13 = new DevComponents.DotNetBar.LabelX();
     this.labelX12 = new DevComponents.DotNetBar.LabelX();
     this.ipFech_solu = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.labelX11 = new DevComponents.DotNetBar.LabelX();
     this.txResp_Caso = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX10 = new DevComponents.DotNetBar.LabelX();
     this.txObservaciones = new System.Windows.Forms.TextBox();
     this.labelX9 = new DevComponents.DotNetBar.LabelX();
     this.sliderNiv_solu = new DevComponents.DotNetBar.Controls.Slider();
     this.labelX8 = new DevComponents.DotNetBar.LabelX();
     this.ckbCaso_cerr = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.labelX7 = new DevComponents.DotNetBar.LabelX();
     this.txDesc_solu = new System.Windows.Forms.TextBox();
     this.labelX6 = new DevComponents.DotNetBar.LabelX();
     this.txDesc_prob = new System.Windows.Forms.TextBox();
     this.labelX5 = new DevComponents.DotNetBar.LabelX();
     this.txCargo = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.txNomb_solic = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txCod_empr = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.ipFech_soli = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.btnEliminarAct = new DevComponents.DotNetBar.ButtonX();
     this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
     this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator4 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Your error message here.");
     this.requiredFieldValidator3 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido");
     this.requiredFieldValidator2 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido");
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Campo requerido");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     this.txNE = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX20 = new DevComponents.DotNetBar.LabelX();
     this.chkbAdm = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.btBuscarEmpresa = new DevComponents.DotNetBar.ButtonX();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.ipFech_solu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ipFech_soli)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // txCod_resp
     //
     this.txCod_resp.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txCod_resp.Border.Class = "TextBoxBorder";
     this.txCod_resp.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txCod_resp.ForeColor = System.Drawing.Color.Black;
     this.txCod_resp.Location = new System.Drawing.Point(157, 495);
     this.txCod_resp.Name = "txCod_resp";
     this.txCod_resp.ReadOnly = true;
     this.txCod_resp.Size = new System.Drawing.Size(95, 20);
     this.txCod_resp.TabIndex = 65;
     //
     // labelX19
     //
     //
     //
     //
     this.labelX19.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX19.Location = new System.Drawing.Point(19, 492);
     this.labelX19.Name = "labelX19";
     this.labelX19.Size = new System.Drawing.Size(132, 23);
     this.labelX19.TabIndex = 64;
     this.labelX19.Text = "Codigo del Responsable :";
     //
     // labelX18
     //
     //
     //
     //
     this.labelX18.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX18.Location = new System.Drawing.Point(9, 9);
     this.labelX18.Name = "labelX18";
     this.labelX18.Size = new System.Drawing.Size(96, 23);
     this.labelX18.TabIndex = 63;
     this.labelX18.Text = "Codigo de Caso :";
     //
     // txcod_Caso
     //
     this.txcod_Caso.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txcod_Caso.Border.Class = "TextBoxBorder";
     this.txcod_Caso.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txcod_Caso.Enabled = false;
     this.txcod_Caso.ForeColor = System.Drawing.Color.Black;
     this.txcod_Caso.Location = new System.Drawing.Point(111, 12);
     this.txcod_Caso.Name = "txcod_Caso";
     this.txcod_Caso.ReadOnly = true;
     this.txcod_Caso.Size = new System.Drawing.Size(100, 20);
     this.txcod_Caso.TabIndex = 62;
     //
     // labelX17
     //
     //
     //
     //
     this.labelX17.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX17.Location = new System.Drawing.Point(656, 347);
     this.labelX17.Name = "labelX17";
     this.labelX17.Size = new System.Drawing.Size(17, 23);
     this.labelX17.TabIndex = 61;
     this.labelX17.Text = "5";
     this.labelX17.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // labelX16
     //
     //
     //
     //
     this.labelX16.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX16.Location = new System.Drawing.Point(627, 347);
     this.labelX16.Name = "labelX16";
     this.labelX16.Size = new System.Drawing.Size(17, 23);
     this.labelX16.TabIndex = 60;
     this.labelX16.Text = "4";
     this.labelX16.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // labelX15
     //
     //
     //
     //
     this.labelX15.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX15.Location = new System.Drawing.Point(600, 347);
     this.labelX15.Name = "labelX15";
     this.labelX15.Size = new System.Drawing.Size(17, 23);
     this.labelX15.TabIndex = 59;
     this.labelX15.Text = "3";
     this.labelX15.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // labelX14
     //
     //
     //
     //
     this.labelX14.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX14.Location = new System.Drawing.Point(568, 347);
     this.labelX14.Name = "labelX14";
     this.labelX14.Size = new System.Drawing.Size(17, 23);
     this.labelX14.TabIndex = 58;
     this.labelX14.Text = "2";
     this.labelX14.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // labelX13
     //
     //
     //
     //
     this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX13.Location = new System.Drawing.Point(540, 347);
     this.labelX13.Name = "labelX13";
     this.labelX13.Size = new System.Drawing.Size(17, 23);
     this.labelX13.TabIndex = 57;
     this.labelX13.Text = "1";
     this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // labelX12
     //
     //
     //
     //
     this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX12.Location = new System.Drawing.Point(515, 347);
     this.labelX12.Name = "labelX12";
     this.labelX12.Size = new System.Drawing.Size(17, 23);
     this.labelX12.TabIndex = 56;
     this.labelX12.Text = "0";
     this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
     //
     // ipFech_solu
     //
     //
     //
     //
     this.ipFech_solu.BackgroundStyle.Class = "DateTimeInputBackground";
     this.ipFech_solu.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_solu.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.ipFech_solu.ButtonDropDown.Visible = true;
     this.ipFech_solu.IsPopupCalendarOpen = false;
     this.ipFech_solu.Location = new System.Drawing.Point(487, 463);
     //
     //
     //
     this.ipFech_solu.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFech_solu.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_solu.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.ipFech_solu.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.ipFech_solu.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_solu.MonthCalendar.DisplayMonth = new System.DateTime(2012, 5, 1, 0, 0, 0, 0);
     this.ipFech_solu.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.ipFech_solu.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFech_solu.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.ipFech_solu.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFech_solu.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.ipFech_solu.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_solu.MonthCalendar.TodayButtonVisible = true;
     this.ipFech_solu.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.ipFech_solu.Name = "ipFech_solu";
     this.ipFech_solu.Size = new System.Drawing.Size(200, 20);
     this.ipFech_solu.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ipFech_solu.TabIndex = 55;
     //
     // labelX11
     //
     //
     //
     //
     this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX11.Location = new System.Drawing.Point(373, 463);
     this.labelX11.Name = "labelX11";
     this.labelX11.Size = new System.Drawing.Size(99, 23);
     this.labelX11.TabIndex = 54;
     this.labelX11.Text = "Fecha de Solucion :";
     //
     // txResp_Caso
     //
     this.txResp_Caso.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txResp_Caso.Border.Class = "TextBoxBorder";
     this.txResp_Caso.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txResp_Caso.ForeColor = System.Drawing.Color.Black;
     this.txResp_Caso.Location = new System.Drawing.Point(157, 466);
     this.txResp_Caso.Name = "txResp_Caso";
     this.txResp_Caso.ReadOnly = true;
     this.txResp_Caso.Size = new System.Drawing.Size(193, 20);
     this.txResp_Caso.TabIndex = 53;
     //
     // labelX10
     //
     //
     //
     //
     this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX10.Location = new System.Drawing.Point(19, 463);
     this.labelX10.Name = "labelX10";
     this.labelX10.Size = new System.Drawing.Size(132, 23);
     this.labelX10.TabIndex = 52;
     this.labelX10.Text = "Responsable del Caso :";
     //
     // txObservaciones
     //
     this.txObservaciones.Location = new System.Drawing.Point(19, 319);
     this.txObservaciones.Multiline = true;
     this.txObservaciones.Name = "txObservaciones";
     this.txObservaciones.ReadOnly = true;
     this.txObservaciones.Size = new System.Drawing.Size(331, 131);
     this.txObservaciones.TabIndex = 51;
     //
     // labelX9
     //
     //
     //
     //
     this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX9.Location = new System.Drawing.Point(19, 299);
     this.labelX9.Name = "labelX9";
     this.labelX9.Size = new System.Drawing.Size(132, 23);
     this.labelX9.TabIndex = 50;
     this.labelX9.Text = "Observaciones :";
     //
     // sliderNiv_solu
     //
     //
     //
     //
     this.sliderNiv_solu.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.sliderNiv_solu.Enabled = false;
     this.sliderNiv_solu.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.sliderNiv_solu.Location = new System.Drawing.Point(462, 329);
     this.sliderNiv_solu.Maximum = 5;
     this.sliderNiv_solu.Name = "sliderNiv_solu";
     this.sliderNiv_solu.Size = new System.Drawing.Size(225, 23);
     this.sliderNiv_solu.Style = DevComponents.DotNetBar.eDotNetBarStyle.Metro;
     this.sliderNiv_solu.TabIndex = 49;
     this.sliderNiv_solu.Tag = "0 1 2 3 4 5 6 ";
     this.sliderNiv_solu.Text = " ";
     this.sliderNiv_solu.Value = 0;
     //
     // labelX8
     //
     //
     //
     //
     this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX8.Location = new System.Drawing.Point(373, 328);
     this.labelX8.Name = "labelX8";
     this.labelX8.Size = new System.Drawing.Size(98, 23);
     this.labelX8.TabIndex = 48;
     this.labelX8.Text = "Nivel de Solucion :";
     //
     // ckbCaso_cerr
     //
     //
     //
     //
     this.ckbCaso_cerr.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ckbCaso_cerr.Enabled = false;
     this.ckbCaso_cerr.Location = new System.Drawing.Point(451, 299);
     this.ckbCaso_cerr.Name = "ckbCaso_cerr";
     this.ckbCaso_cerr.Size = new System.Drawing.Size(20, 24);
     this.ckbCaso_cerr.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ckbCaso_cerr.TabIndex = 47;
     //
     // labelX7
     //
     //
     //
     //
     this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX7.Location = new System.Drawing.Point(373, 299);
     this.labelX7.Name = "labelX7";
     this.labelX7.Size = new System.Drawing.Size(81, 23);
     this.labelX7.TabIndex = 46;
     this.labelX7.Text = "Caso Cerrado :";
     //
     // txDesc_solu
     //
     this.txDesc_solu.Location = new System.Drawing.Point(373, 162);
     this.txDesc_solu.Multiline = true;
     this.txDesc_solu.Name = "txDesc_solu";
     this.txDesc_solu.ReadOnly = true;
     this.txDesc_solu.Size = new System.Drawing.Size(331, 131);
     this.txDesc_solu.TabIndex = 45;
     //
     // labelX6
     //
     //
     //
     //
     this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX6.Location = new System.Drawing.Point(373, 132);
     this.labelX6.Name = "labelX6";
     this.labelX6.Size = new System.Drawing.Size(132, 23);
     this.labelX6.TabIndex = 44;
     this.labelX6.Text = "Descripcion de Solucion :";
     //
     // txDesc_prob
     //
     this.txDesc_prob.Location = new System.Drawing.Point(19, 162);
     this.txDesc_prob.Multiline = true;
     this.txDesc_prob.Name = "txDesc_prob";
     this.txDesc_prob.ReadOnly = true;
     this.txDesc_prob.Size = new System.Drawing.Size(331, 131);
     this.txDesc_prob.TabIndex = 43;
     this.superValidator1.SetValidator1(this.txDesc_prob, this.requiredFieldValidator4);
     //
     // labelX5
     //
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.Location = new System.Drawing.Point(19, 132);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(149, 23);
     this.labelX5.TabIndex = 42;
     this.labelX5.Text = "Descripcion de la Solicitud :";
     //
     // txCargo
     //
     this.txCargo.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txCargo.Border.Class = "TextBoxBorder";
     this.txCargo.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txCargo.ForeColor = System.Drawing.Color.Black;
     this.txCargo.Location = new System.Drawing.Point(497, 106);
     this.txCargo.Name = "txCargo";
     this.txCargo.ReadOnly = true;
     this.txCargo.Size = new System.Drawing.Size(185, 20);
     this.txCargo.TabIndex = 41;
     //
     // labelX4
     //
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Location = new System.Drawing.Point(451, 103);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(40, 23);
     this.labelX4.TabIndex = 40;
     this.labelX4.Text = "Cargo :";
     //
     // txNomb_solic
     //
     this.txNomb_solic.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txNomb_solic.Border.Class = "TextBoxBorder";
     this.txNomb_solic.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txNomb_solic.ForeColor = System.Drawing.Color.Black;
     this.txNomb_solic.Location = new System.Drawing.Point(157, 106);
     this.txNomb_solic.MaxLength = 50;
     this.txNomb_solic.Name = "txNomb_solic";
     this.txNomb_solic.ReadOnly = true;
     this.txNomb_solic.Size = new System.Drawing.Size(183, 20);
     this.txNomb_solic.TabIndex = 39;
     this.superValidator1.SetValidator1(this.txNomb_solic, this.requiredFieldValidator3);
     //
     // txCod_empr
     //
     this.txCod_empr.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txCod_empr.Border.Class = "TextBoxBorder";
     this.txCod_empr.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txCod_empr.ForeColor = System.Drawing.Color.Black;
     this.txCod_empr.Location = new System.Drawing.Point(568, 77);
     this.txCod_empr.Name = "txCod_empr";
     this.txCod_empr.ReadOnly = true;
     this.txCod_empr.Size = new System.Drawing.Size(114, 20);
     this.txCod_empr.TabIndex = 38;
     this.superValidator1.SetValidator1(this.txCod_empr, this.requiredFieldValidator2);
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Location = new System.Drawing.Point(19, 103);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(132, 23);
     this.labelX3.TabIndex = 37;
     this.labelX3.Text = "Nombre del Solicitante :";
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(451, 77);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(111, 23);
     this.labelX2.TabIndex = 36;
     this.labelX2.Text = "Codigo de Empresa :";
     //
     // ipFech_soli
     //
     //
     //
     //
     this.ipFech_soli.BackgroundStyle.Class = "DateTimeInputBackground";
     this.ipFech_soli.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_soli.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.ipFech_soli.ButtonDropDown.Visible = true;
     this.ipFech_soli.IsPopupCalendarOpen = false;
     this.ipFech_soli.Location = new System.Drawing.Point(478, 44);
     //
     //
     //
     this.ipFech_soli.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFech_soli.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_soli.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.ipFech_soli.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.ipFech_soli.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_soli.MonthCalendar.DisplayMonth = new System.DateTime(2012, 5, 1, 0, 0, 0, 0);
     this.ipFech_soli.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.ipFech_soli.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.ipFech_soli.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.ipFech_soli.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.ipFech_soli.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.ipFech_soli.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ipFech_soli.MonthCalendar.TodayButtonVisible = true;
     this.ipFech_soli.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.ipFech_soli.Name = "ipFech_soli";
     this.ipFech_soli.Size = new System.Drawing.Size(200, 20);
     this.ipFech_soli.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ipFech_soli.TabIndex = 35;
     this.superValidator1.SetValidator1(this.ipFech_soli, this.requiredFieldValidator1);
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(373, 44);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(99, 23);
     this.labelX1.TabIndex = 34;
     this.labelX1.Text = "Fecha de Solicitud :";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnEliminarAct);
     this.groupBox1.Controls.Add(this.buttonX1);
     this.groupBox1.Controls.Add(this.dataGridViewX1);
     this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(3, 521);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(721, 296);
     this.groupBox1.TabIndex = 66;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Actividades";
     //
     // btnEliminarAct
     //
     this.btnEliminarAct.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnEliminarAct.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnEliminarAct.Location = new System.Drawing.Point(599, 263);
     this.btnEliminarAct.Name = "btnEliminarAct";
     this.btnEliminarAct.Size = new System.Drawing.Size(102, 23);
     this.btnEliminarAct.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnEliminarAct.TabIndex = 32;
     this.btnEliminarAct.Text = "Eliminar Actividad";
     this.btnEliminarAct.Click += new System.EventHandler(this.buttonX2_Click);
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX1.Location = new System.Drawing.Point(475, 263);
     this.buttonX1.Name = "buttonX1";
     this.buttonX1.Size = new System.Drawing.Size(107, 23);
     this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonX1.TabIndex = 31;
     this.buttonX1.Text = "Crear Actividad";
     this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
     //
     // dataGridViewX1
     //
     this.dataGridViewX1.AccessibleDescription = "";
     this.dataGridViewX1.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewX1.EnableHeadersVisualStyles = false;
     this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(107)))), ((int)(((byte)(114)))));
     this.dataGridViewX1.Location = new System.Drawing.Point(6, 19);
     this.dataGridViewX1.Name = "dataGridViewX1";
     this.dataGridViewX1.ReadOnly = true;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridViewX1.Size = new System.Drawing.Size(709, 234);
     this.dataGridViewX1.TabIndex = 30;
     this.dataGridViewX1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellDoubleClick);
     this.dataGridViewX1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridViewX1_CellFormatting);
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator4
     //
     this.requiredFieldValidator4.ErrorMessage = "Your error message here.";
     this.requiredFieldValidator4.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // requiredFieldValidator3
     //
     this.requiredFieldValidator3.ErrorMessage = "Campo requerido";
     this.requiredFieldValidator3.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // requiredFieldValidator2
     //
     this.requiredFieldValidator2.ErrorMessage = "Campo requerido";
     this.requiredFieldValidator2.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Campo requerido";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // txNE
     //
     this.txNE.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txNE.Border.Class = "TextBoxBorder";
     this.txNE.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txNE.ForeColor = System.Drawing.Color.Black;
     this.txNE.Location = new System.Drawing.Point(157, 80);
     this.txNE.Name = "txNE";
     this.txNE.ReadOnly = true;
     this.txNE.Size = new System.Drawing.Size(183, 20);
     this.txNE.TabIndex = 68;
     this.superValidator1.SetValidator1(this.txNE, this.requiredFieldValidator2);
     //
     // labelX20
     //
     //
     //
     //
     this.labelX20.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX20.Location = new System.Drawing.Point(19, 77);
     this.labelX20.Name = "labelX20";
     this.labelX20.Size = new System.Drawing.Size(111, 23);
     this.labelX20.TabIndex = 67;
     this.labelX20.Text = "Nombre de Empresa :";
     //
     // chkbAdm
     //
     //
     //
     //
     this.chkbAdm.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkbAdm.Location = new System.Drawing.Point(546, 299);
     this.chkbAdm.Name = "chkbAdm";
     this.chkbAdm.Size = new System.Drawing.Size(158, 23);
     this.chkbAdm.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkbAdm.TabIndex = 69;
     this.chkbAdm.Text = "Cerrado por Administrador";
     this.chkbAdm.Visible = false;
     //
     // btBuscarEmpresa
     //
     this.btBuscarEmpresa.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btBuscarEmpresa.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btBuscarEmpresa.Location = new System.Drawing.Point(357, 79);
     this.btBuscarEmpresa.Name = "btBuscarEmpresa";
     this.btBuscarEmpresa.Size = new System.Drawing.Size(75, 23);
     this.btBuscarEmpresa.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btBuscarEmpresa.TabIndex = 70;
     this.btBuscarEmpresa.Text = "Buscar";
     this.btBuscarEmpresa.Click += new System.EventHandler(this.btBuscarEmpresa_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.label1.Location = new System.Drawing.Point(340, 87);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(11, 13);
     this.label1.TabIndex = 71;
     this.label1.Text = "*";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.label2.Location = new System.Drawing.Point(340, 113);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(11, 13);
     this.label2.TabIndex = 72;
     this.label2.Text = "*";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.label3.Location = new System.Drawing.Point(686, 83);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(11, 13);
     this.label3.TabIndex = 73;
     this.label3.Text = "*";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.label4.Location = new System.Drawing.Point(684, 49);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(11, 13);
     this.label4.TabIndex = 74;
     this.label4.Text = "*";
     //
     // Caso
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btBuscarEmpresa);
     this.Controls.Add(this.chkbAdm);
     this.Controls.Add(this.txNE);
     this.Controls.Add(this.labelX20);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.txCod_resp);
     this.Controls.Add(this.labelX19);
     this.Controls.Add(this.labelX18);
     this.Controls.Add(this.txcod_Caso);
     this.Controls.Add(this.labelX17);
     this.Controls.Add(this.labelX16);
     this.Controls.Add(this.labelX15);
     this.Controls.Add(this.labelX14);
     this.Controls.Add(this.labelX13);
     this.Controls.Add(this.labelX12);
     this.Controls.Add(this.ipFech_solu);
     this.Controls.Add(this.labelX11);
     this.Controls.Add(this.txResp_Caso);
     this.Controls.Add(this.labelX10);
     this.Controls.Add(this.txObservaciones);
     this.Controls.Add(this.labelX9);
     this.Controls.Add(this.sliderNiv_solu);
     this.Controls.Add(this.labelX8);
     this.Controls.Add(this.ckbCaso_cerr);
     this.Controls.Add(this.labelX7);
     this.Controls.Add(this.txDesc_solu);
     this.Controls.Add(this.labelX6);
     this.Controls.Add(this.txDesc_prob);
     this.Controls.Add(this.labelX5);
     this.Controls.Add(this.txCargo);
     this.Controls.Add(this.labelX4);
     this.Controls.Add(this.txNomb_solic);
     this.Controls.Add(this.txCod_empr);
     this.Controls.Add(this.labelX3);
     this.Controls.Add(this.labelX2);
     this.Controls.Add(this.ipFech_soli);
     this.Controls.Add(this.labelX1);
     this.Name = "Caso";
     this.Size = new System.Drawing.Size(756, 820);
     this.Load += new System.EventHandler(this.Caso_Load_1);
     ((System.ComponentModel.ISupportInitialize)(this.ipFech_solu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ipFech_soli)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
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();
     System.Windows.Forms.ErrorProvider errorProvider;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AsignacionClaseControl));
     DevComponents.DotNetBar.Validator.Highlighter highlighter;
     DevComponents.DotNetBar.Validator.CompareValidator compareDateTimeFinValidator;
     DevComponents.DotNetBar.Validator.CompareValidator compareDateTimeInicioValidator;
     this.dateTimeInputInicio = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.dateTimeInputFin = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
     this.labelFin = new DevComponents.DotNetBar.LabelX();
     this.labelInicio = new DevComponents.DotNetBar.LabelX();
     this.labelAsignatura = new DevComponents.DotNetBar.LabelX();
     this.comboBoxAsignatura = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.comboBoxGrupo = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelGrupo = new DevComponents.DotNetBar.LabelX();
     this.labelDuracion = new DevComponents.DotNetBar.LabelX();
     this.textBoxDuracion = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelTitulo = new DevComponents.DotNetBar.LabelX();
     this.labelLugar = new DevComponents.DotNetBar.LabelX();
     this.comboBoxLugar = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.superValidator = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.customValidator_Asignatura_Exists = new DevComponents.DotNetBar.Validator.CustomValidator();
     this.requiredFieldGrupo = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Es requerido seleccionar un grupo");
     this.textBoxDocente = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelDocente = new DevComponents.DotNetBar.LabelX();
     errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     highlighter = new DevComponents.DotNetBar.Validator.Highlighter();
     compareDateTimeFinValidator = new DevComponents.DotNetBar.Validator.CompareValidator();
     compareDateTimeInicioValidator = new DevComponents.DotNetBar.Validator.CompareValidator();
     ((System.ComponentModel.ISupportInitialize)(errorProvider)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateTimeInputInicio)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateTimeInputFin)).BeginInit();
     this.SuspendLayout();
     //
     // errorProvider
     //
     errorProvider.ContainerControl = this;
     errorProvider.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider.Icon")));
     //
     // highlighter
     //
     highlighter.ContainerControl = this;
     highlighter.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // compareDateTimeFinValidator
     //
     compareDateTimeFinValidator.ControlToCompare = this.dateTimeInputInicio;
     compareDateTimeFinValidator.ControlToCompareValuePropertyName = "Value";
     compareDateTimeFinValidator.ErrorMessage = "La fecha y hora de finalizacion debe de ser mayor que la de inicio";
     compareDateTimeFinValidator.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     compareDateTimeFinValidator.Operator = DevComponents.DotNetBar.Validator.eValidationCompareOperator.GreaterThan;
     compareDateTimeFinValidator.ValuePropertyName = "Value";
     compareDateTimeFinValidator.ValueToCompare = "Value";
     //
     // dateTimeInputInicio
     //
     this.dateTimeInputInicio.AllowEmptyState = false;
     //
     //
     //
     this.dateTimeInputInicio.BackgroundStyle.Class = "DateTimeInputBackground";
     this.dateTimeInputInicio.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputInicio.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.dateTimeInputInicio.ButtonDropDown.Visible = true;
     this.dateTimeInputInicio.CustomFormat = "dd/MM/yyyy hh:mm tt";
     this.dateTimeInputInicio.DateTimeSelectorVisibility = DevComponents.Editors.DateTimeAdv.eDateTimeSelectorVisibility.Both;
     this.dateTimeInputInicio.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimeInputInicio.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.dateTimeInputInicio.IsPopupCalendarOpen = false;
     this.dateTimeInputInicio.Location = new System.Drawing.Point(10, 85);
     //
     //
     //
     this.dateTimeInputInicio.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.dateTimeInputInicio.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputInicio.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.dateTimeInputInicio.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.dateTimeInputInicio.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputInicio.MonthCalendar.DayClickAutoClosePopup = false;
     this.dateTimeInputInicio.MonthCalendar.DisplayMonth = new System.DateTime(2012, 10, 1, 0, 0, 0, 0);
     this.dateTimeInputInicio.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.dateTimeInputInicio.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.dateTimeInputInicio.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.dateTimeInputInicio.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.dateTimeInputInicio.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.dateTimeInputInicio.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputInicio.MonthCalendar.TodayButtonVisible = true;
     this.dateTimeInputInicio.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.dateTimeInputInicio.Name = "dateTimeInputInicio";
     this.dateTimeInputInicio.ShowUpDown = true;
     this.dateTimeInputInicio.Size = new System.Drawing.Size(200, 22);
     this.dateTimeInputInicio.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.dateTimeInputInicio.TabIndex = 31;
     this.superValidator.SetValidator1(this.dateTimeInputInicio, compareDateTimeInicioValidator);
     this.dateTimeInputInicio.Value = new System.DateTime(2012, 10, 29, 4, 53, 31, 0);
     this.dateTimeInputInicio.ValueChanged += new System.EventHandler(this.dateTimeInput_ValueChanged);
     //
     // compareDateTimeInicioValidator
     //
     compareDateTimeInicioValidator.ControlToCompare = this.dateTimeInputFin;
     compareDateTimeInicioValidator.ControlToCompareValuePropertyName = "Value";
     compareDateTimeInicioValidator.ErrorMessage = "La fecha y hora de incio debe de ser mayor que la de finalizacion";
     compareDateTimeInicioValidator.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     compareDateTimeInicioValidator.Operator = DevComponents.DotNetBar.Validator.eValidationCompareOperator.LessThan;
     compareDateTimeInicioValidator.ValuePropertyName = "Value";
     compareDateTimeInicioValidator.ValueToCompare = "Value";
     //
     // dateTimeInputFin
     //
     this.dateTimeInputFin.AllowEmptyState = false;
     //
     //
     //
     this.dateTimeInputFin.BackgroundStyle.Class = "DateTimeInputBackground";
     this.dateTimeInputFin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputFin.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
     this.dateTimeInputFin.ButtonDropDown.Visible = true;
     this.dateTimeInputFin.CustomFormat = "dd/MM/yyyy hh:mm tt";
     this.dateTimeInputFin.DateTimeSelectorVisibility = DevComponents.Editors.DateTimeAdv.eDateTimeSelectorVisibility.Both;
     this.dateTimeInputFin.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimeInputFin.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
     this.dateTimeInputFin.IsPopupCalendarOpen = false;
     this.dateTimeInputFin.Location = new System.Drawing.Point(10, 138);
     //
     //
     //
     this.dateTimeInputFin.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.dateTimeInputFin.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputFin.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
     this.dateTimeInputFin.MonthCalendar.ClearButtonVisible = true;
     //
     //
     //
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
     this.dateTimeInputFin.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputFin.MonthCalendar.DayClickAutoClosePopup = false;
     this.dateTimeInputFin.MonthCalendar.DisplayMonth = new System.DateTime(2012, 10, 1, 0, 0, 0, 0);
     this.dateTimeInputFin.MonthCalendar.MarkedDates = new System.DateTime[0];
     this.dateTimeInputFin.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0];
     //
     //
     //
     this.dateTimeInputFin.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.dateTimeInputFin.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
     this.dateTimeInputFin.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.dateTimeInputFin.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.dateTimeInputFin.MonthCalendar.TodayButtonVisible = true;
     this.dateTimeInputFin.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0];
     this.dateTimeInputFin.Name = "dateTimeInputFin";
     this.dateTimeInputFin.ShowUpDown = true;
     this.dateTimeInputFin.Size = new System.Drawing.Size(200, 22);
     this.dateTimeInputFin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.dateTimeInputFin.TabIndex = 33;
     this.superValidator.SetValidator1(this.dateTimeInputFin, compareDateTimeFinValidator);
     this.dateTimeInputFin.Value = new System.DateTime(2012, 10, 29, 5, 53, 0, 0);
     this.dateTimeInputFin.ValueChanged += new System.EventHandler(this.dateTimeInput_ValueChanged);
     //
     // labelFin
     //
     //
     //
     //
     this.labelFin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelFin.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelFin.Location = new System.Drawing.Point(10, 111);
     this.labelFin.Name = "labelFin";
     this.labelFin.Size = new System.Drawing.Size(75, 23);
     this.labelFin.TabIndex = 32;
     this.labelFin.Text = "Fin:";
     //
     // labelInicio
     //
     //
     //
     //
     this.labelInicio.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelInicio.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelInicio.Location = new System.Drawing.Point(10, 56);
     this.labelInicio.Name = "labelInicio";
     this.labelInicio.Size = new System.Drawing.Size(75, 23);
     this.labelInicio.TabIndex = 30;
     this.labelInicio.Text = "Inicio:";
     //
     // labelAsignatura
     //
     //
     //
     //
     this.labelAsignatura.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelAsignatura.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelAsignatura.Location = new System.Drawing.Point(10, 280);
     this.labelAsignatura.Name = "labelAsignatura";
     this.labelAsignatura.Size = new System.Drawing.Size(93, 23);
     this.labelAsignatura.TabIndex = 35;
     this.labelAsignatura.Text = "Asignatura:";
     //
     // comboBoxAsignatura
     //
     this.comboBoxAsignatura.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.comboBoxAsignatura.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboBoxAsignatura.DisplayMember = "Text";
     this.comboBoxAsignatura.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxAsignatura.DropDownWidth = 350;
     this.comboBoxAsignatura.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxAsignatura.FormattingEnabled = true;
     this.comboBoxAsignatura.ItemHeight = 16;
     this.comboBoxAsignatura.Location = new System.Drawing.Point(10, 309);
     this.comboBoxAsignatura.Name = "comboBoxAsignatura";
     this.comboBoxAsignatura.Size = new System.Drawing.Size(200, 22);
     this.comboBoxAsignatura.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.comboBoxAsignatura.TabIndex = 36;
     this.superValidator.SetValidator1(this.comboBoxAsignatura, this.customValidator_Asignatura_Exists);
     this.comboBoxAsignatura.SelectedIndexChanged += new System.EventHandler(this.comboBoxAsignatura_SelectedIndexChanged);
     this.comboBoxAsignatura.Leave += new System.EventHandler(this.comboBoxAsignatura_Leave);
     //
     // comboBoxGrupo
     //
     this.comboBoxGrupo.DisplayMember = "Text";
     this.comboBoxGrupo.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxGrupo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxGrupo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxGrupo.FormattingEnabled = true;
     this.comboBoxGrupo.ItemHeight = 16;
     this.comboBoxGrupo.Location = new System.Drawing.Point(10, 364);
     this.comboBoxGrupo.Name = "comboBoxGrupo";
     this.comboBoxGrupo.Size = new System.Drawing.Size(75, 22);
     this.comboBoxGrupo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.comboBoxGrupo.TabIndex = 38;
     this.superValidator.SetValidator1(this.comboBoxGrupo, this.requiredFieldGrupo);
     this.comboBoxGrupo.SelectedIndexChanged += new System.EventHandler(this.comboBoxGrupo_SelectedIndexChanged);
     //
     // labelGrupo
     //
     //
     //
     //
     this.labelGrupo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelGrupo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelGrupo.Location = new System.Drawing.Point(10, 335);
     this.labelGrupo.Name = "labelGrupo";
     this.labelGrupo.Size = new System.Drawing.Size(75, 23);
     this.labelGrupo.TabIndex = 37;
     this.labelGrupo.Text = "Grupo:";
     //
     // labelDuracion
     //
     //
     //
     //
     this.labelDuracion.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelDuracion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelDuracion.Location = new System.Drawing.Point(10, 166);
     this.labelDuracion.Name = "labelDuracion";
     this.labelDuracion.Size = new System.Drawing.Size(93, 23);
     this.labelDuracion.TabIndex = 39;
     this.labelDuracion.Text = "Duracion:";
     //
     // textBoxDuracion
     //
     //
     //
     //
     this.textBoxDuracion.Border.Class = "TextBoxBorder";
     this.textBoxDuracion.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxDuracion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxDuracion.Location = new System.Drawing.Point(10, 195);
     this.textBoxDuracion.Name = "textBoxDuracion";
     this.textBoxDuracion.ReadOnly = true;
     this.textBoxDuracion.Size = new System.Drawing.Size(200, 22);
     this.textBoxDuracion.TabIndex = 40;
     this.textBoxDuracion.Text = "Invalido";
     //
     // labelTitulo
     //
     //
     //
     //
     this.labelTitulo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelTitulo.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelTitulo.ForeColor = System.Drawing.Color.DarkBlue;
     this.labelTitulo.Location = new System.Drawing.Point(10, 3);
     this.labelTitulo.Name = "labelTitulo";
     this.labelTitulo.Size = new System.Drawing.Size(200, 47);
     this.labelTitulo.TabIndex = 41;
     this.labelTitulo.Text = "Asignación de Clase";
     //
     // labelLugar
     //
     //
     //
     //
     this.labelLugar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelLugar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelLugar.Location = new System.Drawing.Point(10, 223);
     this.labelLugar.Name = "labelLugar";
     this.labelLugar.Size = new System.Drawing.Size(75, 23);
     this.labelLugar.TabIndex = 42;
     this.labelLugar.Text = "Lugar:";
     //
     // comboBoxLugar
     //
     this.comboBoxLugar.DisplayMember = "Text";
     this.comboBoxLugar.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxLugar.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxLugar.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxLugar.FormattingEnabled = true;
     this.comboBoxLugar.ItemHeight = 16;
     this.comboBoxLugar.Location = new System.Drawing.Point(10, 252);
     this.comboBoxLugar.Name = "comboBoxLugar";
     this.comboBoxLugar.Size = new System.Drawing.Size(200, 22);
     this.comboBoxLugar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.comboBoxLugar.TabIndex = 43;
     //
     // superValidator
     //
     this.superValidator.ContainerControl = this;
     this.superValidator.ErrorProvider = errorProvider;
     this.superValidator.Highlighter = highlighter;
     this.superValidator.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // customValidator_Asignatura_Exists
     //
     this.customValidator_Asignatura_Exists.ErrorMessage = "Asignatura Invalida.";
     this.customValidator_Asignatura_Exists.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.customValidator_Asignatura_Exists.ValidateValue += new DevComponents.DotNetBar.Validator.ValidateValueEventHandler(this.customValidator_Asignatura_Exists_ValidateValue);
     //
     // requiredFieldGrupo
     //
     this.requiredFieldGrupo.ErrorMessage = "Es requerido seleccionar un grupo";
     this.requiredFieldGrupo.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.requiredFieldGrupo.ValuePropertyName = "SelectedItem";
     //
     // textBoxDocente
     //
     //
     //
     //
     this.textBoxDocente.Border.Class = "TextBoxBorder";
     this.textBoxDocente.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxDocente.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxDocente.Location = new System.Drawing.Point(10, 421);
     this.textBoxDocente.Name = "textBoxDocente";
     this.textBoxDocente.ReadOnly = true;
     this.textBoxDocente.Size = new System.Drawing.Size(200, 22);
     this.textBoxDocente.TabIndex = 47;
     //
     // labelDocente
     //
     //
     //
     //
     this.labelDocente.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelDocente.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.labelDocente.Location = new System.Drawing.Point(10, 392);
     this.labelDocente.Name = "labelDocente";
     this.labelDocente.Size = new System.Drawing.Size(75, 23);
     this.labelDocente.TabIndex = 46;
     this.labelDocente.Text = "Docente:";
     //
     // AsignacionClaseControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.Controls.Add(this.textBoxDocente);
     this.Controls.Add(this.labelDocente);
     this.Controls.Add(this.comboBoxLugar);
     this.Controls.Add(this.labelLugar);
     this.Controls.Add(this.labelTitulo);
     this.Controls.Add(this.textBoxDuracion);
     this.Controls.Add(this.labelDuracion);
     this.Controls.Add(this.comboBoxGrupo);
     this.Controls.Add(this.labelGrupo);
     this.Controls.Add(this.comboBoxAsignatura);
     this.Controls.Add(this.labelAsignatura);
     this.Controls.Add(this.dateTimeInputFin);
     this.Controls.Add(this.labelFin);
     this.Controls.Add(this.dateTimeInputInicio);
     this.Controls.Add(this.labelInicio);
     this.Name = "AsignacionClaseControl";
     this.Size = new System.Drawing.Size(219, 466);
     ((System.ComponentModel.ISupportInitialize)(errorProvider)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateTimeInputInicio)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateTimeInputFin)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCliente));
     this.buttonGuardar = new DevComponents.DotNetBar.ButtonX();
     this.buttonCancelar = new DevComponents.DotNetBar.ButtonX();
     this.textBoxArea = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelArea = new DevComponents.DotNetBar.LabelX();
     this.textBoxNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelNombre = new DevComponents.DotNetBar.LabelX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.textBoxId = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.superValidator = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Nombre de cliente requerido");
     this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter = new DevComponents.DotNetBar.Validator.Highlighter();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.SuspendLayout();
     //
     // buttonGuardar
     //
     this.buttonGuardar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonGuardar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonGuardar.Location = new System.Drawing.Point(71, 96);
     this.buttonGuardar.Name = "buttonGuardar";
     this.buttonGuardar.Size = new System.Drawing.Size(75, 23);
     this.buttonGuardar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonGuardar.TabIndex = 1;
     this.buttonGuardar.Text = "Guardar";
     this.buttonGuardar.Click += new System.EventHandler(this.buttonGuardar_Click);
     //
     // buttonCancelar
     //
     this.buttonCancelar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonCancelar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancelar.Location = new System.Drawing.Point(169, 96);
     this.buttonCancelar.Name = "buttonCancelar";
     this.buttonCancelar.Size = new System.Drawing.Size(75, 23);
     this.buttonCancelar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonCancelar.TabIndex = 2;
     this.buttonCancelar.Text = "Cancelar";
     this.buttonCancelar.Click += new System.EventHandler(this.buttonCancelar_Click);
     //
     // textBoxArea
     //
     //
     //
     //
     this.textBoxArea.Border.Class = "TextBoxBorder";
     this.textBoxArea.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxArea.Location = new System.Drawing.Point(71, 70);
     this.textBoxArea.Name = "textBoxArea";
     this.textBoxArea.Size = new System.Drawing.Size(173, 20);
     this.textBoxArea.TabIndex = 7;
     //
     // labelArea
     //
     //
     //
     //
     this.labelArea.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelArea.Location = new System.Drawing.Point(12, 67);
     this.labelArea.Name = "labelArea";
     this.labelArea.Size = new System.Drawing.Size(53, 23);
     this.labelArea.TabIndex = 6;
     this.labelArea.Text = "Area:";
     this.labelArea.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // textBoxNombre
     //
     //
     //
     //
     this.textBoxNombre.Border.Class = "TextBoxBorder";
     this.textBoxNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxNombre.Location = new System.Drawing.Point(71, 41);
     this.textBoxNombre.Name = "textBoxNombre";
     this.textBoxNombre.Size = new System.Drawing.Size(173, 20);
     this.textBoxNombre.TabIndex = 5;
     this.superValidator.SetValidator1(this.textBoxNombre, this.requiredFieldValidator);
     //
     // labelNombre
     //
     //
     //
     //
     this.labelNombre.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelNombre.Location = new System.Drawing.Point(12, 38);
     this.labelNombre.Name = "labelNombre";
     this.labelNombre.Size = new System.Drawing.Size(53, 23);
     this.labelNombre.TabIndex = 4;
     this.labelNombre.Text = "Nombre:";
     this.labelNombre.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(12, 9);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(53, 23);
     this.labelX1.TabIndex = 8;
     this.labelX1.Text = "Id:";
     this.labelX1.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // textBoxId
     //
     //
     //
     //
     this.textBoxId.Border.Class = "TextBoxBorder";
     this.textBoxId.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.textBoxId.Location = new System.Drawing.Point(71, 12);
     this.textBoxId.Name = "textBoxId";
     this.textBoxId.ReadOnly = true;
     this.textBoxId.Size = new System.Drawing.Size(46, 20);
     this.textBoxId.TabIndex = 9;
     //
     // superValidator
     //
     this.superValidator.ContainerControl = this;
     this.superValidator.ErrorProvider = this.errorProvider;
     this.superValidator.Highlighter = this.highlighter;
     this.superValidator.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // requiredFieldValidator
     //
     this.requiredFieldValidator.ErrorMessage = "Nombre de cliente requerido";
     this.requiredFieldValidator.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     this.errorProvider.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider.Icon")));
     //
     // highlighter
     //
     this.highlighter.ContainerControl = this;
     this.highlighter.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // FormCliente
     //
     this.AcceptButton = this.buttonGuardar;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.buttonCancelar;
     this.ClientSize = new System.Drawing.Size(264, 133);
     this.Controls.Add(this.textBoxId);
     this.Controls.Add(this.labelX1);
     this.Controls.Add(this.textBoxArea);
     this.Controls.Add(this.labelArea);
     this.Controls.Add(this.textBoxNombre);
     this.Controls.Add(this.labelNombre);
     this.Controls.Add(this.buttonCancelar);
     this.Controls.Add(this.buttonGuardar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FormCliente";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Cliente";
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlUsuario));
     this.etiNombre = new DevComponents.DotNetBar.LabelX();
     this.txtNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtEmail = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.etiEmail = new DevComponents.DotNetBar.LabelX();
     this.txtTelefono = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.etiTelefono = new DevComponents.DotNetBar.LabelX();
     this.txtPassword = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.txtUser = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.etiUsuario = new DevComponents.DotNetBar.LabelX();
     this.chkActivo = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.txtCodUsuario = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.etiCodigoUsuario = new DevComponents.DotNetBar.LabelX();
     this.chkAdmin = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.btnResetPassword = new DevComponents.DotNetBar.ButtonX();
     this.valUsuario = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.valNombreReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar el nombre del usuario");
     this.valEmailInvalid = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.valUsuarioReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar un username para el usuario");
     this.valUsuarioError = new System.Windows.Forms.ErrorProvider(this.components);
     this.valUsuarioHighlighter = new DevComponents.DotNetBar.Validator.Highlighter();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.expandabePanelUsuarios = new DevComponents.DotNetBar.ExpandablePanel();
     this.dgvUsuarios = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.valUsuarioError)).BeginInit();
     this.expandabePanelUsuarios.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).BeginInit();
     this.SuspendLayout();
     //
     // etiNombre
     //
     this.etiNombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.etiNombre.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiNombre.Location = new System.Drawing.Point(172, 86);
     this.etiNombre.Name = "etiNombre";
     this.etiNombre.Size = new System.Drawing.Size(75, 23);
     this.etiNombre.TabIndex = 0;
     this.etiNombre.Text = "Nombre:";
     //
     // txtNombre
     //
     this.txtNombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNombre.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtNombre.Border.Class = "TextBoxBorder";
     this.txtNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNombre.ForeColor = System.Drawing.Color.Black;
     this.txtNombre.Location = new System.Drawing.Point(260, 89);
     this.txtNombre.Margin = new System.Windows.Forms.Padding(10);
     this.txtNombre.MaxLength = 50;
     this.txtNombre.Name = "txtNombre";
     this.txtNombre.ReadOnly = true;
     this.txtNombre.Size = new System.Drawing.Size(165, 20);
     this.txtNombre.TabIndex = 2;
     this.valUsuario.SetValidator1(this.txtNombre, this.valNombreReq);
     this.txtNombre.Enter += new System.EventHandler(this.txtNombre_Enter);
     //
     // txtEmail
     //
     this.txtEmail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtEmail.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtEmail.Border.Class = "TextBoxBorder";
     this.txtEmail.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtEmail.ForeColor = System.Drawing.Color.Black;
     this.txtEmail.Location = new System.Drawing.Point(260, 129);
     this.txtEmail.Margin = new System.Windows.Forms.Padding(10);
     this.txtEmail.MaxLength = 50;
     this.txtEmail.Name = "txtEmail";
     this.txtEmail.ReadOnly = true;
     this.txtEmail.Size = new System.Drawing.Size(165, 20);
     this.txtEmail.TabIndex = 3;
     this.valUsuario.SetValidator1(this.txtEmail, this.valEmailInvalid);
     this.txtEmail.Enter += new System.EventHandler(this.txtEmail_Enter);
     //
     // etiEmail
     //
     this.etiEmail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.etiEmail.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiEmail.Location = new System.Drawing.Point(172, 126);
     this.etiEmail.Name = "etiEmail";
     this.etiEmail.Size = new System.Drawing.Size(75, 23);
     this.etiEmail.TabIndex = 2;
     this.etiEmail.Text = "Email:";
     //
     // txtTelefono
     //
     this.txtTelefono.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTelefono.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtTelefono.Border.Class = "TextBoxBorder";
     this.txtTelefono.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtTelefono.ForeColor = System.Drawing.Color.Black;
     this.txtTelefono.Location = new System.Drawing.Point(260, 169);
     this.txtTelefono.Margin = new System.Windows.Forms.Padding(10);
     this.txtTelefono.MaxLength = 20;
     this.txtTelefono.Name = "txtTelefono";
     this.txtTelefono.ReadOnly = true;
     this.txtTelefono.Size = new System.Drawing.Size(165, 20);
     this.txtTelefono.TabIndex = 4;
     this.txtTelefono.Enter += new System.EventHandler(this.txtTelefono_Enter);
     //
     // etiTelefono
     //
     this.etiTelefono.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.etiTelefono.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiTelefono.Location = new System.Drawing.Point(172, 166);
     this.etiTelefono.Name = "etiTelefono";
     this.etiTelefono.Size = new System.Drawing.Size(75, 23);
     this.etiTelefono.TabIndex = 4;
     this.etiTelefono.Text = "Teléfono:";
     //
     // txtPassword
     //
     this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPassword.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtPassword.Border.Class = "TextBoxBorder";
     this.txtPassword.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtPassword.Enabled = false;
     this.txtPassword.ForeColor = System.Drawing.Color.Black;
     this.txtPassword.Location = new System.Drawing.Point(590, 129);
     this.txtPassword.Margin = new System.Windows.Forms.Padding(10);
     this.txtPassword.Name = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.Size = new System.Drawing.Size(165, 20);
     this.txtPassword.TabIndex = 8;
     //
     // labelX1
     //
     this.labelX1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(502, 126);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(75, 23);
     this.labelX1.TabIndex = 12;
     this.labelX1.Text = "Contraseña:";
     //
     // txtUser
     //
     this.txtUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtUser.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtUser.Border.Class = "TextBoxBorder";
     this.txtUser.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtUser.ForeColor = System.Drawing.Color.Black;
     this.txtUser.Location = new System.Drawing.Point(590, 89);
     this.txtUser.Margin = new System.Windows.Forms.Padding(10);
     this.txtUser.MaxLength = 10;
     this.txtUser.Name = "txtUser";
     this.txtUser.ReadOnly = true;
     this.txtUser.Size = new System.Drawing.Size(165, 20);
     this.txtUser.TabIndex = 7;
     this.valUsuario.SetValidator1(this.txtUser, this.valUsuarioReq);
     this.txtUser.Enter += new System.EventHandler(this.txtUser_Enter);
     //
     // etiUsuario
     //
     this.etiUsuario.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.etiUsuario.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiUsuario.Location = new System.Drawing.Point(502, 86);
     this.etiUsuario.Name = "etiUsuario";
     this.etiUsuario.Size = new System.Drawing.Size(75, 23);
     this.etiUsuario.TabIndex = 10;
     this.etiUsuario.Text = "Usuario:";
     //
     // chkActivo
     //
     this.chkActivo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.chkActivo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkActivo.Enabled = false;
     this.chkActivo.Location = new System.Drawing.Point(590, 169);
     this.chkActivo.Name = "chkActivo";
     this.chkActivo.Size = new System.Drawing.Size(100, 23);
     this.chkActivo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkActivo.TabIndex = 9;
     this.chkActivo.Text = "Usuario Activo";
     //
     // txtCodUsuario
     //
     this.txtCodUsuario.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCodUsuario.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtCodUsuario.Border.Class = "TextBoxBorder";
     this.txtCodUsuario.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtCodUsuario.ForeColor = System.Drawing.Color.Black;
     this.txtCodUsuario.Location = new System.Drawing.Point(260, 49);
     this.txtCodUsuario.Margin = new System.Windows.Forms.Padding(10);
     this.txtCodUsuario.Name = "txtCodUsuario";
     this.txtCodUsuario.ReadOnly = true;
     this.txtCodUsuario.Size = new System.Drawing.Size(100, 20);
     this.txtCodUsuario.TabIndex = 1;
     this.txtCodUsuario.TabStop = false;
     //
     // etiCodigoUsuario
     //
     this.etiCodigoUsuario.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.etiCodigoUsuario.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiCodigoUsuario.Location = new System.Drawing.Point(172, 46);
     this.etiCodigoUsuario.Name = "etiCodigoUsuario";
     this.etiCodigoUsuario.Size = new System.Drawing.Size(75, 23);
     this.etiCodigoUsuario.TabIndex = 17;
     this.etiCodigoUsuario.Text = "Cod_Usuario:";
     //
     // chkAdmin
     //
     this.chkAdmin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.chkAdmin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.chkAdmin.Enabled = false;
     this.chkAdmin.Location = new System.Drawing.Point(590, 206);
     this.chkAdmin.Name = "chkAdmin";
     this.chkAdmin.Size = new System.Drawing.Size(100, 23);
     this.chkAdmin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.chkAdmin.TabIndex = 10;
     this.chkAdmin.Text = "Administrador";
     //
     // btnResetPassword
     //
     this.btnResetPassword.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnResetPassword.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnResetPassword.Enabled = false;
     this.btnResetPassword.Location = new System.Drawing.Point(768, 129);
     this.btnResetPassword.Name = "btnResetPassword";
     this.btnResetPassword.Size = new System.Drawing.Size(41, 20);
     this.btnResetPassword.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnResetPassword.TabIndex = 19;
     this.btnResetPassword.Text = "Reset";
     this.btnResetPassword.Click += new System.EventHandler(this.btnResetPassword_Click);
     //
     // valUsuario
     //
     this.valUsuario.ContainerControl = this;
     this.valUsuario.ErrorProvider = this.valUsuarioError;
     this.valUsuario.Highlighter = this.valUsuarioHighlighter;
     this.valUsuario.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // valNombreReq
     //
     this.valNombreReq.ErrorMessage = "Debe ingresar el nombre del usuario";
     this.valNombreReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valEmailInvalid
     //
     this.valEmailInvalid.EmptyValueIsValid = true;
     this.valEmailInvalid.ErrorMessage = "Ingrese un email válido";
     this.valEmailInvalid.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.valEmailInvalid.ValidationExpression = "^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9" +
     "})$";
     //
     // valUsuarioReq
     //
     this.valUsuarioReq.ErrorMessage = "Debe ingresar un username para el usuario";
     this.valUsuarioReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valUsuarioError
     //
     this.valUsuarioError.ContainerControl = this;
     this.valUsuarioError.Icon = ((System.Drawing.Icon)(resources.GetObject("valUsuarioError.Icon")));
     //
     // valUsuarioHighlighter
     //
     this.valUsuarioHighlighter.ContainerControl = this;
     this.valUsuarioHighlighter.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
     //
     // labelX4
     //
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX4.Location = new System.Drawing.Point(376, 13);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(175, 23);
     this.labelX4.TabIndex = 20;
     this.labelX4.Text = "Usuarios";
     //
     // expandabePanelUsuarios
     //
     this.expandabePanelUsuarios.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.expandabePanelUsuarios.CanvasColor = System.Drawing.SystemColors.Control;
     this.expandabePanelUsuarios.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.TopToBottom;
     this.expandabePanelUsuarios.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.expandabePanelUsuarios.Controls.Add(this.dgvUsuarios);
     this.expandabePanelUsuarios.Location = new System.Drawing.Point(0, 235);
     this.expandabePanelUsuarios.Name = "expandabePanelUsuarios";
     this.expandabePanelUsuarios.Size = new System.Drawing.Size(926, 248);
     this.expandabePanelUsuarios.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandabePanelUsuarios.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandabePanelUsuarios.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandabePanelUsuarios.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandabePanelUsuarios.Style.GradientAngle = 90;
     this.expandabePanelUsuarios.TabIndex = 21;
     this.expandabePanelUsuarios.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
     this.expandabePanelUsuarios.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandabePanelUsuarios.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandabePanelUsuarios.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandabePanelUsuarios.TitleStyle.GradientAngle = 90;
     this.expandabePanelUsuarios.TitleText = "Lista de Usuarios";
     //
     // dgvUsuarios
     //
     this.dgvUsuarios.AllowUserToAddRows = false;
     this.dgvUsuarios.AllowUserToDeleteRows = false;
     this.dgvUsuarios.AllowUserToResizeRows = false;
     this.dgvUsuarios.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvUsuarios.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvUsuarios.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgvUsuarios.Location = new System.Drawing.Point(0, 26);
     this.dgvUsuarios.MultiSelect = false;
     this.dgvUsuarios.Name = "dgvUsuarios";
     this.dgvUsuarios.ReadOnly = true;
     this.dgvUsuarios.RowHeadersVisible = false;
     this.dgvUsuarios.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvUsuarios.Size = new System.Drawing.Size(926, 222);
     this.dgvUsuarios.TabIndex = 2;
     //
     // ControlUsuario
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.expandabePanelUsuarios);
     this.Controls.Add(this.labelX4);
     this.Controls.Add(this.btnResetPassword);
     this.Controls.Add(this.chkAdmin);
     this.Controls.Add(this.txtCodUsuario);
     this.Controls.Add(this.etiCodigoUsuario);
     this.Controls.Add(this.chkActivo);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.labelX1);
     this.Controls.Add(this.txtUser);
     this.Controls.Add(this.etiUsuario);
     this.Controls.Add(this.txtTelefono);
     this.Controls.Add(this.etiTelefono);
     this.Controls.Add(this.txtEmail);
     this.Controls.Add(this.etiEmail);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.etiNombre);
     this.Name = "ControlUsuario";
     this.Size = new System.Drawing.Size(926, 483);
     ((System.ComponentModel.ISupportInitialize)(this.valUsuarioError)).EndInit();
     this.expandabePanelUsuarios.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PantallaGerencial));
     this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.dgvActividadesH = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX5 = new DevComponents.DotNetBar.LabelX();
     this.Actividades = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.txtotal = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.comboBoxEx3 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.comboItem1 = new DevComponents.Editors.ComboItem();
     this.comboItem2 = new DevComponents.Editors.ComboItem();
     this.comboItem3 = new DevComponents.Editors.ComboItem();
     this.comboItem4 = new DevComponents.Editors.ComboItem();
     this.BMostrar = new DevComponents.DotNetBar.ButtonX();
     this.LEstado = new DevComponents.DotNetBar.LabelX();
     this.LCantidad = new DevComponents.DotNetBar.LabelX();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.dgvCasosG = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.cb1 = new DevComponents.Editors.ComboItem();
     this.cb2 = new DevComponents.Editors.ComboItem();
     this.cb3 = new DevComponents.Editors.ComboItem();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.Casos = new DevComponents.DotNetBar.SuperTabItem();
     this.superValidator1 = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.requiredFieldValidator1 = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe de seleccionar una opcion de este campo.");
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.highlighter1 = new DevComponents.DotNetBar.Validator.Highlighter();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
     this.superTabControl1.SuspendLayout();
     this.superTabControlPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvActividadesH)).BeginInit();
     this.superTabControlPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCasosG)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // superTabControl1
     //
     //
     //
     //
     //
     //
     //
     this.superTabControl1.ControlBox.CloseBox.Name = "";
     //
     //
     //
     this.superTabControl1.ControlBox.MenuBox.Name = "";
     this.superTabControl1.ControlBox.Name = "";
     this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.superTabControl1.ControlBox.MenuBox,
     this.superTabControl1.ControlBox.CloseBox});
     this.superTabControl1.Controls.Add(this.superTabControlPanel2);
     this.superTabControl1.Controls.Add(this.superTabControlPanel1);
     this.superTabControl1.Location = new System.Drawing.Point(3, 3);
     this.superTabControl1.Name = "superTabControl1";
     this.superTabControl1.ReorderTabsEnabled = true;
     this.superTabControl1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
     this.superTabControl1.SelectedTabIndex = 0;
     this.superTabControl1.Size = new System.Drawing.Size(743, 506);
     this.superTabControl1.TabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.superTabControl1.TabIndex = 0;
     this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.Casos,
     this.Actividades});
     this.superTabControl1.Text = "superTabControl1";
     //
     // superTabControlPanel2
     //
     this.superTabControlPanel2.Controls.Add(this.dgvActividadesH);
     this.superTabControlPanel2.Controls.Add(this.labelX5);
     this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel2.Location = new System.Drawing.Point(0, 25);
     this.superTabControlPanel2.Name = "superTabControlPanel2";
     this.superTabControlPanel2.Size = new System.Drawing.Size(743, 481);
     this.superTabControlPanel2.TabIndex = 0;
     this.superTabControlPanel2.TabItem = this.Actividades;
     //
     // dgvActividadesH
     //
     this.dgvActividadesH.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvActividadesH.DefaultCellStyle = dataGridViewCellStyle1;
     this.dgvActividadesH.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgvActividadesH.Location = new System.Drawing.Point(3, 57);
     this.dgvActividadesH.Name = "dgvActividadesH";
     this.dgvActividadesH.Size = new System.Drawing.Size(737, 396);
     this.dgvActividadesH.TabIndex = 1;
     //
     // labelX5
     //
     this.labelX5.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.Location = new System.Drawing.Point(19, 28);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(197, 23);
     this.labelX5.TabIndex = 0;
     this.labelX5.Text = "Actividades programadas para hoy:";
     //
     // Actividades
     //
     this.Actividades.AttachedControl = this.superTabControlPanel2;
     this.Actividades.GlobalItem = false;
     this.Actividades.Name = "Actividades";
     this.Actividades.Text = "Actividades";
     //
     // superTabControlPanel1
     //
     this.superTabControlPanel1.Controls.Add(this.txtotal);
     this.superTabControlPanel1.Controls.Add(this.labelX3);
     this.superTabControlPanel1.Controls.Add(this.comboBoxEx3);
     this.superTabControlPanel1.Controls.Add(this.BMostrar);
     this.superTabControlPanel1.Controls.Add(this.LEstado);
     this.superTabControlPanel1.Controls.Add(this.LCantidad);
     this.superTabControlPanel1.Controls.Add(this.labelX4);
     this.superTabControlPanel1.Controls.Add(this.dgvCasosG);
     this.superTabControlPanel1.Controls.Add(this.labelX2);
     this.superTabControlPanel1.Controls.Add(this.comboBoxEx1);
     this.superTabControlPanel1.Controls.Add(this.labelX1);
     this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel1.Location = new System.Drawing.Point(0, 25);
     this.superTabControlPanel1.Name = "superTabControlPanel1";
     this.superTabControlPanel1.Size = new System.Drawing.Size(743, 481);
     this.superTabControlPanel1.TabIndex = 1;
     this.superTabControlPanel1.TabItem = this.Casos;
     //
     // txtotal
     //
     //
     //
     //
     this.txtotal.Border.Class = "TextBoxBorder";
     this.txtotal.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtotal.Location = new System.Drawing.Point(198, 16);
     this.txtotal.Name = "txtotal";
     this.txtotal.Size = new System.Drawing.Size(74, 20);
     this.txtotal.TabIndex = 12;
     //
     // labelX3
     //
     this.labelX3.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.Location = new System.Drawing.Point(29, 14);
     this.labelX3.Name = "labelX3";
     this.labelX3.SingleLineColor = System.Drawing.Color.Transparent;
     this.labelX3.Size = new System.Drawing.Size(162, 23);
     this.labelX3.TabIndex = 11;
     this.labelX3.Text = "Cantidad Total de Casos :";
     //
     // comboBoxEx3
     //
     this.comboBoxEx3.DisplayMember = "Text";
     this.comboBoxEx3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxEx3.FormattingEnabled = true;
     this.comboBoxEx3.ItemHeight = 14;
     this.comboBoxEx3.Items.AddRange(new object[] {
     this.comboItem1,
     this.comboItem2,
     this.comboItem3,
     this.comboItem4});
     this.comboBoxEx3.Location = new System.Drawing.Point(335, 50);
     this.comboBoxEx3.Name = "comboBoxEx3";
     this.comboBoxEx3.Size = new System.Drawing.Size(121, 20);
     this.comboBoxEx3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.comboBoxEx3.TabIndex = 10;
     //
     // comboItem1
     //
     this.comboItem1.Text = "hoy.";
     //
     // comboItem2
     //
     this.comboItem2.Text = "esta semana.";
     //
     // comboItem3
     //
     this.comboItem3.Text = "este mes.";
     //
     // comboItem4
     //
     this.comboItem4.Text = "este año.";
     //
     // BMostrar
     //
     this.BMostrar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.BMostrar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.BMostrar.Location = new System.Drawing.Point(530, 46);
     this.BMostrar.Name = "BMostrar";
     this.BMostrar.Size = new System.Drawing.Size(136, 23);
     this.BMostrar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.BMostrar.TabIndex = 9;
     this.BMostrar.Text = "Mostrar";
     this.BMostrar.Click += new System.EventHandler(this.BMostrar_Click);
     //
     // LEstado
     //
     this.LEstado.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.LEstado.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.LEstado.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LEstado.ForeColor = System.Drawing.Color.DarkBlue;
     this.LEstado.Location = new System.Drawing.Point(665, 447);
     this.LEstado.Name = "LEstado";
     this.LEstado.Size = new System.Drawing.Size(66, 23);
     this.LEstado.TabIndex = 8;
     this.LEstado.Text = "[Estado]";
     //
     // LCantidad
     //
     this.LCantidad.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.LCantidad.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.LCantidad.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LCantidad.ForeColor = System.Drawing.Color.DarkBlue;
     this.LCantidad.Location = new System.Drawing.Point(561, 447);
     this.LCantidad.Name = "LCantidad";
     this.LCantidad.Size = new System.Drawing.Size(41, 23);
     this.LCantidad.TabIndex = 7;
     this.LCantidad.Text = "[Cant]";
     //
     // labelX4
     //
     this.labelX4.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX4.ForeColor = System.Drawing.Color.DarkBlue;
     this.labelX4.Location = new System.Drawing.Point(530, 447);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(147, 23);
     this.labelX4.TabIndex = 6;
     this.labelX4.Text = "Hay              de casos";
     //
     // dgvCasosG
     //
     this.dgvCasosG.AllowUserToAddRows = false;
     this.dgvCasosG.AllowUserToDeleteRows = false;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvCasosG.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvCasosG.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvCasosG.DefaultCellStyle = dataGridViewCellStyle3;
     this.dgvCasosG.EnableHeadersVisualStyles = false;
     this.dgvCasosG.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgvCasosG.Location = new System.Drawing.Point(15, 76);
     this.dgvCasosG.Name = "dgvCasosG";
     this.dgvCasosG.ReadOnly = true;
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvCasosG.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.dgvCasosG.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvCasosG.Size = new System.Drawing.Size(716, 362);
     this.dgvCasosG.TabIndex = 5;
     this.dgvCasosG.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellContentClick);
     //
     // labelX2
     //
     this.labelX2.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(318, 47);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(72, 23);
     this.labelX2.TabIndex = 2;
     this.labelX2.Text = "de ";
     //
     // comboBoxEx1
     //
     this.comboBoxEx1.DisplayMember = "Text";
     this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxEx1.FormattingEnabled = true;
     this.comboBoxEx1.ItemHeight = 14;
     this.comboBoxEx1.Items.AddRange(new object[] {
     this.cb1,
     this.cb2,
     this.cb3});
     this.comboBoxEx1.Location = new System.Drawing.Point(175, 50);
     this.comboBoxEx1.Name = "comboBoxEx1";
     this.comboBoxEx1.Size = new System.Drawing.Size(121, 20);
     this.comboBoxEx1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.comboBoxEx1.TabIndex = 1;
     this.superValidator1.SetValidator1(this.comboBoxEx1, this.requiredFieldValidator1);
     //
     // cb1
     //
     this.cb1.Text = "Abiertos";
     //
     // cb2
     //
     this.cb2.Text = "Activos";
     //
     // cb3
     //
     this.cb3.Text = "Cerrados";
     //
     // labelX1
     //
     this.labelX1.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(29, 47);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(146, 23);
     this.labelX1.TabIndex = 0;
     this.labelX1.Text = "Mostrar la cantidad de casos ";
     //
     // Casos
     //
     this.Casos.AttachedControl = this.superTabControlPanel1;
     this.Casos.GlobalItem = false;
     this.Casos.Name = "Casos";
     this.Casos.Text = "Casos";
     //
     // superValidator1
     //
     this.superValidator1.ContainerControl = this;
     this.superValidator1.ErrorProvider = this.errorProvider1;
     this.superValidator1.Highlighter = this.highlighter1;
     //
     // requiredFieldValidator1
     //
     this.requiredFieldValidator1.ErrorMessage = "Debe de seleccionar una opcion de este campo.";
     this.requiredFieldValidator1.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // PantallaGerencial
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.superTabControl1);
     this.Name = "PantallaGerencial";
     this.Size = new System.Drawing.Size(749, 514);
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
     this.superTabControl1.ResumeLayout(false);
     this.superTabControlPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvActividadesH)).EndInit();
     this.superTabControlPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvCasosG)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #12
0
ファイル: Login.designer.cs プロジェクト: eduardo-salazar/sag
 /// <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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Login));
     this.paneLogin = new System.Windows.Forms.Panel();
     this.cpbConectando = new DevComponents.DotNetBar.Controls.CircularProgress();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.btnCancelar = new System.Windows.Forms.Button();
     this.btnIngresar = new System.Windows.Forms.Button();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.txtPassword = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.txtUser = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.valLogin = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.valPasswordReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar una contraseña");
     this.valPasswordLength = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.valUsuarioReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe Ingresar un Usuario");
     this.valUsuarioLenght = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.valError = new System.Windows.Forms.ErrorProvider(this.components);
     this.valHighlighter = new DevComponents.DotNetBar.Validator.Highlighter();
     this.paneLogin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.valError)).BeginInit();
     this.SuspendLayout();
     //
     // paneLogin
     //
     this.paneLogin.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.paneLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.paneLogin.Controls.Add(this.cpbConectando);
     this.paneLogin.Controls.Add(this.pictureBox1);
     this.paneLogin.Controls.Add(this.btnCancelar);
     this.paneLogin.Controls.Add(this.btnIngresar);
     this.paneLogin.Controls.Add(this.labelX3);
     this.paneLogin.Controls.Add(this.txtPassword);
     this.paneLogin.Controls.Add(this.labelX2);
     this.paneLogin.Controls.Add(this.txtUser);
     this.paneLogin.Controls.Add(this.labelX1);
     this.paneLogin.Location = new System.Drawing.Point(12, 12);
     this.paneLogin.Name = "paneLogin";
     this.paneLogin.Size = new System.Drawing.Size(500, 360);
     this.paneLogin.TabIndex = 0;
     //
     // cpbConectando
     //
     this.cpbConectando.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     this.cpbConectando.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.cpbConectando.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.cpbConectando.Location = new System.Drawing.Point(221, 308);
     this.cpbConectando.Name = "cpbConectando";
     this.cpbConectando.ProgressColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.cpbConectando.Size = new System.Drawing.Size(74, 40);
     this.cpbConectando.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
     this.cpbConectando.TabIndex = 16;
     this.cpbConectando.TabStop = false;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image = global::Sistema_De_Administracion_De_Servicios.Properties.Resources.User_blue_icon;
     this.pictureBox1.Location = new System.Drawing.Point(40, 22);
     this.pictureBox1.Margin = new System.Windows.Forms.Padding(20);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(100, 110);
     this.pictureBox1.TabIndex = 15;
     this.pictureBox1.TabStop = false;
     //
     // btnCancelar
     //
     this.btnCancelar.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.btnCancelar.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancelar.Location = new System.Drawing.Point(272, 266);
     this.btnCancelar.Name = "btnCancelar";
     this.btnCancelar.Size = new System.Drawing.Size(90, 35);
     this.btnCancelar.TabIndex = 14;
     this.btnCancelar.Text = "Cancelar";
     this.btnCancelar.UseVisualStyleBackColor = true;
     this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
     //
     // btnIngresar
     //
     this.btnIngresar.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.btnIngresar.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnIngresar.Location = new System.Drawing.Point(156, 266);
     this.btnIngresar.Name = "btnIngresar";
     this.btnIngresar.Size = new System.Drawing.Size(90, 35);
     this.btnIngresar.TabIndex = 13;
     this.btnIngresar.Text = "Ingresar";
     this.btnIngresar.UseVisualStyleBackColor = true;
     this.btnIngresar.Click += new System.EventHandler(this.btnIngresar_Click);
     //
     // labelX3
     //
     this.labelX3.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("Segoe UI", 32F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(69)))), ((int)(((byte)(77)))));
     this.labelX3.Location = new System.Drawing.Point(153, 62);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(264, 57);
     this.labelX3.TabIndex = 12;
     this.labelX3.Text = "Iniciar Sesión";
     //
     // txtPassword
     //
     this.txtPassword.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtPassword.Border.Class = "TextBoxBorder";
     this.txtPassword.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtPassword.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(205)))), ((int)(((byte)(255)))));
     this.txtPassword.FocusHighlightEnabled = true;
     this.txtPassword.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPassword.ForeColor = System.Drawing.Color.Black;
     this.txtPassword.Location = new System.Drawing.Point(207, 203);
     this.txtPassword.Margin = new System.Windows.Forms.Padding(10);
     this.txtPassword.MaxLength = 15;
     this.txtPassword.Name = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.Size = new System.Drawing.Size(200, 29);
     this.txtPassword.TabIndex = 9;
     this.valLogin.SetValidator1(this.txtPassword, this.valPasswordReq);
     this.valLogin.SetValidator2(this.txtPassword, this.valPasswordLength);
     this.txtPassword.Enter += new System.EventHandler(this.txtPassword_Enter);
     this.txtPassword.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPassword_KeyPress);
     //
     // labelX2
     //
     this.labelX2.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(69)))), ((int)(((byte)(77)))));
     this.labelX2.Location = new System.Drawing.Point(94, 204);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(100, 23);
     this.labelX2.TabIndex = 8;
     this.labelX2.Text = "Contraseña:";
     //
     // txtUser
     //
     this.txtUser.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtUser.Border.Class = "TextBoxBorder";
     this.txtUser.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtUser.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(205)))), ((int)(((byte)(255)))));
     this.txtUser.FocusHighlightEnabled = true;
     this.txtUser.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtUser.ForeColor = System.Drawing.Color.Black;
     this.txtUser.Location = new System.Drawing.Point(207, 154);
     this.txtUser.Margin = new System.Windows.Forms.Padding(10);
     this.txtUser.MaxLength = 15;
     this.txtUser.Name = "txtUser";
     this.txtUser.Size = new System.Drawing.Size(200, 29);
     this.txtUser.TabIndex = 7;
     this.valLogin.SetValidator1(this.txtUser, this.valUsuarioReq);
     this.valLogin.SetValidator2(this.txtUser, this.valUsuarioLenght);
     this.txtUser.Enter += new System.EventHandler(this.txtUser_Enter);
     this.txtUser.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtUser_KeyPress);
     //
     // labelX1
     //
     this.labelX1.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(69)))), ((int)(((byte)(77)))));
     this.labelX1.Location = new System.Drawing.Point(94, 155);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(100, 23);
     this.labelX1.TabIndex = 6;
     this.labelX1.Text = "Usuario:";
     //
     // valLogin
     //
     this.valLogin.ContainerControl = this;
     this.valLogin.ErrorProvider = this.valError;
     this.valLogin.Highlighter = this.valHighlighter;
     //
     // valPasswordReq
     //
     this.valPasswordReq.ErrorMessage = "Debe ingresar una contraseña";
     this.valPasswordReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valPasswordLength
     //
     this.valPasswordLength.ErrorMessage = "Contraseña demasiado corta";
     this.valPasswordLength.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.valPasswordLength.ValidationExpression = "\\S{3,3}";
     //
     // valUsuarioReq
     //
     this.valUsuarioReq.ErrorMessage = "Debe Ingresar un Usuario";
     this.valUsuarioReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valUsuarioLenght
     //
     this.valUsuarioLenght.ErrorMessage = "Nombre de usuario demasiado corto";
     this.valUsuarioLenght.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.valUsuarioLenght.ValidationExpression = "\\S{3,3}";
     //
     // valError
     //
     this.valError.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
     this.valError.ContainerControl = this;
     this.valError.Icon = ((System.Drawing.Icon)(resources.GetObject("valError.Icon")));
     //
     // valHighlighter
     //
     this.valHighlighter.ContainerControl = this;
     //
     // Login
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.ActiveCaption;
     this.BackgroundImage = global::Sistema_De_Administracion_De_Servicios.Properties.Resources.form_background;
     this.ClientSize = new System.Drawing.Size(524, 384);
     this.Controls.Add(this.paneLogin);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Login";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Login";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.paneLogin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.valError)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #13
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UsuarioPerfil));
     this.etiTelefono = new DevComponents.DotNetBar.LabelX();
     this.etiEmail = new DevComponents.DotNetBar.LabelX();
     this.btnGuardar = new DevComponents.DotNetBar.ButtonX();
     this.valUsuario = new DevComponents.DotNetBar.Validator.SuperValidator();
     this.valUsuarioError = new System.Windows.Forms.ErrorProvider(this.components);
     this.valUsuarioHighlighter = new DevComponents.DotNetBar.Validator.Highlighter();
     this.txtNombre = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.requiredFieldNombre = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("El nobre de usuario es requerido");
     this.txtEmail = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.validEmailField = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.txtUser = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.requiredFieldUsuario = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("El nombre de usuario es requerido");
     this.valUsuarioReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar un username para el usuario");
     this.valTelfInvalid = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.valEmailInvalid = new DevComponents.DotNetBar.Validator.RegularExpressionValidator();
     this.valNombreReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar el nombre del usuario");
     this.valPasswordReq = new DevComponents.DotNetBar.Validator.RequiredFieldValidator("Debe ingresar un password para el usuario");
     this.buttonPicture = new DevComponents.DotNetBar.ButtonX();
     this.txtTelefono = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtCodUsuario = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.linkCambiarPassword = new System.Windows.Forms.LinkLabel();
     this.etiUsuario = new DevComponents.DotNetBar.LabelX();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.valUsuarioError)).BeginInit();
     this.SuspendLayout();
     //
     // etiTelefono
     //
     //
     //
     //
     this.etiTelefono.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiTelefono.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.etiTelefono.Location = new System.Drawing.Point(20, 193);
     this.etiTelefono.Name = "etiTelefono";
     this.etiTelefono.Size = new System.Drawing.Size(75, 23);
     this.etiTelefono.TabIndex = 23;
     this.etiTelefono.Text = "Teléfono:";
     //
     // etiEmail
     //
     //
     //
     //
     this.etiEmail.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiEmail.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.etiEmail.Location = new System.Drawing.Point(20, 160);
     this.etiEmail.Name = "etiEmail";
     this.etiEmail.Size = new System.Drawing.Size(75, 23);
     this.etiEmail.TabIndex = 21;
     this.etiEmail.Text = "Email:";
     //
     // btnGuardar
     //
     this.btnGuardar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnGuardar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnGuardar.Enabled = false;
     this.btnGuardar.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.btnGuardar.Location = new System.Drawing.Point(20, 261);
     this.btnGuardar.Name = "btnGuardar";
     this.btnGuardar.Size = new System.Drawing.Size(342, 33);
     this.btnGuardar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnGuardar.TabIndex = 30;
     this.btnGuardar.Text = "Guardar Cambios";
     this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
     //
     // valUsuario
     //
     this.valUsuario.ContainerControl = this;
     this.valUsuario.ErrorProvider = this.valUsuarioError;
     this.valUsuario.Highlighter = this.valUsuarioHighlighter;
     //
     // valUsuarioError
     //
     this.valUsuarioError.ContainerControl = this;
     this.valUsuarioError.Icon = ((System.Drawing.Icon)(resources.GetObject("valUsuarioError.Icon")));
     //
     // valUsuarioHighlighter
     //
     this.valUsuarioHighlighter.ContainerControl = this;
     //
     // txtNombre
     //
     this.txtNombre.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     //
     //
     //
     this.txtNombre.Border.BorderColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.txtNombre.Border.Class = "TextBoxBorder";
     this.txtNombre.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtNombre.Font = new System.Drawing.Font("Segoe UI", 14F);
     this.txtNombre.ForeColor = System.Drawing.Color.DarkBlue;
     this.txtNombre.Location = new System.Drawing.Point(133, 20);
     this.txtNombre.Margin = new System.Windows.Forms.Padding(10, 3, 3, 0);
     this.txtNombre.MaxLength = 50;
     this.txtNombre.Name = "txtNombre";
     this.txtNombre.Size = new System.Drawing.Size(229, 32);
     this.txtNombre.TabIndex = 42;
     this.valUsuario.SetValidator1(this.txtNombre, this.requiredFieldNombre);
     this.txtNombre.WatermarkText = "Nombre";
     //
     // requiredFieldNombre
     //
     this.requiredFieldNombre.ErrorMessage = "El nobre de usuario es requerido";
     this.requiredFieldNombre.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // txtEmail
     //
     this.txtEmail.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtEmail.Border.Class = "TextBoxBorder";
     this.txtEmail.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtEmail.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.txtEmail.ForeColor = System.Drawing.Color.Black;
     this.txtEmail.Location = new System.Drawing.Point(101, 160);
     this.txtEmail.MaxLength = 50;
     this.txtEmail.Name = "txtEmail";
     this.txtEmail.Size = new System.Drawing.Size(261, 27);
     this.txtEmail.TabIndex = 44;
     this.valUsuario.SetValidator1(this.txtEmail, this.validEmailField);
     this.txtEmail.WatermarkText = "Email";
     //
     // validEmailField
     //
     this.validEmailField.EmptyValueIsValid = true;
     this.validEmailField.ErrorMessage = "El email introducido no es valido";
     this.validEmailField.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.validEmailField.ValidationExpression = "^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9" +
     "})$";
     //
     // txtUser
     //
     this.txtUser.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtUser.Border.Class = "TextBoxBorder";
     this.txtUser.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtUser.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.txtUser.ForeColor = System.Drawing.Color.Black;
     this.txtUser.Location = new System.Drawing.Point(101, 126);
     this.txtUser.MaxLength = 30;
     this.txtUser.Name = "txtUser";
     this.txtUser.Size = new System.Drawing.Size(261, 27);
     this.txtUser.TabIndex = 48;
     this.valUsuario.SetValidator1(this.txtUser, this.requiredFieldUsuario);
     this.txtUser.WatermarkText = "Usuario";
     //
     // requiredFieldUsuario
     //
     this.requiredFieldUsuario.ErrorMessage = "El nombre de usuario es requerido";
     this.requiredFieldUsuario.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valUsuarioReq
     //
     this.valUsuarioReq.ErrorMessage = "Debe ingresar un username para el usuario";
     this.valUsuarioReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valTelfInvalid
     //
     this.valTelfInvalid.EmptyValueIsValid = true;
     this.valTelfInvalid.ErrorMessage = "Ingrese un teléfono válido";
     this.valTelfInvalid.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.valTelfInvalid.ValidationExpression = "0*[1-9][0-9]*";
     //
     // valEmailInvalid
     //
     this.valEmailInvalid.EmptyValueIsValid = true;
     this.valEmailInvalid.ErrorMessage = "Ingrese un email válido";
     this.valEmailInvalid.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     this.valEmailInvalid.ValidationExpression = "^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9" +
     "})$";
     //
     // valNombreReq
     //
     this.valNombreReq.ErrorMessage = "Debe ingresar el nombre del usuario";
     this.valNombreReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // valPasswordReq
     //
     this.valPasswordReq.ErrorMessage = "Debe ingresar un password para el usuario";
     this.valPasswordReq.HighlightColor = DevComponents.DotNetBar.Validator.eHighlightColor.Red;
     //
     // buttonPicture
     //
     this.buttonPicture.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonPicture.BackColor = System.Drawing.Color.WhiteSmoke;
     this.buttonPicture.ColorTable = DevComponents.DotNetBar.eButtonColor.Orange;
     this.buttonPicture.Image = global::Sistema_De_Administracion_De_Servicios.Properties.Resources.User_blue_icon;
     this.buttonPicture.ImageFixedSize = new System.Drawing.Size(100, 100);
     this.buttonPicture.Location = new System.Drawing.Point(20, 20);
     this.buttonPicture.Margin = new System.Windows.Forms.Padding(20, 20, 3, 3);
     this.buttonPicture.Name = "buttonPicture";
     this.buttonPicture.Shape = new DevComponents.DotNetBar.RoundRectangleShapeDescriptor(2);
     this.buttonPicture.Size = new System.Drawing.Size(100, 100);
     this.buttonPicture.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonPicture.TabIndex = 36;
     this.buttonPicture.Tooltip = "Cambiar Imagen";
     this.buttonPicture.Click += new System.EventHandler(this.buttonX2_Click);
     //
     // txtTelefono
     //
     this.txtTelefono.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.txtTelefono.Border.Class = "TextBoxBorder";
     this.txtTelefono.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtTelefono.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.txtTelefono.ForeColor = System.Drawing.Color.Black;
     this.txtTelefono.Location = new System.Drawing.Point(101, 193);
     this.txtTelefono.MaxLength = 20;
     this.txtTelefono.Name = "txtTelefono";
     this.txtTelefono.Size = new System.Drawing.Size(261, 27);
     this.txtTelefono.TabIndex = 45;
     this.txtTelefono.WatermarkText = "Teléfono";
     //
     // txtCodUsuario
     //
     this.txtCodUsuario.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     //
     //
     //
     this.txtCodUsuario.Border.BorderColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.txtCodUsuario.Border.Class = "TextBoxBorder";
     this.txtCodUsuario.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txtCodUsuario.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.txtCodUsuario.ForeColor = System.Drawing.Color.DarkBlue;
     this.txtCodUsuario.Location = new System.Drawing.Point(133, 52);
     this.txtCodUsuario.Margin = new System.Windows.Forms.Padding(10, 0, 3, 3);
     this.txtCodUsuario.MaxLength = 10;
     this.txtCodUsuario.Name = "txtCodUsuario";
     this.txtCodUsuario.ReadOnly = true;
     this.txtCodUsuario.Size = new System.Drawing.Size(93, 23);
     this.txtCodUsuario.TabIndex = 46;
     this.txtCodUsuario.WatermarkText = "Código";
     //
     // linkCambiarPassword
     //
     this.linkCambiarPassword.ActiveLinkColor = System.Drawing.Color.DarkBlue;
     this.linkCambiarPassword.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.linkCambiarPassword.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.linkCambiarPassword.LinkColor = System.Drawing.Color.DarkBlue;
     this.linkCambiarPassword.Location = new System.Drawing.Point(20, 226);
     this.linkCambiarPassword.Margin = new System.Windows.Forms.Padding(3);
     this.linkCambiarPassword.Name = "linkCambiarPassword";
     this.linkCambiarPassword.Size = new System.Drawing.Size(342, 27);
     this.linkCambiarPassword.TabIndex = 0;
     this.linkCambiarPassword.TabStop = true;
     this.linkCambiarPassword.Text = "Cambiar Contraseña";
     this.linkCambiarPassword.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.linkCambiarPassword.VisitedLinkColor = System.Drawing.Color.DarkBlue;
     this.linkCambiarPassword.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkCambiarPassword_LinkClicked);
     //
     // etiUsuario
     //
     //
     //
     //
     this.etiUsuario.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.etiUsuario.Font = new System.Drawing.Font("Segoe UI", 11F);
     this.etiUsuario.Location = new System.Drawing.Point(20, 126);
     this.etiUsuario.Name = "etiUsuario";
     this.etiUsuario.Size = new System.Drawing.Size(75, 23);
     this.etiUsuario.TabIndex = 47;
     this.etiUsuario.Text = "Usuario:";
     //
     // openFileDialog
     //
     this.openFileDialog.FileName = "openFileDialog";
     this.openFileDialog.Filter = "JPEG Images|*.jpg|GIF Images|*.gif|BITMAPS|*.bmp|All Files|*.*";
     //
     // UsuarioPerfil
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.txtUser);
     this.Controls.Add(this.etiUsuario);
     this.Controls.Add(this.linkCambiarPassword);
     this.Controls.Add(this.txtCodUsuario);
     this.Controls.Add(this.txtTelefono);
     this.Controls.Add(this.txtEmail);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.buttonPicture);
     this.Controls.Add(this.btnGuardar);
     this.Controls.Add(this.etiTelefono);
     this.Controls.Add(this.etiEmail);
     this.Name = "UsuarioPerfil";
     this.Size = new System.Drawing.Size(380, 328);
     this.Load += new System.EventHandler(this.UsuarioPerfil_Load);
     ((System.ComponentModel.ISupportInitialize)(this.valUsuarioError)).EndInit();
     this.ResumeLayout(false);
 }