/// <summary> /// Initializes the designer with the specified component. /// </summary> /// <param name="component">The IComponent to associate the designer with.</param> public override void Initialize(IComponent component) { // Let base class do standard stuff base.Initialize(component); // Cast to correct type _numericUpDown = component as KryptonDataGridViewNumericUpDownColumn; // Get access to the design services _changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }
/// <summary> /// Initializes the designer with the specified component. /// </summary> /// <param name="component">The IComponent to associate the designer with.</param> public override void Initialize(IComponent component) { // Let base class do standard stuff base.Initialize(component); // Cast to correct type _numericUpDown = component as KryptonDataGridViewNumericUpDownColumn; // Get access to the design services _changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }
/// <summary> /// Create a cloned copy of the column. /// </summary> /// <returns></returns> public override object Clone() { KryptonDataGridViewNumericUpDownColumn cloned = base.Clone() as KryptonDataGridViewNumericUpDownColumn; return(cloned); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.tableLayoutPanel14 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.btnnext = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnsave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonPanel29 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel117 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.dTechnologyAwards = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.scienceid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.sciencename = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.sciencelevel = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewButtonColumn(); this.sciencedate = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn(); this.scienceorder = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.scienceattup = new System.Windows.Forms.DataGridViewImageColumn(); this.scienceattainfo = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewLinkColumn(); this.hiddenStoreName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.UpLoadFullyName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.scienceup = new System.Windows.Forms.DataGridViewImageColumn(); this.sciencedown = new System.Windows.Forms.DataGridViewImageColumn(); this.sciencedelete = new System.Windows.Forms.DataGridViewImageColumn(); this.tecOrder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tableLayoutPanel14.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel29)).BeginInit(); this.kryptonPanel29.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dTechnologyAwards)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel14 // this.tableLayoutPanel14.ColumnCount = 3; this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel14.Controls.Add(this.tableLayoutPanel1, 1, 3); this.tableLayoutPanel14.Controls.Add(this.kryptonPanel29, 1, 1); this.tableLayoutPanel14.Controls.Add(this.dTechnologyAwards, 1, 2); this.tableLayoutPanel14.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel14.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel14.Name = "tableLayoutPanel14"; this.tableLayoutPanel14.RowCount = 5; this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel14.Size = new System.Drawing.Size(1020, 603); this.tableLayoutPanel14.TabIndex = 2; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; 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, 103F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel1.Controls.Add(this.btnnext, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnsave, 1, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(53, 546); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(914, 34); this.tableLayoutPanel1.TabIndex = 5; // // btnnext // this.btnnext.Location = new System.Drawing.Point(817, 3); this.btnnext.Name = "btnnext"; this.btnnext.Size = new System.Drawing.Size(90, 25); this.btnnext.TabIndex = 1; this.btnnext.Values.Text = "下一页"; this.btnnext.Click += new System.EventHandler(this.btnnext_Click); // // btnsave // this.btnsave.Location = new System.Drawing.Point(714, 3); this.btnsave.Name = "btnsave"; this.btnsave.Size = new System.Drawing.Size(90, 25); this.btnsave.TabIndex = 0; this.btnsave.Values.Text = "保存"; this.btnsave.Click += new System.EventHandler(this.btnsave_Click); // // kryptonPanel29 // this.kryptonPanel29.Controls.Add(this.kryptonLabel1); this.kryptonPanel29.Controls.Add(this.kryptonLabel117); this.kryptonPanel29.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel29.Location = new System.Drawing.Point(50, 20); this.kryptonPanel29.Margin = new System.Windows.Forms.Padding(0); this.kryptonPanel29.Name = "kryptonPanel29"; this.kryptonPanel29.Size = new System.Drawing.Size(920, 80); this.kryptonPanel29.TabIndex = 0; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(3, 36); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(308, 41); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("仿宋_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel1.TabIndex = 2; this.kryptonLabel1.Values.Text = "1.附件材料需为PDF或者JPG格式。\r\n2.提交纸质材料时,附件需要完整打印。"; // // kryptonLabel117 // this.kryptonLabel117.Location = new System.Drawing.Point(0, 10); this.kryptonLabel117.Name = "kryptonLabel117"; this.kryptonLabel117.Size = new System.Drawing.Size(610, 27); this.kryptonLabel117.StateCommon.LongText.Font = new System.Drawing.Font("楷体_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel117.StateCommon.ShortText.Font = new System.Drawing.Font("黑体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel117.TabIndex = 0; this.kryptonLabel117.Values.ExtraText = "(10项以内,主要包括国家、省部级或军队科技奖励)"; this.kryptonLabel117.Values.Text = "七、重要科技奖项情况\r\n"; // // dTechnologyAwards // this.dTechnologyAwards.AllowUserToResizeRows = false; this.dTechnologyAwards.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders; this.dTechnologyAwards.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.scienceid, this.sciencename, this.sciencelevel, this.sciencedate, this.scienceorder, this.scienceattup, this.scienceattainfo, this.hiddenStoreName, this.UpLoadFullyName, this.scienceup, this.sciencedown, this.sciencedelete, this.tecOrder }); this.dTechnologyAwards.Dock = System.Windows.Forms.DockStyle.Fill; this.dTechnologyAwards.Location = new System.Drawing.Point(53, 103); this.dTechnologyAwards.MultiSelect = false; this.dTechnologyAwards.Name = "dTechnologyAwards"; dataGridViewCellStyle1.Font = new System.Drawing.Font("仿宋_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dTechnologyAwards.RowsDefaultCellStyle = dataGridViewCellStyle1; this.dTechnologyAwards.RowTemplate.Height = 28; this.dTechnologyAwards.Size = new System.Drawing.Size(914, 437); this.dTechnologyAwards.StateCommon.Background.Color1 = System.Drawing.Color.White; this.dTechnologyAwards.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dTechnologyAwards.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dTechnologyAwards.StateCommon.HeaderColumn.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.dTechnologyAwards.TabIndex = 1; this.dTechnologyAwards.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dTechnologyAwards_CellContentClick); this.dTechnologyAwards.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dTechnologyAwards_RowsAdded); // // scienceid // this.scienceid.HeaderText = "序号"; this.scienceid.Name = "scienceid"; this.scienceid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.scienceid.Visible = false; this.scienceid.Width = 40; // // sciencename // this.sciencename.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.sciencename.HeaderText = "项目名称"; this.sciencename.MinimumWidth = 100; this.sciencename.Name = "sciencename"; this.sciencename.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // sciencelevel // this.sciencelevel.HeaderText = "奖励类别及等级"; this.sciencelevel.Name = "sciencelevel"; this.sciencelevel.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.sciencelevel.Width = 130; // // sciencedate // this.sciencedate.HeaderText = "获奖时间"; this.sciencedate.Maximum = new decimal(new int[] { 9999, 0, 0, 0 }); this.sciencedate.Minimum = new decimal(new int[] { 1990, 0, 0, 0 }); this.sciencedate.Name = "sciencedate"; this.sciencedate.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.sciencedate.Width = 100; // // scienceorder // this.scienceorder.HeaderText = "排名"; this.scienceorder.Name = "scienceorder"; this.scienceorder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.scienceorder.Width = 50; // // scienceattup // this.scienceattup.HeaderText = "附件"; this.scienceattup.Name = "scienceattup"; this.scienceattup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.scienceattup.Width = 45; // // scienceattainfo // this.scienceattainfo.HeaderText = "附件信息"; this.scienceattainfo.Name = "scienceattainfo"; this.scienceattainfo.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.scienceattainfo.Width = 150; // // hiddenStoreName // this.hiddenStoreName.HeaderText = "存储名称"; this.hiddenStoreName.Name = "hiddenStoreName"; this.hiddenStoreName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.hiddenStoreName.Visible = false; // // UpLoadFullyName // this.UpLoadFullyName.HeaderText = "上传路径"; this.UpLoadFullyName.Name = "UpLoadFullyName"; this.UpLoadFullyName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.UpLoadFullyName.Visible = false; // // scienceup // this.scienceup.HeaderText = "上移"; this.scienceup.Name = "scienceup"; this.scienceup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.scienceup.Width = 45; // // sciencedown // this.sciencedown.HeaderText = "下移"; this.sciencedown.Name = "sciencedown"; this.sciencedown.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.sciencedown.Width = 45; // // sciencedelete // this.sciencedelete.HeaderText = "删除"; this.sciencedelete.Name = "sciencedelete"; this.sciencedelete.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.sciencedelete.Width = 45; // // tecOrder // this.tecOrder.HeaderText = "排序"; this.tecOrder.Name = "tecOrder"; this.tecOrder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.tecOrder.Visible = false; // // frmTechnologyAwards // this.Controls.Add(this.tableLayoutPanel14); this.Name = "frmTechnologyAwards"; this.Size = new System.Drawing.Size(1020, 603); this.Leave += new System.EventHandler(this.frmTechnologyAwards_Leave); this.tableLayoutPanel14.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel29)).EndInit(); this.kryptonPanel29.ResumeLayout(false); this.kryptonPanel29.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dTechnologyAwards)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.tableLayoutPanel11 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.btnnext = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnsave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.dtalent = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.kryptonPanel26 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonLabel114 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.selpersonid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.selpersonidstartdate = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn(); this.selpersonname = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewButtonColumn(); this.TalentsPlanRA = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.selpersonfee = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.ctalOrder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.up = new System.Windows.Forms.DataGridViewImageColumn(); this.down = new System.Windows.Forms.DataGridViewImageColumn(); this.delete = new System.Windows.Forms.DataGridViewImageColumn(); this.tableLayoutPanel11.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtalent)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel26)).BeginInit(); this.kryptonPanel26.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel11 // this.tableLayoutPanel11.ColumnCount = 3; this.tableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel11.Controls.Add(this.tableLayoutPanel1, 1, 3); this.tableLayoutPanel11.Controls.Add(this.dtalent, 1, 2); this.tableLayoutPanel11.Controls.Add(this.kryptonPanel26, 1, 1); this.tableLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel11.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel11.Name = "tableLayoutPanel11"; this.tableLayoutPanel11.RowCount = 5; this.tableLayoutPanel11.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel11.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel11.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel11.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel11.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel11.Size = new System.Drawing.Size(1002, 594); this.tableLayoutPanel11.TabIndex = 2; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; 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, 103F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel1.Controls.Add(this.btnnext, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnsave, 1, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(53, 537); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(896, 34); this.tableLayoutPanel1.TabIndex = 4; // // btnnext // this.btnnext.Location = new System.Drawing.Point(799, 3); this.btnnext.Name = "btnnext"; this.btnnext.Size = new System.Drawing.Size(90, 25); this.btnnext.TabIndex = 1; this.btnnext.Values.Text = "下一页"; this.btnnext.Click += new System.EventHandler(this.btnnext_Click); // // btnsave // this.btnsave.Location = new System.Drawing.Point(696, 3); this.btnsave.Name = "btnsave"; this.btnsave.Size = new System.Drawing.Size(90, 25); this.btnsave.TabIndex = 0; this.btnsave.Values.Text = "保存"; this.btnsave.Click += new System.EventHandler(this.btnsave_Click); // // dtalent // this.dtalent.AllowUserToResizeRows = false; this.dtalent.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders; this.dtalent.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.selpersonid, this.selpersonidstartdate, this.selpersonname, this.TalentsPlanRA, this.selpersonfee, this.ctalOrder, this.up, this.down, this.delete }); this.dtalent.Dock = System.Windows.Forms.DockStyle.Fill; this.dtalent.Location = new System.Drawing.Point(53, 63); this.dtalent.MultiSelect = false; this.dtalent.Name = "dtalent"; dataGridViewCellStyle1.Font = new System.Drawing.Font("仿宋_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dtalent.RowsDefaultCellStyle = dataGridViewCellStyle1; this.dtalent.RowTemplate.Height = 28; this.dtalent.Size = new System.Drawing.Size(896, 468); this.dtalent.StateCommon.Background.Color1 = System.Drawing.Color.White; this.dtalent.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dtalent.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dtalent.StateCommon.HeaderColumn.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.dtalent.TabIndex = 2; this.dtalent.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtalent_CellContentClick); this.dtalent.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dtalent_EditingControlShowing); this.dtalent.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dtalent_RowsAdded); // // kryptonPanel26 // this.kryptonPanel26.Controls.Add(this.kryptonLabel114); this.kryptonPanel26.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel26.Location = new System.Drawing.Point(50, 20); this.kryptonPanel26.Margin = new System.Windows.Forms.Padding(0); this.kryptonPanel26.Name = "kryptonPanel26"; this.kryptonPanel26.Size = new System.Drawing.Size(902, 40); this.kryptonPanel26.TabIndex = 1; // // kryptonLabel114 // this.kryptonLabel114.Location = new System.Drawing.Point(3, 10); this.kryptonLabel114.Name = "kryptonLabel114"; this.kryptonLabel114.Size = new System.Drawing.Size(577, 27); this.kryptonLabel114.StateCommon.LongText.Font = new System.Drawing.Font("楷体_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel114.StateCommon.ShortText.Font = new System.Drawing.Font("黑体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel114.TabIndex = 0; this.kryptonLabel114.Values.ExtraText = "(按时间倒序填写入选国家和军队人才计划情况)"; this.kryptonLabel114.Values.Text = "四、入选人才计划情况"; // // selpersonid // this.selpersonid.HeaderText = "id"; this.selpersonid.Name = "selpersonid"; this.selpersonid.Visible = false; // // selpersonidstartdate // this.selpersonidstartdate.HeaderText = "入选时间"; this.selpersonidstartdate.Maximum = new decimal(new int[] { 9999, 0, 0, 0 }); this.selpersonidstartdate.Minimum = new decimal(new int[] { 1990, 0, 0, 0 }); this.selpersonidstartdate.Name = "selpersonidstartdate"; this.selpersonidstartdate.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.selpersonidstartdate.Width = 100; // // selpersonname // this.selpersonname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.selpersonname.HeaderText = "人才计划名称"; this.selpersonname.Name = "selpersonname"; this.selpersonname.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // TalentsPlanRA // this.TalentsPlanRA.HeaderText = "研究方向"; this.TalentsPlanRA.Name = "TalentsPlanRA"; this.TalentsPlanRA.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.TalentsPlanRA.Width = 200; // // selpersonfee // this.selpersonfee.HeaderText = "资助经费(万)"; this.selpersonfee.Name = "selpersonfee"; this.selpersonfee.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.selpersonfee.Width = 110; // // ctalOrder // this.ctalOrder.HeaderText = "ctalOrder"; this.ctalOrder.Name = "ctalOrder"; this.ctalOrder.Visible = false; // // up // this.up.HeaderText = "上移"; this.up.Name = "up"; this.up.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.up.Width = 45; // // down // this.down.HeaderText = "下移"; this.down.Name = "down"; this.down.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.down.Width = 45; // // delete // this.delete.HeaderText = "删除"; this.delete.Name = "delete"; this.delete.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.delete.Width = 45; // // frmTalentsPlan // this.Controls.Add(this.tableLayoutPanel11); this.Name = "frmTalentsPlan"; this.Size = new System.Drawing.Size(1002, 594); this.Leave += new System.EventHandler(this.frmTalentsPlan_Leave); this.tableLayoutPanel11.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dtalent)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel26)).EndInit(); this.kryptonPanel26.ResumeLayout(false); this.kryptonPanel26.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.tableLayoutPanel13 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel29 = new System.Windows.Forms.TableLayoutPanel(); this.btnnext = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnsave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonPanel28 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel116 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.dRTreatises = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.paperid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.papername = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.papertype = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.paperyear = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn(); this.paperpublish = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.paperref = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewButtonColumn(); this.paperorder = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn(); this.paperattachmentup = new System.Windows.Forms.DataGridViewImageColumn(); this.paperattachmentinfo = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewLinkColumn(); this.hiddenRTreatisesPDFOName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.uploadfullpath = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.reorder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.paperup = new System.Windows.Forms.DataGridViewImageColumn(); this.paperdown = new System.Windows.Forms.DataGridViewImageColumn(); this.paperdel = new System.Windows.Forms.DataGridViewImageColumn(); this.tableLayoutPanel13.SuspendLayout(); this.tableLayoutPanel29.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel28)).BeginInit(); this.kryptonPanel28.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dRTreatises)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel13 // this.tableLayoutPanel13.ColumnCount = 3; this.tableLayoutPanel13.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel13.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel13.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel13.Controls.Add(this.tableLayoutPanel29, 1, 3); this.tableLayoutPanel13.Controls.Add(this.kryptonPanel28, 1, 1); this.tableLayoutPanel13.Controls.Add(this.dRTreatises, 1, 2); this.tableLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel13.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel13.Name = "tableLayoutPanel13"; this.tableLayoutPanel13.RowCount = 5; this.tableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel13.Size = new System.Drawing.Size(1040, 512); this.tableLayoutPanel13.TabIndex = 2; // // tableLayoutPanel29 // this.tableLayoutPanel29.ColumnCount = 3; this.tableLayoutPanel29.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel29.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103F)); this.tableLayoutPanel29.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel29.Controls.Add(this.btnnext, 2, 0); this.tableLayoutPanel29.Controls.Add(this.btnsave, 1, 0); this.tableLayoutPanel29.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel29.Location = new System.Drawing.Point(53, 455); this.tableLayoutPanel29.Name = "tableLayoutPanel29"; this.tableLayoutPanel29.RowCount = 1; this.tableLayoutPanel29.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel29.Size = new System.Drawing.Size(934, 34); this.tableLayoutPanel29.TabIndex = 2; // // btnnext // this.btnnext.Location = new System.Drawing.Point(837, 3); this.btnnext.Name = "btnnext"; this.btnnext.TabIndex = 1; this.btnnext.Values.Text = "下一页"; this.btnnext.Click += new System.EventHandler(this.btnnext_Click); // // btnsave // this.btnsave.Location = new System.Drawing.Point(734, 3); this.btnsave.Name = "btnsave"; this.btnsave.TabIndex = 0; this.btnsave.Values.Text = "保存"; this.btnsave.Click += new System.EventHandler(this.btnsave_Click); // // kryptonPanel28 // this.kryptonPanel28.Controls.Add(this.kryptonLabel1); this.kryptonPanel28.Controls.Add(this.kryptonLabel116); this.kryptonPanel28.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel28.Location = new System.Drawing.Point(50, 20); this.kryptonPanel28.Margin = new System.Windows.Forms.Padding(0); this.kryptonPanel28.Name = "kryptonPanel28"; this.kryptonPanel28.Size = new System.Drawing.Size(940, 80); this.kryptonPanel28.TabIndex = 0; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(3, 36); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(755, 41); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel1.TabIndex = 1; this.kryptonLabel1.Values.Text = "1.附件材料需为PDF或者JPG格式。\r\n2.提交纸质材料时,论文可打印首页和检索证明,其他类别代表性论著打印封面、目录和首页。"; // // kryptonLabel116 // this.kryptonLabel116.Location = new System.Drawing.Point(0, 10); this.kryptonLabel116.Name = "kryptonLabel116"; this.kryptonLabel116.Size = new System.Drawing.Size(927, 27); this.kryptonLabel116.StateCommon.LongText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel116.StateCommon.ShortText.Font = new System.Drawing.Font("黑体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel116.TabIndex = 0; this.kryptonLabel116.Values.ExtraText = "(主要包括论文、著作、研究报告、重要学术会议邀请报告4类;10篇以内,并按照重要性排序)"; this.kryptonLabel116.Values.Text = "六、代表性论著\r\n"; // // dRTreatises // this.dRTreatises.AllowUserToResizeColumns = false; this.dRTreatises.AllowUserToResizeRows = false; this.dRTreatises.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders; this.dRTreatises.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.paperid, this.papername, this.papertype, this.paperyear, this.paperpublish, this.paperref, this.paperorder, this.paperattachmentup, this.paperattachmentinfo, this.hiddenRTreatisesPDFOName, this.uploadfullpath, this.reorder, this.paperup, this.paperdown, this.paperdel }); this.dRTreatises.Dock = System.Windows.Forms.DockStyle.Fill; this.dRTreatises.Location = new System.Drawing.Point(53, 103); this.dRTreatises.MultiSelect = false; this.dRTreatises.Name = "dRTreatises"; dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dRTreatises.RowsDefaultCellStyle = dataGridViewCellStyle1; this.dRTreatises.RowTemplate.Height = 28; this.dRTreatises.Size = new System.Drawing.Size(934, 346); this.dRTreatises.StateCommon.Background.Color1 = System.Drawing.Color.White; this.dRTreatises.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dRTreatises.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dRTreatises.StateCommon.HeaderColumn.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.dRTreatises.TabIndex = 1; this.dRTreatises.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dRTreatises_CellContentClick); this.dRTreatises.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dRTreatises_RowsAdded); // // paperid // this.paperid.HeaderText = "序号"; this.paperid.Name = "paperid"; this.paperid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.paperid.Visible = false; this.paperid.Width = 40; // // papername // this.papername.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.papername.HeaderText = "题目"; this.papername.MinimumWidth = 150; this.papername.Name = "papername"; this.papername.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // papertype // this.papertype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.papertype.DropDownWidth = 150; this.papertype.HeaderText = "类别"; this.papertype.Items.AddRange(new string[] { "论文", "著作", "研究技术报告", "重要学术会议邀请报告" }); this.papertype.Name = "papertype"; this.papertype.Width = 100; // // paperyear // this.paperyear.HeaderText = "年份"; this.paperyear.Maximum = new decimal(new int[] { 9999, 0, 0, 0 }); this.paperyear.Minimum = new decimal(new int[] { 1990, 0, 0, 0 }); this.paperyear.Name = "paperyear"; this.paperyear.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperyear.Width = 80; // // paperpublish // this.paperpublish.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; this.paperpublish.HeaderText = "著作或机构名称"; this.paperpublish.Name = "paperpublish"; this.paperpublish.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.paperpublish.Width = 130; // // paperref // this.paperref.HeaderText = "收录情况"; this.paperref.Name = "paperref"; this.paperref.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperref.Width = 150; // // paperorder // this.paperorder.HeaderText = "排名"; this.paperorder.Name = "paperorder"; this.paperorder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.paperorder.Width = 50; // // paperattachmentup // this.paperattachmentup.HeaderText = "附件"; this.paperattachmentup.Name = "paperattachmentup"; this.paperattachmentup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperattachmentup.Width = 45; // // paperattachmentinfo // this.paperattachmentinfo.HeaderText = "附件信息"; this.paperattachmentinfo.Name = "paperattachmentinfo"; this.paperattachmentinfo.ReadOnly = true; this.paperattachmentinfo.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperattachmentinfo.Width = 150; // // hiddenRTreatisesPDFOName // this.hiddenRTreatisesPDFOName.HeaderText = "存储名称"; this.hiddenRTreatisesPDFOName.Name = "hiddenRTreatisesPDFOName"; this.hiddenRTreatisesPDFOName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.hiddenRTreatisesPDFOName.Visible = false; // // uploadfullpath // this.uploadfullpath.HeaderText = "上传路径"; this.uploadfullpath.Name = "uploadfullpath"; this.uploadfullpath.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.uploadfullpath.Visible = false; // // reorder // this.reorder.HeaderText = "排序"; this.reorder.Name = "reorder"; this.reorder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.reorder.Visible = false; // // paperup // this.paperup.HeaderText = "上移"; this.paperup.Name = "paperup"; this.paperup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperup.Width = 45; // // paperdown // this.paperdown.HeaderText = "下移"; this.paperdown.Name = "paperdown"; this.paperdown.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperdown.Width = 45; // // paperdel // this.paperdel.HeaderText = "删除"; this.paperdel.Name = "paperdel"; this.paperdel.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.paperdel.Width = 45; // // frmRTreatises // this.Controls.Add(this.tableLayoutPanel13); this.Name = "frmRTreatises"; this.Size = new System.Drawing.Size(1040, 512); this.Leave += new System.EventHandler(this.frmRTreatises_Leave); this.tableLayoutPanel13.ResumeLayout(false); this.tableLayoutPanel29.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel28)).EndInit(); this.kryptonPanel28.ResumeLayout(false); this.kryptonPanel28.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dRTreatises)).EndInit(); this.ResumeLayout(false); }