/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssignCourseForm));
     this.buttonRemoveAssignedCourse = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAssignCourse         = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.Label3             = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.dgvCourses         = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.columnIds          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnCycle        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnCourse       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.LabelCurrentCourse = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.customCloseButton1 = new AttendanceControlAdminClient.GUI.CustomControls.CustomCloseButton();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCourses)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonRemoveAssignedCourse
     //
     this.buttonRemoveAssignedCourse.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_retirar_asignacion;
     this.buttonRemoveAssignedCourse.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonRemoveAssignedCourse.FlatAppearance.BorderSize = 0;
     this.buttonRemoveAssignedCourse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonRemoveAssignedCourse.Location  = new System.Drawing.Point(509, 130);
     this.buttonRemoveAssignedCourse.Name      = "buttonRemoveAssignedCourse";
     this.buttonRemoveAssignedCourse.Size      = new System.Drawing.Size(50, 50);
     this.buttonRemoveAssignedCourse.TabIndex  = 13;
     this.buttonRemoveAssignedCourse.UseVisualStyleBackColor = true;
     this.buttonRemoveAssignedCourse.Click += new System.EventHandler(this.ButtonRemoveAssignedCourse_Click);
     //
     // buttonAssignCourse
     //
     this.buttonAssignCourse.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_asignar;
     this.buttonAssignCourse.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAssignCourse.FlatAppearance.BorderSize = 0;
     this.buttonAssignCourse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAssignCourse.Location  = new System.Drawing.Point(509, 74);
     this.buttonAssignCourse.Name      = "buttonAssignCourse";
     this.buttonAssignCourse.Size      = new System.Drawing.Size(50, 50);
     this.buttonAssignCourse.TabIndex  = 12;
     this.buttonAssignCourse.UseVisualStyleBackColor = true;
     this.buttonAssignCourse.Click += new System.EventHandler(this.ButtonAssign_Click);
     //
     // Label3
     //
     this.Label3.AutoSize  = true;
     this.Label3.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.Label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.Label3.Location  = new System.Drawing.Point(29, 38);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(100, 16);
     this.Label3.TabIndex  = 2;
     this.Label3.Text      = "Curso actual:";
     //
     // dgvCourses
     //
     this.dgvCourses.AllowUserToAddRows                   = false;
     this.dgvCourses.AllowUserToDeleteRows                = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvCourses.AlternatingRowsDefaultCellStyle      = dataGridViewAlternatingRowsStyle1;
     this.dgvCourses.BackgroundColor               = System.Drawing.Color.White;
     this.dgvCourses.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvCourses.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvCourses.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewHeaderStyle1.BackColor            = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                 = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewHeaderStyle1.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor   = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode             = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvCourses.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvCourses.ColumnHeadersHeight           = 40;
     this.dgvCourses.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvCourses.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.columnIds,
         this.columnCycle,
         this.columnCourse
     });
     this.dgvCourses.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvCourses.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvCourses.EnableHeadersVisualStyles = false;
     this.dgvCourses.Location                               = new System.Drawing.Point(32, 65);
     this.dgvCourses.MultiSelect                            = false;
     this.dgvCourses.Name                                   = "dgvCourses";
     this.dgvCourses.ReadOnly                               = true;
     this.dgvCourses.RowHeadersVisible                      = false;
     this.dgvCourses.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvCourses.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvCourses.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvCourses.RowTemplate.Height                     = 30;
     this.dgvCourses.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvCourses.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvCourses.Size                                   = new System.Drawing.Size(462, 223);
     this.dgvCourses.TabIndex                               = 11;
     //
     // columnIds
     //
     this.columnIds.HeaderText = "ID";
     this.columnIds.Name       = "columnIds";
     this.columnIds.ReadOnly   = true;
     this.columnIds.Visible    = false;
     //
     // columnCycle
     //
     this.columnCycle.HeaderText = "Ciclo";
     this.columnCycle.Name       = "columnCycle";
     this.columnCycle.ReadOnly   = true;
     //
     // columnCourse
     //
     this.columnCourse.HeaderText = "Curso";
     this.columnCourse.Name       = "columnCourse";
     this.columnCourse.ReadOnly   = true;
     //
     // LabelCurrentCourse
     //
     this.LabelCurrentCourse.AutoSize  = true;
     this.LabelCurrentCourse.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.LabelCurrentCourse.ForeColor = System.Drawing.Color.Black;
     this.LabelCurrentCourse.Location  = new System.Drawing.Point(156, 38);
     this.LabelCurrentCourse.Name      = "LabelCurrentCourse";
     this.LabelCurrentCourse.Size      = new System.Drawing.Size(0, 16);
     this.LabelCurrentCourse.TabIndex  = 3;
     //
     // customCloseButton1
     //
     this.customCloseButton1.Image    = ((System.Drawing.Image)(resources.GetObject("customCloseButton1.Image")));
     this.customCloseButton1.Location = new System.Drawing.Point(609, 21);
     this.customCloseButton1.Name     = "customCloseButton1";
     this.customCloseButton1.Size     = new System.Drawing.Size(30, 30);
     this.customCloseButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.customCloseButton1.TabIndex = 5;
     this.customCloseButton1.TabStop  = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.Label3);
     this.groupBox1.Controls.Add(this.buttonRemoveAssignedCourse);
     this.groupBox1.Controls.Add(this.buttonAssignCourse);
     this.groupBox1.Controls.Add(this.LabelCurrentCourse);
     this.groupBox1.Controls.Add(this.dgvCourses);
     this.groupBox1.Font      = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.ForeColor = System.Drawing.Color.Black;
     this.groupBox1.Location  = new System.Drawing.Point(25, 21);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(565, 309);
     this.groupBox1.TabIndex  = 14;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "groupBox1";
     //
     // AssignCourseForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(683, 357);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.customCloseButton1);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "AssignCourseForm";
     this.Text     = "AssignNewCycleForm";
     this.Load    += new System.EventHandler(this.AssignCourseForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvCourses)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssignTeacherForm));
     this.dgvTeachers        = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.columnId           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnDni          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnFullName     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupBox           = new System.Windows.Forms.GroupBox();
     this.buttonAssign       = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.customCloseButton1 = new AttendanceControlAdminClient.GUI.CustomControls.CustomCloseButton();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTeachers)).BeginInit();
     this.groupBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).BeginInit();
     this.SuspendLayout();
     //
     // dgvTeachers
     //
     this.dgvTeachers.AllowUserToAddRows                  = false;
     this.dgvTeachers.AllowUserToDeleteRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvTeachers.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvTeachers.BackgroundColor               = System.Drawing.Color.White;
     this.dgvTeachers.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvTeachers.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvTeachers.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial Black", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvTeachers.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvTeachers.ColumnHeadersHeight           = 40;
     this.dgvTeachers.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvTeachers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.columnId,
         this.columnDni,
         this.columnFullName
     });
     this.dgvTeachers.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial Black", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTeachers.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvTeachers.EnableHeadersVisualStyles = false;
     this.dgvTeachers.Location                               = new System.Drawing.Point(29, 55);
     this.dgvTeachers.MultiSelect                            = false;
     this.dgvTeachers.Name                                   = "dgvTeachers";
     this.dgvTeachers.ReadOnly                               = true;
     this.dgvTeachers.RowHeadersVisible                      = false;
     this.dgvTeachers.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvTeachers.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvTeachers.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvTeachers.RowTemplate.Height                     = 30;
     this.dgvTeachers.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTeachers.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvTeachers.Size                                   = new System.Drawing.Size(352, 255);
     this.dgvTeachers.TabIndex                               = 9;
     //
     // columnId
     //
     this.columnId.HeaderText = "ID";
     this.columnId.Name       = "columnId";
     this.columnId.ReadOnly   = true;
     this.columnId.Visible    = false;
     //
     // columnDni
     //
     this.columnDni.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.columnDni.HeaderText   = "Dni";
     this.columnDni.Name         = "columnDni";
     this.columnDni.ReadOnly     = true;
     //
     // columnFullName
     //
     this.columnFullName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.columnFullName.HeaderText   = "Nombre";
     this.columnFullName.Name         = "columnFullName";
     this.columnFullName.ReadOnly     = true;
     //
     // groupBox
     //
     this.groupBox.Controls.Add(this.buttonAssign);
     this.groupBox.Controls.Add(this.dgvTeachers);
     this.groupBox.Font     = new System.Drawing.Font("Arial Black", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox.Location = new System.Drawing.Point(21, 21);
     this.groupBox.Name     = "groupBox";
     this.groupBox.Size     = new System.Drawing.Size(475, 344);
     this.groupBox.TabIndex = 10;
     this.groupBox.TabStop  = false;
     this.groupBox.Text     = "groupBox1";
     //
     // buttonAssign
     //
     this.buttonAssign.BackgroundImage           = ((System.Drawing.Image)(resources.GetObject("buttonAssign.BackgroundImage")));
     this.buttonAssign.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAssign.FlatAppearance.BorderSize = 0;
     this.buttonAssign.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAssign.Location  = new System.Drawing.Point(403, 260);
     this.buttonAssign.Name      = "buttonAssign";
     this.buttonAssign.Size      = new System.Drawing.Size(50, 50);
     this.buttonAssign.TabIndex  = 10;
     this.buttonAssign.UseVisualStyleBackColor = true;
     this.buttonAssign.Click += new System.EventHandler(this.BtnAssign_Click);
     //
     // customCloseButton1
     //
     this.customCloseButton1.Image    = ((System.Drawing.Image)(resources.GetObject("customCloseButton1.Image")));
     this.customCloseButton1.Location = new System.Drawing.Point(511, 21);
     this.customCloseButton1.Name     = "customCloseButton1";
     this.customCloseButton1.Size     = new System.Drawing.Size(30, 30);
     this.customCloseButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.customCloseButton1.TabIndex = 11;
     this.customCloseButton1.TabStop  = false;
     //
     // AssignTeacherForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(563, 394);
     this.Controls.Add(this.customCloseButton1);
     this.Controls.Add(this.groupBox);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "AssignTeacherForm";
     this.Load    += new System.EventHandler(this.AssignTeacherForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTeachers)).EndInit();
     this.groupBox.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CyclesWindowControl));
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle2 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle2          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle2     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     this.buttonRemoveSubject = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAddSubject    = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonModify        = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAdd           = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.dgvSubjects         = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.idCourse1Subject    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.course1SubjectName  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.CbCourses           = new AttendanceControlAdminClient.GUI.CustomControls.CustomComboBox();
     this.labelCourse         = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.dgvCycles           = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.idCycle             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cycleName           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Shift = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCycles)).BeginInit();
     this.SuspendLayout();
     //
     // buttonRemoveSubject
     //
     this.buttonRemoveSubject.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_retirar;
     this.buttonRemoveSubject.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonRemoveSubject.FlatAppearance.BorderSize = 0;
     this.buttonRemoveSubject.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonRemoveSubject.Location  = new System.Drawing.Point(710, 304);
     this.buttonRemoveSubject.Name      = "buttonRemoveSubject";
     this.buttonRemoveSubject.Size      = new System.Drawing.Size(50, 50);
     this.buttonRemoveSubject.TabIndex  = 18;
     this.buttonRemoveSubject.UseVisualStyleBackColor = true;
     this.buttonRemoveSubject.Click += new System.EventHandler(this.ButtonRemoveSubject1_Click);
     //
     // buttonAddSubject
     //
     this.buttonAddSubject.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAddSubject.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAddSubject.FlatAppearance.BorderSize = 0;
     this.buttonAddSubject.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddSubject.Location  = new System.Drawing.Point(710, 248);
     this.buttonAddSubject.Name      = "buttonAddSubject";
     this.buttonAddSubject.Size      = new System.Drawing.Size(50, 50);
     this.buttonAddSubject.TabIndex  = 14;
     this.buttonAddSubject.UseVisualStyleBackColor = true;
     this.buttonAddSubject.Click += new System.EventHandler(this.ButtonAddSubject1_Click);
     //
     // buttonModify
     //
     this.buttonModify.BackgroundImage           = ((System.Drawing.Image)(resources.GetObject("buttonModify.BackgroundImage")));
     this.buttonModify.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonModify.FlatAppearance.BorderSize = 0;
     this.buttonModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonModify.Location  = new System.Drawing.Point(710, 80);
     this.buttonModify.Name      = "buttonModify";
     this.buttonModify.Size      = new System.Drawing.Size(50, 50);
     this.buttonModify.TabIndex  = 13;
     this.buttonModify.UseVisualStyleBackColor = true;
     this.buttonModify.Click += new System.EventHandler(this.ButtonModifyCycle_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAdd.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAdd.FlatAppearance.BorderSize = 0;
     this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAdd.Location  = new System.Drawing.Point(710, 24);
     this.buttonAdd.Name      = "buttonAdd";
     this.buttonAdd.Size      = new System.Drawing.Size(50, 50);
     this.buttonAdd.TabIndex  = 12;
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.ButtonAddCycle_Click);
     //
     // dgvSubjects1
     //
     this.dgvSubjects.AllowUserToAddRows                  = false;
     this.dgvSubjects.AllowUserToDeleteRows               = false;
     this.dgvSubjects.AllowUserToResizeRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvSubjects.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvSubjects.BackgroundColor               = System.Drawing.Color.White;
     this.dgvSubjects.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvSubjects.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvSubjects.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvSubjects.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvSubjects.ColumnHeadersHeight           = 40;
     this.dgvSubjects.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvSubjects.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.idCourse1Subject,
         this.course1SubjectName
     });
     this.dgvSubjects.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvSubjects.EnableHeadersVisualStyles = false;
     this.dgvSubjects.Location                               = new System.Drawing.Point(186, 236);
     this.dgvSubjects.MultiSelect                            = false;
     this.dgvSubjects.Name                                   = "dgvSubjects1";
     this.dgvSubjects.ReadOnly                               = true;
     this.dgvSubjects.RowHeadersVisible                      = false;
     this.dgvSubjects.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvSubjects.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvSubjects.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvSubjects.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvSubjects.Size                                   = new System.Drawing.Size(487, 199);
     this.dgvSubjects.TabIndex                               = 7;
     //
     // idCourse1Subject
     //
     this.idCourse1Subject.HeaderText = "ID";
     this.idCourse1Subject.Name       = "idCourse1Subject";
     this.idCourse1Subject.ReadOnly   = true;
     this.idCourse1Subject.Visible    = false;
     //
     // course1SubjectName
     //
     this.course1SubjectName.HeaderText = "Asignaturas";
     this.course1SubjectName.Name       = "course1SubjectName";
     this.course1SubjectName.ReadOnly   = true;
     //
     // CbCourses
     //
     this.CbCourses.BackColor             = System.Drawing.Color.White;
     this.CbCourses.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CbCourses.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.CbCourses.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.CbCourses.FormattingEnabled     = true;
     this.CbCourses.Location              = new System.Drawing.Point(127, 281);
     this.CbCourses.Name                  = "CbCourses";
     this.CbCourses.Size                  = new System.Drawing.Size(47, 22);
     this.CbCourses.TabIndex              = 1;
     this.CbCourses.SelectedIndexChanged += new System.EventHandler(this.CbCourses_SelectedIndexChanged);
     //
     // labelCourse
     //
     this.labelCourse.AutoSize  = true;
     this.labelCourse.Font      = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
     this.labelCourse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.labelCourse.Location  = new System.Drawing.Point(47, 277);
     this.labelCourse.Name      = "labelCourse";
     this.labelCourse.Size      = new System.Drawing.Size(74, 22);
     this.labelCourse.TabIndex  = 0;
     this.labelCourse.Text      = "Curso:";
     //
     // dgvCycles
     //
     this.dgvCycles.AllowUserToAddRows                    = false;
     this.dgvCycles.AllowUserToDeleteRows                 = false;
     dataGridViewAlternatingRowsStyle2.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle2.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle2.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle2.SelectionForeColor = System.Drawing.Color.White;
     this.dgvCycles.AlternatingRowsDefaultCellStyle       = dataGridViewAlternatingRowsStyle2;
     this.dgvCycles.BackgroundColor               = System.Drawing.Color.White;
     this.dgvCycles.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvCycles.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvCycles.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle2.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle2.BackColor           = System.Drawing.Color.White;
     dataGridViewHeaderStyle2.Font                = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
     dataGridViewHeaderStyle2.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle2.SelectionBackColor  = System.Drawing.Color.White;
     dataGridViewHeaderStyle2.SelectionForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle2.WrapMode            = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvCycles.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle2;
     this.dgvCycles.ColumnHeadersHeight           = 40;
     this.dgvCycles.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvCycles.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.idCycle,
         this.cycleName,
         this.Shift
     });
     this.dgvCycles.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle2.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle2.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle2.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle2.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvCycles.DefaultCellStyle          = dataGridViewDefaultCellStyle2;
     this.dgvCycles.EnableHeadersVisualStyles = false;
     this.dgvCycles.Location                               = new System.Drawing.Point(50, 14);
     this.dgvCycles.MultiSelect                            = false;
     this.dgvCycles.Name                                   = "dgvCycles";
     this.dgvCycles.ReadOnly                               = true;
     this.dgvCycles.RowHeadersVisible                      = false;
     this.dgvCycles.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvCycles.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvCycles.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvCycles.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvCycles.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvCycles.Size                                   = new System.Drawing.Size(623, 200);
     this.dgvCycles.TabIndex                               = 5;
     //
     // idCycle
     //
     this.idCycle.HeaderText = "ID";
     this.idCycle.Name       = "idCycle";
     this.idCycle.ReadOnly   = true;
     this.idCycle.Visible    = false;
     //
     // cycleName
     //
     this.cycleName.HeaderText = "Ciclos Formativos";
     this.cycleName.Name       = "cycleName";
     this.cycleName.ReadOnly   = true;
     //
     // Shift
     //
     this.Shift.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.Shift.HeaderText   = "Turno";
     this.Shift.Name         = "Shift";
     this.Shift.ReadOnly     = true;
     this.Shift.Resizable    = System.Windows.Forms.DataGridViewTriState.False;
     //
     // CyclesWindowControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.buttonRemoveSubject);
     this.Controls.Add(this.buttonAddSubject);
     this.Controls.Add(this.buttonModify);
     this.Controls.Add(this.buttonAdd);
     this.Controls.Add(this.dgvSubjects);
     this.Controls.Add(this.CbCourses);
     this.Controls.Add(this.labelCourse);
     this.Controls.Add(this.dgvCycles);
     this.Name  = "CyclesWindowControl";
     this.Size  = new System.Drawing.Size(800, 500);
     this.Load += new System.EventHandler(this.CyclesWindowControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCycles)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     this.buttonAbsences       = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAssignSubjects = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAssignCycle    = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonModifyStudent  = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAddStudent     = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.labelPage            = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.buttonNext           = new AttendanceControlAdminClient.GUI.CustomControls.CustomButton();
     this.buttonPrevious       = new AttendanceControlAdminClient.GUI.CustomControls.CustomButton();
     this.tbLastName           = new AttendanceControlAdminClient.GUI.CustomControls.CustomTextBox();
     this.LabelFilter          = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.dgvStudents          = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.columnId             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnDni            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnFirstName      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnCycle          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnCourse         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStudents)).BeginInit();
     this.SuspendLayout();
     //
     // buttonAbsences
     //
     this.buttonAbsences.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_ausencias;
     this.buttonAbsences.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAbsences.FlatAppearance.BorderSize = 0;
     this.buttonAbsences.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAbsences.Location  = new System.Drawing.Point(725, 337);
     this.buttonAbsences.Name      = "buttonAbsences";
     this.buttonAbsences.Size      = new System.Drawing.Size(50, 50);
     this.buttonAbsences.TabIndex  = 15;
     this.buttonAbsences.UseVisualStyleBackColor = true;
     this.buttonAbsences.Click += new System.EventHandler(this.ButtonAbsences_Click);
     //
     // buttonAssignSubjects
     //
     this.buttonAssignSubjects.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_asignar_asignaturas;
     this.buttonAssignSubjects.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAssignSubjects.FlatAppearance.BorderSize = 0;
     this.buttonAssignSubjects.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAssignSubjects.Location  = new System.Drawing.Point(725, 281);
     this.buttonAssignSubjects.Name      = "buttonAssignSubjects";
     this.buttonAssignSubjects.Size      = new System.Drawing.Size(50, 50);
     this.buttonAssignSubjects.TabIndex  = 14;
     this.buttonAssignSubjects.UseVisualStyleBackColor = true;
     this.buttonAssignSubjects.Click += new System.EventHandler(this.ButtonAssignSubjects_Click);
     //
     // buttonAssignCycle
     //
     this.buttonAssignCycle.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_asignar_formacion;
     this.buttonAssignCycle.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAssignCycle.FlatAppearance.BorderSize = 0;
     this.buttonAssignCycle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAssignCycle.Location  = new System.Drawing.Point(725, 225);
     this.buttonAssignCycle.Name      = "buttonAssignCycle";
     this.buttonAssignCycle.Size      = new System.Drawing.Size(50, 50);
     this.buttonAssignCycle.TabIndex  = 13;
     this.buttonAssignCycle.UseVisualStyleBackColor = true;
     this.buttonAssignCycle.Click += new System.EventHandler(this.ButtonAssignCourse_Click);
     //
     // buttonModifyStudent
     //
     this.buttonModifyStudent.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_modificar;
     this.buttonModifyStudent.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonModifyStudent.FlatAppearance.BorderSize = 0;
     this.buttonModifyStudent.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonModifyStudent.Location  = new System.Drawing.Point(725, 169);
     this.buttonModifyStudent.Name      = "buttonModifyStudent";
     this.buttonModifyStudent.Size      = new System.Drawing.Size(50, 50);
     this.buttonModifyStudent.TabIndex  = 12;
     this.buttonModifyStudent.UseVisualStyleBackColor = true;
     this.buttonModifyStudent.Click += new System.EventHandler(this.ButtonModify_Click);
     //
     // buttonAddStudent
     //
     this.buttonAddStudent.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAddStudent.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAddStudent.FlatAppearance.BorderSize = 0;
     this.buttonAddStudent.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddStudent.Location  = new System.Drawing.Point(725, 113);
     this.buttonAddStudent.Name      = "buttonAddStudent";
     this.buttonAddStudent.Size      = new System.Drawing.Size(50, 50);
     this.buttonAddStudent.TabIndex  = 11;
     this.buttonAddStudent.UseVisualStyleBackColor = true;
     this.buttonAddStudent.Click += new System.EventHandler(this.ButtonCreate_Click);
     //
     // labelPage
     //
     this.labelPage.AutoSize  = true;
     this.labelPage.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.labelPage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.labelPage.Location  = new System.Drawing.Point(346, 403);
     this.labelPage.Name      = "labelPage";
     this.labelPage.Size      = new System.Drawing.Size(67, 16);
     this.labelPage.TabIndex  = 9;
     this.labelPage.Text      = "Página 1";
     //
     // buttonNext
     //
     this.buttonNext.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.buttonNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonNext.Font      = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.buttonNext.ForeColor = System.Drawing.Color.White;
     this.buttonNext.Location  = new System.Drawing.Point(642, 401);
     this.buttonNext.Name      = "buttonNext";
     this.buttonNext.Size      = new System.Drawing.Size(60, 23);
     this.buttonNext.TabIndex  = 8;
     this.buttonNext.Text      = ">";
     this.buttonNext.UseVisualStyleBackColor = false;
     this.buttonNext.Click += new System.EventHandler(this.ButtonNext_Click);
     //
     // buttonPrevious
     //
     this.buttonPrevious.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.buttonPrevious.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonPrevious.Font      = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.buttonPrevious.ForeColor = System.Drawing.Color.White;
     this.buttonPrevious.Location  = new System.Drawing.Point(53, 401);
     this.buttonPrevious.Name      = "buttonPrevious";
     this.buttonPrevious.Size      = new System.Drawing.Size(60, 23);
     this.buttonPrevious.TabIndex  = 7;
     this.buttonPrevious.Text      = "<";
     this.buttonPrevious.UseVisualStyleBackColor = false;
     this.buttonPrevious.Click += new System.EventHandler(this.ButtonPrevious_Click);
     //
     // tbLastName
     //
     this.tbLastName.Font         = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.tbLastName.ForeColor    = System.Drawing.Color.Black;
     this.tbLastName.Location     = new System.Drawing.Point(220, 61);
     this.tbLastName.Name         = "tbLastName";
     this.tbLastName.Size         = new System.Drawing.Size(175, 20);
     this.tbLastName.TabIndex     = 5;
     this.tbLastName.TextChanged += new System.EventHandler(this.TextBoxDni_TextChanged);
     //
     // LabelFilter
     //
     this.LabelFilter.AutoSize  = true;
     this.LabelFilter.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.LabelFilter.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.LabelFilter.Location  = new System.Drawing.Point(50, 62);
     this.LabelFilter.Name      = "LabelFilter";
     this.LabelFilter.Size      = new System.Drawing.Size(149, 16);
     this.LabelFilter.TabIndex  = 4;
     this.LabelFilter.Text      = "Buscar por Apellido:";
     //
     // dgvStudents
     //
     this.dgvStudents.AllowUserToAddRows                  = false;
     this.dgvStudents.AllowUserToDeleteRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvStudents.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvStudents.BackgroundColor               = System.Drawing.Color.White;
     this.dgvStudents.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvStudents.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvStudents.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStudents.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvStudents.ColumnHeadersHeight           = 40;
     this.dgvStudents.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvStudents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.columnId,
         this.columnDni,
         this.columnFirstName,
         this.columnCycle,
         this.columnCourse
     });
     this.dgvStudents.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvStudents.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvStudents.EnableHeadersVisualStyles = false;
     this.dgvStudents.Location                               = new System.Drawing.Point(50, 100);
     this.dgvStudents.MultiSelect                            = false;
     this.dgvStudents.Name                                   = "dgvStudents";
     this.dgvStudents.ReadOnly                               = true;
     this.dgvStudents.RowHeadersVisible                      = false;
     this.dgvStudents.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvStudents.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvStudents.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvStudents.RowTemplate.Height                     = 30;
     this.dgvStudents.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvStudents.ScrollBars                             = System.Windows.Forms.ScrollBars.None;
     this.dgvStudents.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvStudents.Size                                   = new System.Drawing.Size(661, 287);
     this.dgvStudents.TabIndex                               = 0;
     //
     // columnId
     //
     this.columnId.HeaderText = "ID";
     this.columnId.Name       = "columnId";
     this.columnId.ReadOnly   = true;
     this.columnId.Visible    = false;
     //
     // columnDni
     //
     this.columnDni.HeaderText = "Dni";
     this.columnDni.Name       = "columnDni";
     this.columnDni.ReadOnly   = true;
     //
     // columnFirstName
     //
     this.columnFirstName.HeaderText = "Nombre";
     this.columnFirstName.Name       = "columnFirstName";
     this.columnFirstName.ReadOnly   = true;
     //
     // columnCycle
     //
     this.columnCycle.HeaderText = "Ciclo Formativo";
     this.columnCycle.Name       = "columnCycle";
     this.columnCycle.ReadOnly   = true;
     //
     // columnCourse
     //
     this.columnCourse.HeaderText = "Curso";
     this.columnCourse.Name       = "columnCourse";
     this.columnCourse.ReadOnly   = true;
     //
     // StudentsWindowControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.buttonAbsences);
     this.Controls.Add(this.buttonAssignSubjects);
     this.Controls.Add(this.buttonAssignCycle);
     this.Controls.Add(this.buttonModifyStudent);
     this.Controls.Add(this.buttonAddStudent);
     this.Controls.Add(this.labelPage);
     this.Controls.Add(this.buttonNext);
     this.Controls.Add(this.buttonPrevious);
     this.Controls.Add(this.tbLastName);
     this.Controls.Add(this.LabelFilter);
     this.Controls.Add(this.dgvStudents);
     this.Name  = "StudentsWindowControl";
     this.Size  = new System.Drawing.Size(800, 500);
     this.Load += new System.EventHandler(this.StudentsWindowControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvStudents)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SubjectsWindowControl));
     this.tbSubject           = new AttendanceControlAdminClient.GUI.CustomControls.CustomTextBox();
     this.dgvSubjects         = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.id                  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.subject             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.teacher             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.LabelFilter         = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.buttonRemoveTeacher = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAsignTeacher  = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonModify        = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAdd           = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).BeginInit();
     this.SuspendLayout();
     //
     // tbSubject
     //
     this.tbSubject.Font         = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.tbSubject.ForeColor    = System.Drawing.Color.Black;
     this.tbSubject.Location     = new System.Drawing.Point(213, 87);
     this.tbSubject.Name         = "tbSubject";
     this.tbSubject.Size         = new System.Drawing.Size(169, 20);
     this.tbSubject.TabIndex     = 4;
     this.tbSubject.TextChanged += new System.EventHandler(this.TextBoxSubject_TextChanged);
     //
     // dgvSubjects
     //
     this.dgvSubjects.AllowUserToAddRows                  = false;
     this.dgvSubjects.AllowUserToDeleteRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvSubjects.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvSubjects.BackgroundColor               = System.Drawing.Color.White;
     this.dgvSubjects.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvSubjects.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvSubjects.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvSubjects.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvSubjects.ColumnHeadersHeight           = 40;
     this.dgvSubjects.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvSubjects.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.id,
         this.subject,
         this.teacher
     });
     this.dgvSubjects.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvSubjects.EnableHeadersVisualStyles = false;
     this.dgvSubjects.Location                               = new System.Drawing.Point(53, 125);
     this.dgvSubjects.MultiSelect                            = false;
     this.dgvSubjects.Name                                   = "dgvSubjects";
     this.dgvSubjects.ReadOnly                               = true;
     this.dgvSubjects.RowHeadersVisible                      = false;
     this.dgvSubjects.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvSubjects.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvSubjects.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvSubjects.RowTemplate.Height                     = 30;
     this.dgvSubjects.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvSubjects.Size                                   = new System.Drawing.Size(612, 250);
     this.dgvSubjects.TabIndex                               = 3;
     //
     // id
     //
     this.id.HeaderText = "ID";
     this.id.Name       = "id";
     this.id.ReadOnly   = true;
     this.id.Visible    = false;
     //
     // subject
     //
     this.subject.HeaderText = "Asignatura";
     this.subject.Name       = "subject";
     this.subject.ReadOnly   = true;
     //
     // teacher
     //
     this.teacher.HeaderText = "Profesor asignado";
     this.teacher.Name       = "teacher";
     this.teacher.ReadOnly   = true;
     //
     // LabelFilter
     //
     this.LabelFilter.AutoSize  = true;
     this.LabelFilter.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.LabelFilter.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.LabelFilter.Location  = new System.Drawing.Point(50, 88);
     this.LabelFilter.Name      = "LabelFilter";
     this.LabelFilter.Size      = new System.Drawing.Size(147, 16);
     this.LabelFilter.TabIndex  = 2;
     this.LabelFilter.Text      = "Buscar por nombre:";
     //
     // buttonRemoveTeacher
     //
     this.buttonRemoveTeacher.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_retirar_asignacion;
     this.buttonRemoveTeacher.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonRemoveTeacher.FlatAppearance.BorderSize = 0;
     this.buttonRemoveTeacher.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonRemoveTeacher.Location  = new System.Drawing.Point(701, 307);
     this.buttonRemoveTeacher.Name      = "buttonRemoveTeacher";
     this.buttonRemoveTeacher.Size      = new System.Drawing.Size(50, 50);
     this.buttonRemoveTeacher.TabIndex  = 11;
     this.buttonRemoveTeacher.UseVisualStyleBackColor = true;
     this.buttonRemoveTeacher.Click += new System.EventHandler(this.buttonRemoveTeacher_Click);
     //
     // buttonAsignTeacher
     //
     this.buttonAsignTeacher.BackgroundImage           = ((System.Drawing.Image)(resources.GetObject("buttonAsignTeacher.BackgroundImage")));
     this.buttonAsignTeacher.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAsignTeacher.FlatAppearance.BorderSize = 0;
     this.buttonAsignTeacher.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAsignTeacher.Location  = new System.Drawing.Point(701, 251);
     this.buttonAsignTeacher.Name      = "buttonAsignTeacher";
     this.buttonAsignTeacher.Size      = new System.Drawing.Size(50, 50);
     this.buttonAsignTeacher.TabIndex  = 10;
     this.buttonAsignTeacher.UseVisualStyleBackColor = true;
     this.buttonAsignTeacher.Click += new System.EventHandler(this.BtnAssign_Click);
     //
     // buttonModify
     //
     this.buttonModify.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_modificar;
     this.buttonModify.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonModify.FlatAppearance.BorderSize = 0;
     this.buttonModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonModify.Location  = new System.Drawing.Point(701, 195);
     this.buttonModify.Name      = "buttonModify";
     this.buttonModify.Size      = new System.Drawing.Size(50, 50);
     this.buttonModify.TabIndex  = 9;
     this.buttonModify.UseVisualStyleBackColor = true;
     this.buttonModify.Click += new System.EventHandler(this.BtnModifySubject_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAdd.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAdd.FlatAppearance.BorderSize = 0;
     this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAdd.Location  = new System.Drawing.Point(701, 139);
     this.buttonAdd.Name      = "buttonAdd";
     this.buttonAdd.Size      = new System.Drawing.Size(50, 50);
     this.buttonAdd.TabIndex  = 8;
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.BtnAddSubject_Click);
     //
     // SubjectsWindowControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.buttonRemoveTeacher);
     this.Controls.Add(this.buttonAsignTeacher);
     this.Controls.Add(this.buttonModify);
     this.Controls.Add(this.buttonAdd);
     this.Controls.Add(this.tbSubject);
     this.Controls.Add(this.dgvSubjects);
     this.Controls.Add(this.LabelFilter);
     this.Name  = "SubjectsWindowControl";
     this.Size  = new System.Drawing.Size(800, 500);
     this.Load += new System.EventHandler(this.SubjectsWindowControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssignSubjectForm));
     this.LabelFilter        = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.tbSubject          = new AttendanceControlAdminClient.GUI.CustomControls.CustomTextBox();
     this.dgvSubjects        = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.columnId           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnName         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupBoxSubjects   = new System.Windows.Forms.GroupBox();
     this.buttonAsign        = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.customCloseButton1 = new AttendanceControlAdminClient.GUI.CustomControls.CustomCloseButton();
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).BeginInit();
     this.groupBoxSubjects.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).BeginInit();
     this.SuspendLayout();
     //
     // LabelFilter
     //
     this.LabelFilter.AutoSize  = true;
     this.LabelFilter.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.LabelFilter.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.LabelFilter.Location  = new System.Drawing.Point(18, 77);
     this.LabelFilter.Name      = "LabelFilter";
     this.LabelFilter.Size      = new System.Drawing.Size(147, 16);
     this.LabelFilter.TabIndex  = 0;
     this.LabelFilter.Text      = "Buscar por nombre:";
     //
     // tbSubject
     //
     this.tbSubject.Font         = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.tbSubject.ForeColor    = System.Drawing.Color.Black;
     this.tbSubject.Location     = new System.Drawing.Point(182, 76);
     this.tbSubject.Name         = "tbSubject";
     this.tbSubject.Size         = new System.Drawing.Size(185, 20);
     this.tbSubject.TabIndex     = 1;
     this.tbSubject.TextChanged += new System.EventHandler(this.TbSubject_TextChanged);
     //
     // dgvSubjects
     //
     this.dgvSubjects.AllowUserToAddRows                  = false;
     this.dgvSubjects.AllowUserToDeleteRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvSubjects.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvSubjects.BackgroundColor               = System.Drawing.Color.White;
     this.dgvSubjects.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvSubjects.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvSubjects.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial Black", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvSubjects.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvSubjects.ColumnHeadersHeight           = 40;
     this.dgvSubjects.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvSubjects.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.columnId,
         this.columnName
     });
     this.dgvSubjects.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial Black", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvSubjects.EnableHeadersVisualStyles = false;
     this.dgvSubjects.Location                               = new System.Drawing.Point(21, 111);
     this.dgvSubjects.MultiSelect                            = false;
     this.dgvSubjects.Name                                   = "dgvSubjects";
     this.dgvSubjects.ReadOnly                               = true;
     this.dgvSubjects.RowHeadersVisible                      = false;
     this.dgvSubjects.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvSubjects.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvSubjects.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvSubjects.RowTemplate.Height                     = 30;
     this.dgvSubjects.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvSubjects.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvSubjects.Size                                   = new System.Drawing.Size(370, 262);
     this.dgvSubjects.TabIndex                               = 2;
     //
     // columnId
     //
     this.columnId.HeaderText = "Id";
     this.columnId.Name       = "columnId";
     this.columnId.ReadOnly   = true;
     this.columnId.Visible    = false;
     //
     // columnName
     //
     this.columnName.HeaderText = "Asignaturas";
     this.columnName.Name       = "columnName";
     this.columnName.ReadOnly   = true;
     //
     // groupBoxSubjects
     //
     this.groupBoxSubjects.BackColor = System.Drawing.Color.White;
     this.groupBoxSubjects.Controls.Add(this.buttonAsign);
     this.groupBoxSubjects.Controls.Add(this.LabelFilter);
     this.groupBoxSubjects.Controls.Add(this.tbSubject);
     this.groupBoxSubjects.Controls.Add(this.dgvSubjects);
     this.groupBoxSubjects.Font     = new System.Drawing.Font("Arial Black", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBoxSubjects.Location = new System.Drawing.Point(23, 22);
     this.groupBoxSubjects.Name     = "groupBoxSubjects";
     this.groupBoxSubjects.Size     = new System.Drawing.Size(467, 399);
     this.groupBoxSubjects.TabIndex = 9;
     this.groupBoxSubjects.TabStop  = false;
     this.groupBoxSubjects.Text     = "Asignaturas";
     //
     // buttonAsign
     //
     this.buttonAsign.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAsign.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAsign.FlatAppearance.BorderSize = 0;
     this.buttonAsign.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAsign.Location  = new System.Drawing.Point(405, 129);
     this.buttonAsign.Name      = "buttonAsign";
     this.buttonAsign.Size      = new System.Drawing.Size(50, 50);
     this.buttonAsign.TabIndex  = 3;
     this.buttonAsign.UseVisualStyleBackColor = true;
     this.buttonAsign.Click += new System.EventHandler(this.ButtonAssign_Click);
     //
     // customCloseButton1
     //
     this.customCloseButton1.Image    = ((System.Drawing.Image)(resources.GetObject("customCloseButton1.Image")));
     this.customCloseButton1.Location = new System.Drawing.Point(505, 22);
     this.customCloseButton1.Name     = "customCloseButton1";
     this.customCloseButton1.Size     = new System.Drawing.Size(30, 30);
     this.customCloseButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.customCloseButton1.TabIndex = 10;
     this.customCloseButton1.TabStop  = false;
     //
     // AssignSubjectForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.BackColor           = System.Drawing.Color.White;
     this.ClientSize          = new System.Drawing.Size(556, 445);
     this.Controls.Add(this.customCloseButton1);
     this.Controls.Add(this.groupBoxSubjects);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "AssignSubjectForm";
     this.Load    += new System.EventHandler(this.AssignNewSubjectForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvSubjects)).EndInit();
     this.groupBoxSubjects.ResumeLayout(false);
     this.groupBoxSubjects.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.customCloseButton1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle dataGridViewAlternatingRowsStyle1 = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewAlternatingRowsStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle          dataGridViewHeaderStyle1          = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewHeaderStyle();
     AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle     dataGridViewDefaultCellStyle1     = new AttendanceControlAdminClient.GUI.Design.DataGridViewStyle.DataGridViewDefaultCellStyle();
     this.buttonModify    = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.buttonAdd       = new AttendanceControlAdminClient.GUI.CustomControls.CustomCircularButton();
     this.tbLastName      = new AttendanceControlAdminClient.GUI.CustomControls.CustomTextBox();
     this.LabelFilter     = new AttendanceControlAdminClient.GUI.CustomControls.CustomLabel();
     this.dgvTeachers     = new AttendanceControlAdminClient.GUI.CustomControls.CustomDataGridView();
     this.columnId        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnDni       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnLastNames = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnFirstName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTeachers)).BeginInit();
     this.SuspendLayout();
     //
     // buttonModify
     //
     this.buttonModify.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_modificar;
     this.buttonModify.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonModify.FlatAppearance.BorderSize = 0;
     this.buttonModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonModify.Location  = new System.Drawing.Point(725, 173);
     this.buttonModify.Name      = "buttonModify";
     this.buttonModify.Size      = new System.Drawing.Size(50, 50);
     this.buttonModify.TabIndex  = 7;
     this.buttonModify.UseVisualStyleBackColor = true;
     this.buttonModify.Click += new System.EventHandler(this.ButtonModify_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.BackgroundImage           = global::AttendanceControlAdminClient.Properties.Resources.icono_agregar;
     this.buttonAdd.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.Stretch;
     this.buttonAdd.FlatAppearance.BorderSize = 0;
     this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAdd.Location  = new System.Drawing.Point(725, 117);
     this.buttonAdd.Name      = "buttonAdd";
     this.buttonAdd.Size      = new System.Drawing.Size(50, 50);
     this.buttonAdd.TabIndex  = 6;
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.ButtonCreate_Click);
     //
     // tbLastName
     //
     this.tbLastName.Font         = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
     this.tbLastName.ForeColor    = System.Drawing.Color.Black;
     this.tbLastName.Location     = new System.Drawing.Point(251, 62);
     this.tbLastName.Name         = "tbLastName";
     this.tbLastName.Size         = new System.Drawing.Size(170, 20);
     this.tbLastName.TabIndex     = 5;
     this.tbLastName.TextChanged += new System.EventHandler(this.TbLastName_TextChanged);
     //
     // LabelFilter
     //
     this.LabelFilter.AutoSize  = true;
     this.LabelFilter.Font      = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
     this.LabelFilter.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     this.LabelFilter.Location  = new System.Drawing.Point(86, 63);
     this.LabelFilter.Name      = "LabelFilter";
     this.LabelFilter.Size      = new System.Drawing.Size(149, 16);
     this.LabelFilter.TabIndex  = 4;
     this.LabelFilter.Text      = "Buscar por apellido:";
     //
     // dgvTeachers
     //
     this.dgvTeachers.AllowUserToAddRows                  = false;
     this.dgvTeachers.AllowUserToDeleteRows               = false;
     dataGridViewAlternatingRowsStyle1.BackColor          = System.Drawing.SystemColors.ControlLight;
     dataGridViewAlternatingRowsStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewAlternatingRowsStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewAlternatingRowsStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewAlternatingRowsStyle1.SelectionForeColor = System.Drawing.Color.White;
     this.dgvTeachers.AlternatingRowsDefaultCellStyle     = dataGridViewAlternatingRowsStyle1;
     this.dgvTeachers.BackgroundColor               = System.Drawing.Color.White;
     this.dgvTeachers.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.dgvTeachers.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dgvTeachers.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewHeaderStyle1.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewHeaderStyle1.BackColor             = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.Font                  = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
     dataGridViewHeaderStyle1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.SelectionBackColor    = System.Drawing.Color.White;
     dataGridViewHeaderStyle1.SelectionForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewHeaderStyle1.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvTeachers.ColumnHeadersDefaultCellStyle = dataGridViewHeaderStyle1;
     this.dgvTeachers.ColumnHeadersHeight           = 40;
     this.dgvTeachers.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvTeachers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.columnId,
         this.columnDni,
         this.columnLastNames,
         this.columnFirstName
     });
     this.dgvTeachers.Cursor = System.Windows.Forms.Cursors.Hand;
     dataGridViewDefaultCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewDefaultCellStyle1.BackColor          = System.Drawing.SystemColors.ControlDark;
     dataGridViewDefaultCellStyle1.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewDefaultCellStyle1.ForeColor          = System.Drawing.Color.Black;
     dataGridViewDefaultCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(5)))), ((int)(((byte)(12)))));
     dataGridViewDefaultCellStyle1.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewDefaultCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTeachers.DefaultCellStyle          = dataGridViewDefaultCellStyle1;
     this.dgvTeachers.EnableHeadersVisualStyles = false;
     this.dgvTeachers.Location                               = new System.Drawing.Point(89, 100);
     this.dgvTeachers.MultiSelect                            = false;
     this.dgvTeachers.Name                                   = "dgvTeachers";
     this.dgvTeachers.ReadOnly                               = true;
     this.dgvTeachers.RowHeadersVisible                      = false;
     this.dgvTeachers.RowHeadersWidthSizeMode                = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.dgvTeachers.RowTemplate.DefaultCellStyle.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvTeachers.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
     this.dgvTeachers.RowTemplate.Height                     = 30;
     this.dgvTeachers.RowTemplate.Resizable                  = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTeachers.SelectionMode                          = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvTeachers.Size                                   = new System.Drawing.Size(609, 250);
     this.dgvTeachers.TabIndex                               = 0;
     //
     // columnId
     //
     this.columnId.HeaderText = "ID";
     this.columnId.Name       = "columnId";
     this.columnId.ReadOnly   = true;
     this.columnId.Visible    = false;
     //
     // columnDni
     //
     this.columnDni.HeaderText = "Dni";
     this.columnDni.Name       = "columnDni";
     this.columnDni.ReadOnly   = true;
     //
     // columnLastNames
     //
     this.columnLastNames.HeaderText = "Apellidos";
     this.columnLastNames.Name       = "columnLastNames";
     this.columnLastNames.ReadOnly   = true;
     //
     // columnFirstName
     //
     this.columnFirstName.HeaderText = "Nombre";
     this.columnFirstName.Name       = "columnFirstName";
     this.columnFirstName.ReadOnly   = true;
     //
     // TeachersWindowControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.buttonModify);
     this.Controls.Add(this.buttonAdd);
     this.Controls.Add(this.tbLastName);
     this.Controls.Add(this.LabelFilter);
     this.Controls.Add(this.dgvTeachers);
     this.Name  = "TeachersWindowControl";
     this.Size  = new System.Drawing.Size(800, 500);
     this.Load += new System.EventHandler(this.TeachersWindowControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTeachers)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }