void SetData4Press(ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGrid, Service.Storage.CorrectionSetting.NotityPressCorrectionSet model) { dataGrid.Rows.Clear(); dataGrid.Columns.Clear(); DataGridViewRow row1 = new DataGridViewRow(); row1.HeaderCell.Value = LangWords["306_7"]; var row2 = new DataGridViewRow(); row2.HeaderCell.Value = LangWords["306_2"]; for (int i = 0; i < model.Items.Count; i++) { dataGrid.Columns.Add(i.ToString(), i.ToString()); dataGrid.Columns[i].Width = 41;//LDC 原来38 row1.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Items[i].ToString("N2") }); row2.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Corrections[i].ToString("N1") }); } dataGrid.Rows.Add(row1); dataGrid.Rows.Add(row2); }
private void treeEntities_AfterSelect(object sender, TreeViewEventArgs e) { TTreeNodeData nodeData = e.Node.Tag as TTreeNodeData; string entityName = nodeData.EntityName; long entityKey = nodeData.EntityKey; DataTable data = entityRepository.GetEntityDetailsByKey(entityName, entityKey); this.SuspendLayout(); // clear controls for (int i = 0; i < resultLayoutPanel.Controls.Count; i++) { DataGridView d = resultLayoutPanel.Controls[0] as DataGridView; d.Dispose(); } resultLayoutPanel.Controls.Clear(); // create new result grids const int gridCount = 2; resultLayoutPanel.RowStyles.Clear(); resultLayoutPanel.ColumnCount = 1; resultLayoutPanel.Dock = DockStyle.Fill; resultLayoutPanel.RowCount = gridCount; for (int i = 0; i < gridCount; i++) { var grid = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); grid.Dock = DockStyle.Fill; grid.Location = new Point(0, 0); grid.Name = "gridEntityValues" + i.ToString(); grid.TabIndex = 0; grid.AutoGenerateColumns = true; grid.DataSource = data; RowStyle rs; if (i == 0) { rs = new RowStyle(SizeType.AutoSize); } else { rs = new RowStyle(SizeType.Percent, 30); } resultLayoutPanel.RowStyles.Add(rs); resultLayoutPanel.Controls.Add(grid); } this.ResumeLayout(); }
private void ShowFormDialog(bool canEdit, PropertyType propertyType, ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView) { if (canEdit) { EditElementProperties editElementProperties = new EditElementProperties(); editElementProperties.Name = kryptonDataGridView.SelectedRows[0].Cells["Name"].Value.ToString(); editElementProperties.Value = (kryptonDataGridView.SelectedRows[0].Cells["Value"].Value == null) ? "" : kryptonDataGridView.SelectedRows[0].Cells["Value"].Value.ToString(); editElementProperties.CanEdit = canEdit; EditPropertyForm frmEditProp = new EditPropertyForm(_document, editElementProperties, _element, _family, propertyType); frmEditProp.ShowDialog(); kryptonDataGridView.SelectedRows[0].Cells["Value"].Value = frmEditProp.ReturnValue1; } else { TaskDialog.Show("Warning", "You can not edit this property!"); } }
void SetData4Temp(ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGrid, Service.Storage.CorrectionSetting.NotityTempCorrectionSet model) { dataGrid.Rows.Clear(); dataGrid.Columns.Clear(); DataGridViewRow row1 = new DataGridViewRow(); row1.HeaderCell.Value = LangWords["306_1"]; var row2 = new DataGridViewRow(); row2.HeaderCell.Value = LangWords["306_2"]; for (int i = 0; i < model.Corrections.Count; i++) { dataGrid.Columns.Add(i.ToString(), i.ToString()); dataGrid.Columns[i].Width = 66; } int j = model.Temps.Count; for (int i = 0; i < model.Temps.Count; i++) { row1.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Temps[j - 1].ToString() }); row2.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Corrections[j].ToString() }); j--; } var overCellIndex1 = row1.Cells.Add(new DataGridViewTextBoxCell() { Value = LangWords["306_3"] }); row1.Cells[overCellIndex1].ReadOnly = true; // row2.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Over }); row2.Cells.Add(new DataGridViewTextBoxCell() { Value = model.Corrections[0].ToString() }); dataGrid.Rows.Add(row1); dataGrid.Rows.Add(row2); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPermisos)); this.kryptonHeader1 = new ComponentFactory.Krypton.Toolkit.KryptonHeader(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.dgvUsuarios = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.usuarioBindingSource = new System.Windows.Forms.BindingSource(this.components); this.usuarioBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.gbxInformacion = new System.Windows.Forms.GroupBox(); this.chkEsPrincipal = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.dtpFechaRegistro = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.cmbEmpleados = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.txtPassword = new ExactTarget.Windows.Controles.CustomKryptonTextBox(); this.txtUsername = new ExactTarget.Windows.Controles.CustomKryptonTextBox(); this.label6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.label3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.TsMenu = new System.Windows.Forms.ToolStrip(); this.TsbNuevo = new System.Windows.Forms.ToolStripButton(); this.TsbEditar = new System.Windows.Forms.ToolStripButton(); this.TsbEliminar = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.TsbGuardar = new System.Windows.Forms.ToolStripButton(); this.TsbCancelar = new System.Windows.Forms.ToolStripButton(); this.perUsuario = new ExactTarget.Windows.Controles.PermisosFormulario(); this.errValidator = new System.Windows.Forms.ErrorProvider(this.components); this.usuarioIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.usernameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.passwordDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.esPrincipalDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.fechaRegistroDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.personalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.permisosBindingSource = new System.Windows.Forms.BindingSource(this.components); this.personalBindingSource = new System.Windows.Forms.BindingSource(this.components); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingNavigator)).BeginInit(); this.usuarioBindingNavigator.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.gbxInformacion.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cmbEmpleados)).BeginInit(); this.TsMenu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.errValidator)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.permisosBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.personalBindingSource)).BeginInit(); this.SuspendLayout(); // // kryptonHeader1 // this.kryptonHeader1.Dock = System.Windows.Forms.DockStyle.Top; this.kryptonHeader1.Location = new System.Drawing.Point(0, 0); this.kryptonHeader1.Name = "kryptonHeader1"; this.kryptonHeader1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonHeader1.Size = new System.Drawing.Size(753, 31); this.kryptonHeader1.TabIndex = 0; this.kryptonHeader1.Text = "Permisos de Usuario"; this.kryptonHeader1.Values.Description = ""; this.kryptonHeader1.Values.Heading = "Permisos de Usuario"; this.kryptonHeader1.Values.Image = null; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 31); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.splitContainer2); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.perUsuario); this.splitContainer1.Size = new System.Drawing.Size(753, 480); this.splitContainer1.SplitterDistance = 236; this.splitContainer1.TabIndex = 1; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.AutoScroll = true; this.splitContainer2.Panel1.Controls.Add(this.dgvUsuarios); this.splitContainer2.Panel1.Controls.Add(this.usuarioBindingNavigator); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.kryptonPanel1); this.splitContainer2.Panel2.Controls.Add(this.TsMenu); this.splitContainer2.Size = new System.Drawing.Size(753, 236); this.splitContainer2.SplitterDistance = 274; this.splitContainer2.TabIndex = 0; // // dgvUsuarios // this.dgvUsuarios.AllowUserToAddRows = false; this.dgvUsuarios.AllowUserToDeleteRows = false; this.dgvUsuarios.AutoGenerateColumns = false; this.dgvUsuarios.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.usuarioIDDataGridViewTextBoxColumn, this.usernameDataGridViewTextBoxColumn, this.passwordDataGridViewTextBoxColumn, this.esPrincipalDataGridViewCheckBoxColumn, this.fechaRegistroDataGridViewTextBoxColumn, this.personalDataGridViewTextBoxColumn}); this.dgvUsuarios.DataSource = this.usuarioBindingSource; this.dgvUsuarios.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvUsuarios.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet; this.dgvUsuarios.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.dgvUsuarios.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvUsuarios.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvUsuarios.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvUsuarios.Location = new System.Drawing.Point(0, 25); this.dgvUsuarios.Name = "dgvUsuarios"; this.dgvUsuarios.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.dgvUsuarios.ReadOnly = true; this.dgvUsuarios.RowHeadersWidth = 10; this.dgvUsuarios.Size = new System.Drawing.Size(274, 211); this.dgvUsuarios.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.dgvUsuarios.TabIndex = 0; this.dgvUsuarios.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUsuarios_CellEnter); // // usuarioBindingSource // this.usuarioBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Usuario); // // usuarioBindingNavigator // this.usuarioBindingNavigator.AddNewItem = null; this.usuarioBindingNavigator.BindingSource = this.usuarioBindingSource; this.usuarioBindingNavigator.CountItem = this.bindingNavigatorCountItem; this.usuarioBindingNavigator.DeleteItem = null; this.usuarioBindingNavigator.Font = new System.Drawing.Font("Segoe UI", 9F); this.usuarioBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorSeparator, this.bindingNavigatorPositionItem, this.bindingNavigatorCountItem, this.bindingNavigatorSeparator1, this.bindingNavigatorMoveNextItem, this.bindingNavigatorMoveLastItem}); this.usuarioBindingNavigator.Location = new System.Drawing.Point(0, 0); this.usuarioBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.usuarioBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem; this.usuarioBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem; this.usuarioBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.usuarioBindingNavigator.Name = "usuarioBindingNavigator"; this.usuarioBindingNavigator.PositionItem = this.bindingNavigatorPositionItem; this.usuarioBindingNavigator.Size = new System.Drawing.Size(274, 25); this.usuarioBindingNavigator.TabIndex = 2; this.usuarioBindingNavigator.Text = "bindingNavigator1"; // // bindingNavigatorCountItem // this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; this.bindingNavigatorCountItem.Size = new System.Drawing.Size(37, 22); this.bindingNavigatorCountItem.Text = "de {0}"; this.bindingNavigatorCountItem.ToolTipText = "Total number of items"; // // bindingNavigatorMoveFirstItem // this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveFirstItem.Text = "Move first"; // // bindingNavigatorMovePreviousItem // this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMovePreviousItem.Text = "Move previous"; // // bindingNavigatorSeparator // this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); // // bindingNavigatorPositionItem // this.bindingNavigatorPositionItem.AccessibleName = "Position"; this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.ToolTipText = "Current position"; // // bindingNavigatorSeparator1 // this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); // // bindingNavigatorMoveNextItem // this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveNextItem.Text = "Move next"; // // bindingNavigatorMoveLastItem // this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveLastItem.Text = "Move last"; // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.gbxInformacion); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel1.Location = new System.Drawing.Point(0, 25); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonPanel1.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient; this.kryptonPanel1.Size = new System.Drawing.Size(475, 211); this.kryptonPanel1.TabIndex = 3; // // gbxInformacion // this.gbxInformacion.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gbxInformacion.BackColor = System.Drawing.Color.Transparent; this.gbxInformacion.Controls.Add(this.chkEsPrincipal); this.gbxInformacion.Controls.Add(this.kryptonLabel2); this.gbxInformacion.Controls.Add(this.kryptonLabel1); this.gbxInformacion.Controls.Add(this.dtpFechaRegistro); this.gbxInformacion.Controls.Add(this.cmbEmpleados); this.gbxInformacion.Controls.Add(this.txtPassword); this.gbxInformacion.Controls.Add(this.txtUsername); this.gbxInformacion.Controls.Add(this.label6); this.gbxInformacion.Controls.Add(this.label3); this.gbxInformacion.Controls.Add(this.label2); this.gbxInformacion.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbxInformacion.ForeColor = System.Drawing.Color.Navy; this.gbxInformacion.Location = new System.Drawing.Point(14, 14); this.gbxInformacion.Name = "gbxInformacion"; this.gbxInformacion.Size = new System.Drawing.Size(449, 183); this.gbxInformacion.TabIndex = 2; this.gbxInformacion.TabStop = false; this.gbxInformacion.Text = "Datos Usuario"; // // chkEsPrincipal // this.chkEsPrincipal.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.chkEsPrincipal.Location = new System.Drawing.Point(117, 137); this.chkEsPrincipal.Name = "chkEsPrincipal"; this.chkEsPrincipal.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.chkEsPrincipal.Size = new System.Drawing.Size(19, 13); this.chkEsPrincipal.TabIndex = 31; this.chkEsPrincipal.Values.ExtraText = ""; this.chkEsPrincipal.Values.Image = null; this.chkEsPrincipal.Values.Text = ""; // // kryptonLabel2 // this.kryptonLabel2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonLabel2.Location = new System.Drawing.Point(19, 135); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonLabel2.Size = new System.Drawing.Size(91, 20); this.kryptonLabel2.TabIndex = 30; this.kryptonLabel2.Text = "Administrador:"; this.kryptonLabel2.Values.ExtraText = ""; this.kryptonLabel2.Values.Image = null; this.kryptonLabel2.Values.Text = "Administrador:"; // // kryptonLabel1 // this.kryptonLabel1.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonLabel1.Location = new System.Drawing.Point(19, 109); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonLabel1.Size = new System.Drawing.Size(93, 20); this.kryptonLabel1.TabIndex = 29; this.kryptonLabel1.Text = "Fecha Registro:"; this.kryptonLabel1.Values.ExtraText = ""; this.kryptonLabel1.Values.Image = null; this.kryptonLabel1.Values.Text = "Fecha Registro:"; // // dtpFechaRegistro // this.dtpFechaRegistro.CalendarDayOfWeekStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.CalendarDay; this.dtpFechaRegistro.CalendarDayStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.CalendarDay; this.dtpFechaRegistro.CalendarHeaderStyle = ComponentFactory.Krypton.Toolkit.HeaderStyle.Calendar; this.dtpFechaRegistro.CalendarTodayDate = new System.DateTime(2010, 4, 28, 0, 0, 0, 0); this.dtpFechaRegistro.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl; this.dtpFechaRegistro.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone; this.dtpFechaRegistro.Location = new System.Drawing.Point(115, 106); this.dtpFechaRegistro.Name = "dtpFechaRegistro"; this.dtpFechaRegistro.Size = new System.Drawing.Size(204, 21); this.dtpFechaRegistro.TabIndex = 28; this.dtpFechaRegistro.UpDownButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl; // // cmbEmpleados // this.cmbEmpleados.DataSource = this.personalBindingSource; this.cmbEmpleados.DisplayMember = "nombreCompleto"; this.cmbEmpleados.DropBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ControlClient; this.cmbEmpleados.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl; this.cmbEmpleados.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbEmpleados.DropDownWidth = 258; this.cmbEmpleados.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone; this.cmbEmpleados.ItemStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.ListItem; this.cmbEmpleados.Location = new System.Drawing.Point(115, 25); this.cmbEmpleados.Name = "cmbEmpleados"; this.cmbEmpleados.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.cmbEmpleados.Size = new System.Drawing.Size(301, 21); this.cmbEmpleados.TabIndex = 27; this.cmbEmpleados.ValueMember = "personalID"; // // txtPassword // this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtPassword.BackColorEnter = System.Drawing.SystemColors.Window; this.txtPassword.BackColorLeave = System.Drawing.SystemColors.Window; this.txtPassword.DataType = ExactTarget.Windows.Controles.DataType.Alfanumerico; this.txtPassword.ForeColorEnter = System.Drawing.SystemColors.WindowText; this.txtPassword.ForeColorLeave = System.Drawing.SystemColors.WindowText; this.txtPassword.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone; this.txtPassword.IsMayusculas = false; this.txtPassword.Location = new System.Drawing.Point(115, 80); this.txtPassword.MaxValue = 0; this.txtPassword.Name = "txtPassword"; this.txtPassword.NumberDecimals = 3; this.txtPassword.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2007Blue; this.txtPassword.Size = new System.Drawing.Size(213, 20); this.txtPassword.TabIndex = 23; // // txtUsername // this.txtUsername.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtUsername.BackColorEnter = System.Drawing.SystemColors.Window; this.txtUsername.BackColorLeave = System.Drawing.SystemColors.Window; this.txtUsername.DataType = ExactTarget.Windows.Controles.DataType.Alfanumerico; this.txtUsername.ForeColorEnter = System.Drawing.SystemColors.WindowText; this.txtUsername.ForeColorLeave = System.Drawing.SystemColors.WindowText; this.txtUsername.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone; this.txtUsername.IsMayusculas = false; this.txtUsername.Location = new System.Drawing.Point(115, 54); this.txtUsername.MaxValue = 0; this.txtUsername.Name = "txtUsername"; this.txtUsername.NumberDecimals = 3; this.txtUsername.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2007Blue; this.txtUsername.Size = new System.Drawing.Size(213, 20); this.txtUsername.TabIndex = 22; // // label6 // this.label6.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.label6.Location = new System.Drawing.Point(19, 83); this.label6.Name = "label6"; this.label6.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.label6.Size = new System.Drawing.Size(65, 20); this.label6.TabIndex = 10; this.label6.Text = "Password:"******""; this.label6.Values.Image = null; this.label6.Values.Text = "Password:"******"label3"; this.label3.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.label3.Size = new System.Drawing.Size(55, 20); this.label3.TabIndex = 4; this.label3.Text = "Usuario:"; this.label3.Values.ExtraText = ""; this.label3.Values.Image = null; this.label3.Values.Text = "Usuario:"; // // label2 // this.label2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.label2.Location = new System.Drawing.Point(19, 28); this.label2.Name = "label2"; this.label2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.label2.Size = new System.Drawing.Size(68, 20); this.label2.TabIndex = 2; this.label2.Text = "Empleado:"; this.label2.Values.ExtraText = ""; this.label2.Values.Image = null; this.label2.Values.Text = "Empleado:"; // // TsMenu // this.TsMenu.Font = new System.Drawing.Font("Segoe UI", 9F); this.TsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.TsbNuevo, this.TsbEditar, this.TsbEliminar, this.toolStripSeparator, this.TsbGuardar, this.TsbCancelar}); this.TsMenu.Location = new System.Drawing.Point(0, 0); this.TsMenu.Name = "TsMenu"; this.TsMenu.Size = new System.Drawing.Size(475, 25); this.TsMenu.TabIndex = 2; this.TsMenu.Text = "Barra de Menu"; // // TsbNuevo // this.TsbNuevo.Image = global::ExactTarget.Windows.Properties.Resources.Add1; this.TsbNuevo.ImageTransparentColor = System.Drawing.Color.Magenta; this.TsbNuevo.Name = "TsbNuevo"; this.TsbNuevo.Size = new System.Drawing.Size(62, 22); this.TsbNuevo.Text = "&Nuevo"; this.TsbNuevo.Click += new System.EventHandler(this.TsbNuevo_Click); // // TsbEditar // this.TsbEditar.Image = global::ExactTarget.Windows.Properties.Resources.Modify1; this.TsbEditar.ImageTransparentColor = System.Drawing.Color.Magenta; this.TsbEditar.Name = "TsbEditar"; this.TsbEditar.Size = new System.Drawing.Size(57, 22); this.TsbEditar.Text = "E&ditar"; this.TsbEditar.Click += new System.EventHandler(this.TsbEditar_Click); // // TsbEliminar // this.TsbEliminar.Image = global::ExactTarget.Windows.Properties.Resources.Delete1; this.TsbEliminar.ImageTransparentColor = System.Drawing.Color.Magenta; this.TsbEliminar.Name = "TsbEliminar"; this.TsbEliminar.Size = new System.Drawing.Size(70, 22); this.TsbEliminar.Text = "&Eliminar"; this.TsbEliminar.Click += new System.EventHandler(this.TsbEliminar_Click); // // toolStripSeparator // this.toolStripSeparator.Name = "toolStripSeparator"; this.toolStripSeparator.Size = new System.Drawing.Size(6, 25); // // TsbGuardar // this.TsbGuardar.Image = global::ExactTarget.Windows.Properties.Resources.Save1; this.TsbGuardar.ImageTransparentColor = System.Drawing.Color.Magenta; this.TsbGuardar.Name = "TsbGuardar"; this.TsbGuardar.Size = new System.Drawing.Size(69, 22); this.TsbGuardar.Text = "&Guardar"; this.TsbGuardar.Click += new System.EventHandler(this.TsbGuardar_Click); // // TsbCancelar // this.TsbCancelar.Image = global::ExactTarget.Windows.Properties.Resources.Back1; this.TsbCancelar.ImageTransparentColor = System.Drawing.Color.Magenta; this.TsbCancelar.Name = "TsbCancelar"; this.TsbCancelar.Size = new System.Drawing.Size(73, 22); this.TsbCancelar.Text = "&Cancelar"; this.TsbCancelar.Click += new System.EventHandler(this.TsbCancelar_Click); // // perUsuario // this.perUsuario.Dock = System.Windows.Forms.DockStyle.Fill; this.perUsuario.EnabledPermisos = true; this.perUsuario.Location = new System.Drawing.Point(0, 0); this.perUsuario.Name = "perUsuario"; this.perUsuario.PersonaID = ((short)(0)); this.perUsuario.Size = new System.Drawing.Size(753, 240); this.perUsuario.TabIndex = 0; // // errValidator // this.errValidator.ContainerControl = this; // // usuarioIDDataGridViewTextBoxColumn // this.usuarioIDDataGridViewTextBoxColumn.DataPropertyName = "usuarioID"; this.usuarioIDDataGridViewTextBoxColumn.HeaderText = "usuarioID"; this.usuarioIDDataGridViewTextBoxColumn.Name = "usuarioIDDataGridViewTextBoxColumn"; this.usuarioIDDataGridViewTextBoxColumn.ReadOnly = true; // // usernameDataGridViewTextBoxColumn // this.usernameDataGridViewTextBoxColumn.DataPropertyName = "username"; this.usernameDataGridViewTextBoxColumn.HeaderText = "username"; this.usernameDataGridViewTextBoxColumn.Name = "usernameDataGridViewTextBoxColumn"; this.usernameDataGridViewTextBoxColumn.ReadOnly = true; // // passwordDataGridViewTextBoxColumn // this.passwordDataGridViewTextBoxColumn.DataPropertyName = "password"; this.passwordDataGridViewTextBoxColumn.HeaderText = "password"; this.passwordDataGridViewTextBoxColumn.Name = "passwordDataGridViewTextBoxColumn"; this.passwordDataGridViewTextBoxColumn.ReadOnly = true; // // esPrincipalDataGridViewCheckBoxColumn // this.esPrincipalDataGridViewCheckBoxColumn.DataPropertyName = "esPrincipal"; this.esPrincipalDataGridViewCheckBoxColumn.HeaderText = "esPrincipal"; this.esPrincipalDataGridViewCheckBoxColumn.Name = "esPrincipalDataGridViewCheckBoxColumn"; this.esPrincipalDataGridViewCheckBoxColumn.ReadOnly = true; // // fechaRegistroDataGridViewTextBoxColumn // this.fechaRegistroDataGridViewTextBoxColumn.DataPropertyName = "fechaRegistro"; this.fechaRegistroDataGridViewTextBoxColumn.HeaderText = "fechaRegistro"; this.fechaRegistroDataGridViewTextBoxColumn.Name = "fechaRegistroDataGridViewTextBoxColumn"; this.fechaRegistroDataGridViewTextBoxColumn.ReadOnly = true; // // personalDataGridViewTextBoxColumn // this.personalDataGridViewTextBoxColumn.DataPropertyName = "Personal"; this.personalDataGridViewTextBoxColumn.HeaderText = "Personal"; this.personalDataGridViewTextBoxColumn.Name = "personalDataGridViewTextBoxColumn"; this.personalDataGridViewTextBoxColumn.ReadOnly = true; // // permisosBindingSource // this.permisosBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Permiso); // // personalBindingSource // this.personalBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Usuario); // // FrmPermisos // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(753, 511); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.kryptonHeader1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "FrmPermisos"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "FrmPermisos"; this.Load += new System.EventHandler(this.FrmPermisos_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel1.PerformLayout(); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.Panel2.PerformLayout(); this.splitContainer2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingNavigator)).EndInit(); this.usuarioBindingNavigator.ResumeLayout(false); this.usuarioBindingNavigator.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.gbxInformacion.ResumeLayout(false); this.gbxInformacion.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cmbEmpleados)).EndInit(); this.TsMenu.ResumeLayout(false); this.TsMenu.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.errValidator)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.permisosBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.personalBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panelFind = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.textFind = new ComponentLib.Controls.TextEdit(); this.buttonSpecAny2 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.gridEntries = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.contextMenuEntries = new System.Windows.Forms.ContextMenuStrip(this.components); this.separatorTop = new System.Windows.Forms.ToolStripSeparator(); this.menuAdd = new System.Windows.Forms.ToolStripMenuItem(); this.menuDelete = new System.Windows.Forms.ToolStripMenuItem(); this.menuMove = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.menuSynonyms = new System.Windows.Forms.ToolStripMenuItem(); this.menuDefineSynonyms = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.menuAntonyms = new System.Windows.Forms.ToolStripMenuItem(); this.menuDefineAntonyms = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.menuColumns = new System.Windows.Forms.ToolStripMenuItem(); this.bindingEntry = new System.Windows.Forms.BindingSource(this.components); this.backgroundSpellChecker = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.panelFind)).BeginInit(); this.panelFind.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridEntries)).BeginInit(); this.contextMenuEntries.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bindingEntry)).BeginInit(); this.SuspendLayout(); // // panelFind // this.panelFind.Controls.Add(this.textFind); this.panelFind.Controls.Add(this.kryptonLabel1); this.panelFind.Dock = System.Windows.Forms.DockStyle.Top; this.panelFind.Location = new System.Drawing.Point(0, 0); this.panelFind.Name = "panelFind"; this.panelFind.Size = new System.Drawing.Size(805, 30); this.panelFind.TabIndex = 3; // // textFind // this.textFind.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textFind.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] { this.buttonSpecAny2 }); this.textFind.EmptyText = "Строка поиска"; this.textFind.Location = new System.Drawing.Point(51, 5); this.textFind.Name = "textFind"; this.textFind.Size = new System.Drawing.Size(751, 20); this.textFind.StateCommon.Content.Color1 = System.Drawing.SystemColors.ControlDark; this.textFind.TabIndex = 0; this.textFind.Text = "Строка поиска"; this.textFind.ValueText = null; this.textFind.TextChanged += new System.EventHandler(this.textFind_TextChanged); // // buttonSpecAny2 // this.buttonSpecAny2.Edge = ComponentFactory.Krypton.Toolkit.PaletteRelativeEdgeAlign.Near; this.buttonSpecAny2.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close; this.buttonSpecAny2.UniqueName = "087F14188A5C4FAFC8AB230E62545E16"; this.buttonSpecAny2.Click += new System.EventHandler(this.buttonSpecAny2_Click); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(3, 6); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(46, 22); this.kryptonLabel1.TabIndex = 0; this.kryptonLabel1.Values.Text = "Поиск"; // // gridEntries // this.gridEntries.AutoGenerateColumns = false; this.gridEntries.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2 }); this.gridEntries.ContextMenuStrip = this.contextMenuEntries; this.gridEntries.DataSource = this.bindingEntry; this.gridEntries.Dock = System.Windows.Forms.DockStyle.Fill; this.gridEntries.HideOuterBorders = true; this.gridEntries.Location = new System.Drawing.Point(0, 30); this.gridEntries.Name = "gridEntries"; this.gridEntries.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.gridEntries.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.gridEntries.Size = new System.Drawing.Size(805, 339); this.gridEntries.TabIndex = 4; this.gridEntries.VirtualMode = true; this.gridEntries.CancelRowEdit += new System.Windows.Forms.QuestionEventHandler(this.GridEntriesCancelRowEdit); this.gridEntries.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseDown); this.gridEntries.CellMouseMove += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseMove); this.gridEntries.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseUp); this.gridEntries.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.gridEntries_CellPainting); this.gridEntries.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.GridEntriesCellValueNeeded); this.gridEntries.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.GridEntriesCellValuePushed); this.gridEntries.RowValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridEntriesRowValidated); this.gridEntries.SelectionChanged += new System.EventHandler(this.GridEntriesSelectionChanged); this.gridEntries.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.GridEntriesQueryContinueDrag); // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // Column2 // this.Column2.HeaderText = "Column2"; this.Column2.Name = "Column2"; // // contextMenuEntries // this.contextMenuEntries.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.contextMenuEntries.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.separatorTop, this.menuAdd, this.menuDelete, this.menuMove, this.toolStripSeparator1, this.menuSynonyms, this.menuAntonyms, this.toolStripSeparator4, this.menuColumns }); this.contextMenuEntries.Name = "contextMenuEntries"; this.contextMenuEntries.Size = new System.Drawing.Size(210, 154); this.contextMenuEntries.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuEntriesOpening); // // separatorTop // this.separatorTop.Name = "separatorTop"; this.separatorTop.Size = new System.Drawing.Size(206, 6); // // menuAdd // this.menuAdd.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.textfield_add; this.menuAdd.Name = "menuAdd"; this.menuAdd.ShortcutKeys = System.Windows.Forms.Keys.Insert; this.menuAdd.Size = new System.Drawing.Size(209, 22); this.menuAdd.Text = "Добавить строку..."; this.menuAdd.Click += new System.EventHandler(this.menuAdd_Click); // // menuDelete // this.menuDelete.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.textfield_delete; this.menuDelete.Name = "menuDelete"; this.menuDelete.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete))); this.menuDelete.Size = new System.Drawing.Size(209, 22); this.menuDelete.Text = "Удалить строку"; this.menuDelete.Click += new System.EventHandler(this.menuDelete_Click); // // menuMove // this.menuMove.Name = "menuMove"; this.menuMove.Size = new System.Drawing.Size(209, 22); this.menuMove.Text = "Переместить"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(206, 6); // // menuSynonyms // this.menuSynonyms.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuDefineSynonyms, this.toolStripSeparator3 }); this.menuSynonyms.Name = "menuSynonyms"; this.menuSynonyms.Size = new System.Drawing.Size(209, 22); this.menuSynonyms.Text = "Синонимы"; // // menuDefineSynonyms // this.menuDefineSynonyms.Name = "menuDefineSynonyms"; this.menuDefineSynonyms.Size = new System.Drawing.Size(140, 22); this.menuDefineSynonyms.Text = "Определить"; this.menuDefineSynonyms.Click += new System.EventHandler(this.menuDefineSynonyms_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(137, 6); // // menuAntonyms // this.menuAntonyms.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuDefineAntonyms, this.toolStripSeparator2 }); this.menuAntonyms.Name = "menuAntonyms"; this.menuAntonyms.Size = new System.Drawing.Size(209, 22); this.menuAntonyms.Text = "Антонимы"; // // menuDefineAntonyms // this.menuDefineAntonyms.Name = "menuDefineAntonyms"; this.menuDefineAntonyms.Size = new System.Drawing.Size(140, 22); this.menuDefineAntonyms.Text = "Определить"; this.menuDefineAntonyms.Click += new System.EventHandler(this.menuDefineAntonyms_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(137, 6); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(206, 6); // // menuColumns // this.menuColumns.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.columns_view; this.menuColumns.Name = "menuColumns"; this.menuColumns.Size = new System.Drawing.Size(209, 22); this.menuColumns.Text = "Столбцы словаря..."; this.menuColumns.Click += new System.EventHandler(this.menuColumns_Click); // // backgroundSpellChecker // this.backgroundSpellChecker.WorkerSupportsCancellation = true; this.backgroundSpellChecker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundSpellChecker_DoWork); this.backgroundSpellChecker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundSpellChecker_RunWorkerCompleted); // // VocabularyWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(805, 369); this.Controls.Add(this.gridEntries); this.Controls.Add(this.panelFind); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "VocabularyWindow"; this.Text = "Словарь"; ((System.ComponentModel.ISupportInitialize)(this.panelFind)).EndInit(); this.panelFind.ResumeLayout(false); this.panelFind.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridEntries)).EndInit(); this.contextMenuEntries.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bindingEntry)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GridView)); this.panel = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.kryptonHeader1 = new ComponentFactory.Krypton.Toolkit.KryptonHeader(); ((System.ComponentModel.ISupportInitialize)(this.panel)).BeginInit(); this.panel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonHeader1)).BeginInit(); this.SuspendLayout(); // // panel // this.panel.Controls.Add(this.kryptonDataGridView1); this.panel.Controls.Add(this.kryptonHeader1); this.panel.Dock = System.Windows.Forms.DockStyle.Fill; this.panel.Location = new System.Drawing.Point(0, 0); this.panel.Name = "panel"; this.panel.Size = new System.Drawing.Size(499, 410); this.panel.TabIndex = 0; // // kryptonDataGridView1 // this.kryptonDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.kryptonDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonDataGridView1.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet; this.kryptonDataGridView1.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.kryptonDataGridView1.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.kryptonDataGridView1.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.kryptonDataGridView1.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.kryptonDataGridView1.Location = new System.Drawing.Point(0, 31); this.kryptonDataGridView1.Name = "kryptonDataGridView1"; this.kryptonDataGridView1.Size = new System.Drawing.Size(499, 379); this.kryptonDataGridView1.StateCommon.Background.Color1 = System.Drawing.Color.White; this.kryptonDataGridView1.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.kryptonDataGridView1.TabIndex = 2; // // kryptonHeader1 // this.kryptonHeader1.Dock = System.Windows.Forms.DockStyle.Top; this.kryptonHeader1.Location = new System.Drawing.Point(0, 0); this.kryptonHeader1.Name = "kryptonHeader1"; this.kryptonHeader1.Size = new System.Drawing.Size(499, 31); this.kryptonHeader1.TabIndex = 1; this.kryptonHeader1.Text = "Provider Setup"; this.kryptonHeader1.Values.Description = "Description"; this.kryptonHeader1.Values.Heading = "Provider Setup"; this.kryptonHeader1.Values.Image = ((System.Drawing.Image)(resources.GetObject("kryptonHeader1.Values.Image"))); // // GridView // this.Controls.Add(this.panel); this.Name = "GridView"; this.Size = new System.Drawing.Size(499, 410); ((System.ComponentModel.ISupportInitialize)(this.panel)).EndInit(); this.panel.ResumeLayout(false); this.panel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonHeader1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StartPageWindow)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.gridRecentFiles = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.buttonLoad = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.buttonCreate = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.buttonDelete = new System.Windows.Forms.ToolStripButton(); this.buttonHide = new System.Windows.Forms.ToolStripButton(); this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnOpened = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnAction = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewButtonColumn(); this.ColumnStartPractice = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewButtonColumn(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridRecentFiles)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kryptonPanel2); this.kryptonPanel1.Controls.Add(this.kryptonLabel2); this.kryptonPanel1.Controls.Add(this.pictureBox1); this.kryptonPanel1.Controls.Add(this.buttonLoad); this.kryptonPanel1.Controls.Add(this.buttonCreate); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel1.Location = new System.Drawing.Point(0, 0); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(1004, 548); this.kryptonPanel1.TabIndex = 0; // // gridRecentFiles // this.gridRecentFiles.AllowUserToAddRows = false; this.gridRecentFiles.AllowUserToDeleteRows = false; this.gridRecentFiles.AllowUserToOrderColumns = true; this.gridRecentFiles.AllowUserToResizeColumns = false; this.gridRecentFiles.AllowUserToResizeRows = false; this.gridRecentFiles.ColumnHeadersHeight = 25; this.gridRecentFiles.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ColumnName, this.ColumnOpened, this.ColumnAction, this.ColumnStartPractice }); this.gridRecentFiles.Dock = System.Windows.Forms.DockStyle.Fill; this.gridRecentFiles.Location = new System.Drawing.Point(0, 25); this.gridRecentFiles.MultiSelect = false; this.gridRecentFiles.Name = "gridRecentFiles"; this.gridRecentFiles.ReadOnly = true; this.gridRecentFiles.RowHeadersVisible = false; this.gridRecentFiles.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.gridRecentFiles.RowTemplate.Height = 27; this.gridRecentFiles.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.gridRecentFiles.Size = new System.Drawing.Size(980, 361); this.gridRecentFiles.TabIndex = 10; this.gridRecentFiles.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridRecentFilesCellContentClick); // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 128); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(94, 16); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.kryptonLabel2.TabIndex = 9; this.kryptonLabel2.Values.Text = "Выберите тему"; // // pictureBox1 // this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pictureBox1.BackColor = System.Drawing.Color.Transparent; this.pictureBox1.Image = global::VocabularyTest.Addons.StartPage.Images.accessories_dictionary; this.pictureBox1.Location = new System.Drawing.Point(860, 12); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(132, 132); this.pictureBox1.TabIndex = 8; this.pictureBox1.TabStop = false; // // buttonLoad // this.buttonLoad.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonLoad.Location = new System.Drawing.Point(12, 78); this.buttonLoad.Name = "buttonLoad"; this.buttonLoad.Size = new System.Drawing.Size(227, 25); this.buttonLoad.TabIndex = 7; this.buttonLoad.Values.Image = ((System.Drawing.Image)(resources.GetObject("buttonLoad.Values.Image"))); this.buttonLoad.Values.Text = "Загрузить новые словари"; this.buttonLoad.Click += new System.EventHandler(this.ButtonLoadClick); // // buttonCreate // this.buttonCreate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonCreate.Location = new System.Drawing.Point(12, 47); this.buttonCreate.Name = "buttonCreate"; this.buttonCreate.Size = new System.Drawing.Size(227, 25); this.buttonCreate.TabIndex = 5; this.buttonCreate.Values.Image = ((System.Drawing.Image)(resources.GetObject("buttonCreate.Values.Image"))); this.buttonCreate.Values.Text = "Создать новый словарь"; this.buttonCreate.Click += new System.EventHandler(this.ButtonCreateClick); // // kryptonLabel1 // this.kryptonLabel1.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.kryptonLabel1.Location = new System.Drawing.Point(12, 12); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(296, 29); this.kryptonLabel1.TabIndex = 1; this.kryptonLabel1.Values.Text = "Тренировка словарного запаса"; // // kryptonPanel2 // this.kryptonPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.kryptonPanel2.Controls.Add(this.gridRecentFiles); this.kryptonPanel2.Controls.Add(this.toolStrip1); this.kryptonPanel2.Location = new System.Drawing.Point(12, 150); this.kryptonPanel2.Name = "kryptonPanel2"; this.kryptonPanel2.Size = new System.Drawing.Size(980, 386); this.kryptonPanel2.TabIndex = 11; // // toolStrip1 // this.toolStrip1.Font = new System.Drawing.Font("Segoe UI", 9F); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.buttonDelete, this.buttonHide }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(980, 25); this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // buttonDelete // this.buttonDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.buttonDelete.Image = ((System.Drawing.Image)(resources.GetObject("buttonDelete.Image"))); this.buttonDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.Size = new System.Drawing.Size(84, 22); this.buttonDelete.Text = "Удалить тему"; this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click); // // buttonHide // this.buttonHide.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.buttonHide.Image = ((System.Drawing.Image)(resources.GetObject("buttonHide.Image"))); this.buttonHide.ImageTransparentColor = System.Drawing.Color.Magenta; this.buttonHide.Name = "buttonHide"; this.buttonHide.Size = new System.Drawing.Size(52, 22); this.buttonHide.Text = "Скрыть"; this.buttonHide.Click += new System.EventHandler(this.buttonHide_Click); // // ColumnName // this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.ColumnName.HeaderText = "Наименование"; this.ColumnName.Name = "ColumnName"; this.ColumnName.ReadOnly = true; // // ColumnOpened // this.ColumnOpened.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.ColumnOpened.HeaderText = "Дата изменения"; this.ColumnOpened.Name = "ColumnOpened"; this.ColumnOpened.ReadOnly = true; this.ColumnOpened.Width = 124; // // ColumnAction // this.ColumnAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; this.ColumnAction.HeaderText = ""; this.ColumnAction.Name = "ColumnAction"; this.ColumnAction.ReadOnly = true; this.ColumnAction.Text = ""; this.ColumnAction.Width = 7; // // ColumnStartPractice // this.ColumnStartPractice.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; this.ColumnStartPractice.HeaderText = ""; this.ColumnStartPractice.Name = "ColumnStartPractice"; this.ColumnStartPractice.ReadOnly = true; this.ColumnStartPractice.Width = 7; // // StartPageWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1004, 548); this.CloseButton = false; this.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document; this.HideOnClose = true; this.Controls.Add(this.kryptonPanel1); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "StartPageWindow"; this.Text = "Главная"; ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridRecentFiles)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.year = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.paperName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.startTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.endTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.btnFind = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.PaperListDGV = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.cbtnFindByYear = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton(); this.cbtnFindByTime = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton(); this.cbtnFindByName = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton(); this.btnSelect = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.csFind = new ComponentFactory.Krypton.Toolkit.KryptonCheckSet(this.components); this.tableLayoutPanel1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PaperListDGV)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.csFind)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 8; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F)); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.groupBox1, 1, 3); this.tableLayoutPanel1.Controls.Add(this.cbtnFindByYear, 1, 1); this.tableLayoutPanel1.Controls.Add(this.cbtnFindByTime, 2, 1); this.tableLayoutPanel1.Controls.Add(this.cbtnFindByName, 3, 1); this.tableLayoutPanel1.Controls.Add(this.btnSelect, 6, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 5; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(742, 666); this.tableLayoutPanel1.TabIndex = 0; // // flowLayoutPanel1 // this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel1, 6); this.flowLayoutPanel1.Controls.Add(this.year); this.flowLayoutPanel1.Controls.Add(this.paperName); this.flowLayoutPanel1.Controls.Add(this.startTime); this.flowLayoutPanel1.Controls.Add(this.endTime); this.flowLayoutPanel1.Controls.Add(this.btnFind); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(10, 40); this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(722, 35); this.flowLayoutPanel1.TabIndex = 10; // // year // this.year.Dock = System.Windows.Forms.DockStyle.Left; this.year.Location = new System.Drawing.Point(3, 3); this.year.Maximum = new decimal(new int[] { 6000, 0, 0, 0}); this.year.Minimum = new decimal(new int[] { 1000, 0, 0, 0}); this.year.Name = "year"; this.year.Size = new System.Drawing.Size(80, 28); this.year.StateCommon.Content.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.year.TabIndex = 4; this.year.Value = new decimal(new int[] { 2011, 0, 0, 0}); // // paperName // this.paperName.Dock = System.Windows.Forms.DockStyle.Left; this.paperName.Location = new System.Drawing.Point(86, 0); this.paperName.Margin = new System.Windows.Forms.Padding(0); this.paperName.Name = "paperName"; this.paperName.Size = new System.Drawing.Size(250, 26); this.paperName.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); this.paperName.StateCommon.Border.Rounding = 12; this.paperName.StateCommon.Content.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.paperName.TabIndex = 5; // // startTime // this.startTime.CalendarTodayDate = new System.DateTime(2011, 3, 19, 0, 0, 0, 0); this.startTime.CustomFormat = "yyyy/MM/dd"; this.startTime.Dock = System.Windows.Forms.DockStyle.Left; this.startTime.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.startTime.Location = new System.Drawing.Point(339, 3); this.startTime.Name = "startTime"; this.startTime.ShowUpDown = true; this.startTime.Size = new System.Drawing.Size(134, 28); this.startTime.StateCommon.Content.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.startTime.TabIndex = 6; this.startTime.UseWaitCursor = true; this.startTime.ValueNullable = new System.DateTime(2011, 3, 27, 0, 0, 0, 0); // // endTime // this.endTime.CalendarTodayDate = new System.DateTime(2011, 3, 19, 0, 0, 0, 0); this.endTime.CustomFormat = "yyyy/MM/dd"; this.endTime.Dock = System.Windows.Forms.DockStyle.Left; this.endTime.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.endTime.Location = new System.Drawing.Point(479, 3); this.endTime.Name = "endTime"; this.endTime.ShowUpDown = true; this.endTime.Size = new System.Drawing.Size(134, 28); this.endTime.StateCommon.Content.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.endTime.TabIndex = 7; this.endTime.ValueNullable = new System.DateTime(2011, 3, 27, 0, 0, 0, 0); // // btnFind // this.btnFind.Location = new System.Drawing.Point(618, 2); this.btnFind.Margin = new System.Windows.Forms.Padding(2); this.btnFind.Name = "btnFind"; this.btnFind.Size = new System.Drawing.Size(99, 30); this.btnFind.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); this.btnFind.StateCommon.Border.Rounding = 14; this.btnFind.StateCommon.Border.Width = 1; this.btnFind.TabIndex = 8; this.btnFind.Values.Text = "查询"; // // groupBox1 // this.tableLayoutPanel1.SetColumnSpan(this.groupBox1, 6); this.groupBox1.Controls.Add(this.PaperListDGV); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox1.Location = new System.Drawing.Point(13, 78); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(716, 575); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "试卷列表"; // // PaperListDGV // this.PaperListDGV.AllowUserToAddRows = false; this.PaperListDGV.AllowUserToResizeRows = false; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(236)))), ((int)(((byte)(242))))); this.PaperListDGV.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; this.PaperListDGV.Dock = System.Windows.Forms.DockStyle.Fill; this.PaperListDGV.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.PaperListDGV.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ButtonNavigatorMini; this.PaperListDGV.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.PaperListDGV.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.PaperListDGV.Location = new System.Drawing.Point(3, 22); this.PaperListDGV.Name = "PaperListDGV"; this.PaperListDGV.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2010Silver; this.PaperListDGV.ReadOnly = true; this.PaperListDGV.RowHeadersVisible = false; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.PaperListDGV.RowsDefaultCellStyle = dataGridViewCellStyle4; this.PaperListDGV.RowTemplate.Height = 23; this.PaperListDGV.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.PaperListDGV.Size = new System.Drawing.Size(710, 550); this.PaperListDGV.TabIndex = 0; this.PaperListDGV.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.PaperListDGV_CellClick); // // cbtnFindByYear // this.cbtnFindByYear.Checked = true; this.cbtnFindByYear.Dock = System.Windows.Forms.DockStyle.Fill; this.cbtnFindByYear.Location = new System.Drawing.Point(13, 13); this.cbtnFindByYear.Name = "cbtnFindByYear"; this.cbtnFindByYear.Size = new System.Drawing.Size(69, 24); this.cbtnFindByYear.TabIndex = 6; this.cbtnFindByYear.Values.Text = "按年"; this.cbtnFindByYear.Click += new System.EventHandler(this.cbtnFindByYear_Click); // // cbtnFindByTime // this.cbtnFindByTime.Dock = System.Windows.Forms.DockStyle.Fill; this.cbtnFindByTime.Location = new System.Drawing.Point(88, 13); this.cbtnFindByTime.Name = "cbtnFindByTime"; this.cbtnFindByTime.Size = new System.Drawing.Size(69, 24); this.cbtnFindByTime.TabIndex = 7; this.cbtnFindByTime.Values.Text = "按时间段"; this.cbtnFindByTime.Click += new System.EventHandler(this.cbtnFindByTime_Click); // // cbtnFindByName // this.cbtnFindByName.Dock = System.Windows.Forms.DockStyle.Fill; this.cbtnFindByName.Location = new System.Drawing.Point(163, 13); this.cbtnFindByName.Name = "cbtnFindByName"; this.cbtnFindByName.Size = new System.Drawing.Size(69, 24); this.cbtnFindByName.TabIndex = 8; this.cbtnFindByName.Values.Text = "按试卷名"; this.cbtnFindByName.Click += new System.EventHandler(this.cbtnFindByName_Click); // // btnSelect // this.btnSelect.Dock = System.Windows.Forms.DockStyle.Fill; this.btnSelect.Location = new System.Drawing.Point(633, 11); this.btnSelect.Margin = new System.Windows.Forms.Padding(1); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(98, 28); this.btnSelect.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); this.btnSelect.StateCommon.Border.Rounding = 12; this.btnSelect.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSelect.StateNormal.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); this.btnSelect.StateNormal.Border.Rounding = 12; this.btnSelect.TabIndex = 11; this.btnSelect.Values.Text = "选择试卷"; // // csFind // this.csFind.CheckButtons.Add(this.cbtnFindByTime); this.csFind.CheckButtons.Add(this.cbtnFindByName); this.csFind.CheckButtons.Add(this.cbtnFindByYear); this.csFind.CheckedButton = this.cbtnFindByYear; // // PaperListPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.Name = "PaperListPanel"; this.Size = new System.Drawing.Size(742, 666); this.Load += new System.EventHandler(this.PaperListPanel_Load); this.tableLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PaperListDGV)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.csFind)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.kryptonHeader2 = new ComponentFactory.Krypton.Toolkit.KryptonHeader(); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.formularioKryptonDataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.formularioBindingSource = new System.Windows.Forms.BindingSource(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.cmbMenus = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.menuBindingSource = new System.Windows.Forms.BindingSource(this.components); this.label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.dgvPermisos = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.ID = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.Accion = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.Permitir = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.chkTodos = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.formularioKryptonDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.formularioBindingSource)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cmbMenus)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.menuBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvPermisos)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // kryptonHeader2 // this.kryptonHeader2.Dock = System.Windows.Forms.DockStyle.Top; this.kryptonHeader2.HeaderStyle = ComponentFactory.Krypton.Toolkit.HeaderStyle.Secondary; this.kryptonHeader2.Location = new System.Drawing.Point(0, 0); this.kryptonHeader2.Name = "kryptonHeader2"; this.kryptonHeader2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonHeader2.Size = new System.Drawing.Size(689, 22); this.kryptonHeader2.TabIndex = 1; this.kryptonHeader2.Text = "Permisos"; this.kryptonHeader2.Values.Description = ""; this.kryptonHeader2.Values.Heading = "Permisos"; this.kryptonHeader2.Values.Image = null; // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.splitContainer1); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel1.Location = new System.Drawing.Point(0, 22); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonPanel1.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient; this.kryptonPanel1.Size = new System.Drawing.Size(689, 174); this.kryptonPanel1.TabIndex = 2; // // splitContainer1 // this.splitContainer1.BackColor = System.Drawing.Color.Transparent; this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.AutoScroll = true; this.splitContainer1.Panel1.Controls.Add(this.formularioKryptonDataGridView); this.splitContainer1.Panel1.Controls.Add(this.panel1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.dgvPermisos); this.splitContainer1.Panel2.Controls.Add(this.panel2); this.splitContainer1.Size = new System.Drawing.Size(689, 174); this.splitContainer1.SplitterDistance = 421; this.splitContainer1.TabIndex = 0; // // formularioKryptonDataGridView // this.formularioKryptonDataGridView.AllowUserToAddRows = false; this.formularioKryptonDataGridView.AllowUserToDeleteRows = false; this.formularioKryptonDataGridView.AutoGenerateColumns = false; this.formularioKryptonDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn5}); this.formularioKryptonDataGridView.DataSource = this.formularioBindingSource; this.formularioKryptonDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.formularioKryptonDataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet; this.formularioKryptonDataGridView.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.formularioKryptonDataGridView.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.formularioKryptonDataGridView.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.formularioKryptonDataGridView.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.formularioKryptonDataGridView.Location = new System.Drawing.Point(0, 40); this.formularioKryptonDataGridView.Name = "formularioKryptonDataGridView"; this.formularioKryptonDataGridView.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.formularioKryptonDataGridView.ReadOnly = true; this.formularioKryptonDataGridView.RowHeadersWidth = 10; this.formularioKryptonDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.formularioKryptonDataGridView.Size = new System.Drawing.Size(421, 134); this.formularioKryptonDataGridView.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.formularioKryptonDataGridView.TabIndex = 1; this.formularioKryptonDataGridView.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvFormularios_CellEnter); // // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "FormularioID"; this.dataGridViewTextBoxColumn2.HeaderText = "ID"; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; this.dataGridViewTextBoxColumn2.Width = 40; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn3.DataPropertyName = "Nombre"; this.dataGridViewTextBoxColumn3.HeaderText = "Nombre"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.ReadOnly = true; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.DataPropertyName = "Descripcion"; this.dataGridViewTextBoxColumn5.HeaderText = "Descripcion"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; // // formularioBindingSource // this.formularioBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Formulario); // // panel1 // this.panel1.Controls.Add(this.cmbMenus); this.panel1.Controls.Add(this.label2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(421, 40); this.panel1.TabIndex = 0; // // cmbMenus // this.cmbMenus.DataSource = this.menuBindingSource; this.cmbMenus.DisplayMember = "Nombre"; this.cmbMenus.DropBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ControlClient; this.cmbMenus.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl; this.cmbMenus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbMenus.DropDownWidth = 190; this.cmbMenus.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone; this.cmbMenus.ItemStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.ListItem; this.cmbMenus.Location = new System.Drawing.Point(90, 9); this.cmbMenus.Name = "cmbMenus"; this.cmbMenus.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.cmbMenus.Size = new System.Drawing.Size(190, 21); this.cmbMenus.TabIndex = 4; this.cmbMenus.ValueMember = "MenuID"; this.cmbMenus.SelectedIndexChanged += new System.EventHandler(this.cmbMenus_SelectedIndexChanged); // // menuBindingSource // this.menuBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Menu); // // label2 // this.label2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.label2.Location = new System.Drawing.Point(15, 8); this.label2.Name = "label2"; this.label2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.label2.Size = new System.Drawing.Size(56, 20); this.label2.TabIndex = 3; this.label2.Text = "Modulo:"; this.label2.Values.ExtraText = ""; this.label2.Values.Image = null; this.label2.Values.Text = "Modulo:"; // // dgvPermisos // this.dgvPermisos.AllowUserToAddRows = false; this.dgvPermisos.AllowUserToDeleteRows = false; this.dgvPermisos.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ID, this.Accion, this.Permitir}); this.dgvPermisos.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvPermisos.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet; this.dgvPermisos.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.dgvPermisos.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvPermisos.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvPermisos.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet; this.dgvPermisos.Location = new System.Drawing.Point(0, 40); this.dgvPermisos.Name = "dgvPermisos"; this.dgvPermisos.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.dgvPermisos.ReadOnly = true; this.dgvPermisos.RowHeadersWidth = 10; this.dgvPermisos.Size = new System.Drawing.Size(264, 134); this.dgvPermisos.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet; this.dgvPermisos.TabIndex = 2; this.dgvPermisos.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPermisos_CellContentClick); // // ID // this.ID.HeaderText = "ID"; this.ID.Name = "ID"; this.ID.ReadOnly = true; this.ID.Width = 40; // // Accion // this.Accion.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.Accion.HeaderText = "Accion"; this.Accion.Name = "Accion"; this.Accion.ReadOnly = true; // // Permitir // dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.NullValue = false; this.Permitir.DefaultCellStyle = dataGridViewCellStyle2; this.Permitir.FalseValue = null; this.Permitir.HeaderText = "Permitir"; this.Permitir.IndeterminateValue = null; this.Permitir.Name = "Permitir"; this.Permitir.ReadOnly = true; this.Permitir.TrueValue = null; // // panel2 // this.panel2.Controls.Add(this.chkTodos); this.panel2.Controls.Add(this.kryptonLabel1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(264, 40); this.panel2.TabIndex = 1; // // chkTodos // this.chkTodos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkTodos.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.chkTodos.Location = new System.Drawing.Point(168, 10); this.chkTodos.Name = "chkTodos"; this.chkTodos.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.chkTodos.Size = new System.Drawing.Size(93, 20); this.chkTodos.TabIndex = 4; this.chkTodos.Text = "Marcar Todo"; this.chkTodos.Values.ExtraText = ""; this.chkTodos.Values.Image = null; this.chkTodos.Values.Text = "Marcar Todo"; this.chkTodos.CheckedChanged += new System.EventHandler(this.chkTodos_CheckedChanged); // // kryptonLabel1 // this.kryptonLabel1.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonLabel1.Location = new System.Drawing.Point(16, 7); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global; this.kryptonLabel1.Size = new System.Drawing.Size(145, 20); this.kryptonLabel1.TabIndex = 3; this.kryptonLabel1.Text = "Acciones del formulario::"; this.kryptonLabel1.Values.ExtraText = ""; this.kryptonLabel1.Values.Image = null; this.kryptonLabel1.Values.Text = "Acciones del formulario::"; // // PermisosFormulario // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.kryptonPanel1); this.Controls.Add(this.kryptonHeader2); this.Name = "PermisosFormulario"; this.Size = new System.Drawing.Size(689, 196); this.Load += new System.EventHandler(this.PermisosFormulario_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.formularioKryptonDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.formularioBindingSource)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cmbMenus)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.menuBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvPermisos)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.kryptonHeaderGroup1 = new ComponentFactory.Krypton.Toolkit.KryptonHeaderGroup(); this.panel1 = new System.Windows.Forms.Panel(); this.dgvPortMapping = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.portCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.stepName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.className = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.btnAdd = new System.Windows.Forms.ToolStripButton(); this.btnDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btnDeleteAll = new System.Windows.Forms.ToolStripButton(); this.save = new System.Windows.Forms.ToolStripButton(); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup1)).BeginInit(); this.kryptonHeaderGroup1.Panel.SuspendLayout(); this.kryptonHeaderGroup1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvPortMapping)).BeginInit(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.SuspendLayout(); // // kryptonHeaderGroup1 // this.kryptonHeaderGroup1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonHeaderGroup1.HeaderVisibleSecondary = false; this.kryptonHeaderGroup1.Location = new System.Drawing.Point(0, 0); this.kryptonHeaderGroup1.Name = "kryptonHeaderGroup1"; // // kryptonHeaderGroup1.Panel // this.kryptonHeaderGroup1.Panel.Controls.Add(this.panel1); this.kryptonHeaderGroup1.Panel.Controls.Add(this.kryptonPanel1); this.kryptonHeaderGroup1.Size = new System.Drawing.Size(594, 405); this.kryptonHeaderGroup1.TabIndex = 0; this.kryptonHeaderGroup1.ValuesPrimary.Heading = "端口信息设置"; this.kryptonHeaderGroup1.ValuesPrimary.Image = global::ProxyClient.Properties.Resources.BasicSetting; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.dgvPortMapping); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Location = new System.Drawing.Point(11, 13); this.panel1.MaximumSize = new System.Drawing.Size(592, 313); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(570, 288); this.panel1.TabIndex = 0; // // dgvPortMapping // this.dgvPortMapping.AllowUserToAddRows = false; this.dgvPortMapping.AllowUserToDeleteRows = false; this.dgvPortMapping.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvPortMapping.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.portCode, this.stepName, this.className}); this.dgvPortMapping.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvPortMapping.Location = new System.Drawing.Point(0, 36); this.dgvPortMapping.Name = "dgvPortMapping"; this.dgvPortMapping.ReadOnly = true; this.dgvPortMapping.RowTemplate.Height = 23; this.dgvPortMapping.Size = new System.Drawing.Size(566, 248); this.dgvPortMapping.TabIndex = 2; // // portCode // this.portCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.portCode.HeaderText = "端口编号"; this.portCode.Name = "portCode"; this.portCode.ReadOnly = true; // // stepName // this.stepName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.stepName.HeaderText = "清洗槽"; this.stepName.Name = "stepName"; this.stepName.ReadOnly = true; // // className // this.className.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.className.HeaderText = "备注"; this.className.Name = "className"; this.className.ReadOnly = true; this.className.Visible = false; // // toolStrip1 // this.toolStrip1.Font = new System.Drawing.Font("Segoe UI", 9F); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAdd, this.btnDelete, this.toolStripSeparator1, this.btnDeleteAll, this.save}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(566, 36); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // // btnAdd // this.btnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnAdd.Image = global::ProxyClient.Properties.Resources.Add; this.btnAdd.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(23, 33); this.btnAdd.Text = "添加"; this.btnAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnDelete // this.btnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnDelete.Image = global::ProxyClient.Properties.Resources.delete; this.btnDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(23, 33); this.btnDelete.Text = "删除"; this.btnDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // toolStripSeparator1 // this.toolStripSeparator1.AutoSize = false; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 36); // // btnDeleteAll // this.btnDeleteAll.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnDeleteAll.Image = global::ProxyClient.Properties.Resources.deleteAll; this.btnDeleteAll.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDeleteAll.Name = "btnDeleteAll"; this.btnDeleteAll.Size = new System.Drawing.Size(23, 33); this.btnDeleteAll.Text = "全部删除"; this.btnDeleteAll.Click += new System.EventHandler(this.btnDeleteAll_Click); // // save // this.save.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.save.Image = global::ProxyClient.Properties.Resources.save; this.save.ImageTransparentColor = System.Drawing.Color.Magenta; this.save.Name = "save"; this.save.Size = new System.Drawing.Size(23, 33); this.save.Text = "保存"; this.save.Click += new System.EventHandler(this.save_Click); // // kryptonPanel1 // this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel1.Location = new System.Drawing.Point(0, 0); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(592, 320); this.kryptonPanel1.TabIndex = 1; // // PortSet // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(594, 405); this.Controls.Add(this.kryptonHeaderGroup1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "PortSet"; this.Text = "端口设置"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PortSet_FormClosed); this.Load += new System.EventHandler(this.PortSet_Load); this.kryptonHeaderGroup1.Panel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup1)).EndInit(); this.kryptonHeaderGroup1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvPortMapping)).EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.ResumeLayout(false); }