private void UpdateJobList() { KryptonDataGridViewComboBoxColumn comboboxColumn = (KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[9]; comboboxColumn.Items.Clear(); JobDict.Clear(); //项目的负责人和成员 string projectA = "项目负责人"; //string projectB = "项目-成员"; ((KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[9]).Items.Add(projectA); //((KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[9]).Items.Add(projectB); JobDict.Add(projectA, MainForm.Instance.ProjectObj); //JobDict.Add(projectB, MainForm.Instance.ProjectObj); List <Project> ketiList = ConnectionManager.Context.table("Project").where ("ParentID='" + MainForm.Instance.ProjectObj.ID + "'").select("*").getList <Project>(new Project()); if (ketiList != null) { foreach (Project proj in ketiList) { projectA = proj.Name + "负责人"; string projectB = proj.Name + "成员"; ((KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[9]).Items.Add(projectA); ((KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[9]).Items.Add(projectB); JobDict[projectA] = proj; JobDict[projectB] = proj; } } }
/// <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 _comboBox = component as KryptonDataGridViewComboBoxColumn; // Get access to the design services _changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }
private void UpdateListColumnComboboxList() { UnitList = ConnectionManager.Context.table("Unit").select("*").getList <Unit>(new Unit()); KryptonDataGridViewComboBoxColumn unitCombobox = (KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[1]; if (UnitList != null) { unitCombobox.Items.Clear(); foreach (Unit u in UnitList) { unitCombobox.Items.Add(u.UnitName); } } }
/// <summary> /// Create a cloned copy of the column. /// </summary> /// <returns></returns> public override object Clone() { KryptonDataGridViewComboBoxColumn cloned = base.Clone() as KryptonDataGridViewComboBoxColumn; cloned.Items.AddRange(Items); // Convert collection of strings to an array var strings = new string[AutoCompleteCustomSource.Count]; for (var i = 0; i < strings.Length; i++) { strings[i] = AutoCompleteCustomSource[i]; } cloned.AutoCompleteCustomSource.AddRange(strings); return(cloned); }
private void UpatePersonList() { KryptonDataGridViewComboBoxColumn comobobxColumn = ((KryptonDataGridViewComboBoxColumn)dgvDetail.Columns[1]); comobobxColumn.Items.Clear(); PersonDict.Clear(); PersonList = ConnectionManager.Context.table("Person").select("*").getList <Person>(new Person()); if (PersonList != null) { foreach (Person person in PersonList) { string key = person.Name + "(" + person.IDCard + ")"; PersonDict.Add(key, person); comobobxColumn.Items.Add(key); } } }
private void CreateColumns() { foreach (ColumnProperty c in (List <ColumnProperty>) this.field.Data) { DataGridViewColumn col; if (c.Reference == null) { col = new KryptonDataGridViewTextBoxColumn(); } else { col = new KryptonDataGridViewComboBoxColumn(); KryptonDataGridViewComboBoxColumn colCombo = (KryptonDataGridViewComboBoxColumn)col; colCombo.DropDownStyle = ComboBoxStyle.DropDownList; ButtonSpecAny b = new ButtonSpecAny(); b.Type = PaletteButtonSpecStyle.Close; b.Edge = PaletteRelativeEdgeAlign.Near; b.Click += new EventHandler(this.ClearFieldData); colCombo.ButtonSpecs.Add(b); foreach (ObjectData od in this.database.Objects.GetData(c.Reference)) { colCombo.Items.Add(od.ToString()); } } col.Tag = c; col.Name = c.Name; col.HeaderText = c.Name; col.Width = c.Width; col.MinimumWidth = c.MinWidth; col.Visible = c.Visible; col.Resizable = c.Resizable ? DataGridViewTriState.True : DataGridViewTriState.False; col.Frozen = c.Frozen; col.DividerWidth = c.DividerWidth; col.AutoSizeMode = c.AutoSize ? DataGridViewAutoSizeColumnMode.Fill : DataGridViewAutoSizeColumnMode.None; col.FillWeight = c.FillWeight; this.grid.Columns.Add(col); } grid.StateCommon.Background.Color1 = Color.Transparent; }
public void AddDataItem(ObjectData data) { foreach (ColumnProperty c in (List <ColumnProperty>) this.field.Data) { if (c.Reference == data.ObjectClass) { foreach (DataGridViewColumn col in this.grid.Columns) { if ((ColumnProperty)col.Tag == c) { KryptonDataGridViewComboBoxColumn combo = (KryptonDataGridViewComboBoxColumn)col; if (!combo.Items.Contains(data.ToString())) { combo.Items.Add(data.ToString()); } break; } } } } }
void CreateWordTypeColumns() { using (ISession session = DataHelper.OpenSession()) { using (ITransaction transaction = session.BeginTransaction()) { types = session.QueryOver <WordType>().List(); foreach (DataGridViewColumn item in gridEntries.Columns) { IColumn column = item.Tag as IColumn; if (column != null && column.Prefix == "WT") { KryptonDataGridViewComboBoxColumn c = item as KryptonDataGridViewComboBoxColumn; c.Items.Clear(); c.Items.Add(string.Empty); foreach (WordType wt in types) { c.Items.Add(wt.Name.PadLeft((wt.Level - 1) * 2 + wt.Name.Length)); } } } } } }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.tableLayoutPanel15 = 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.kryptonPanel30 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel118 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.dnp = new KryptonDataGridViewEx(); this.patentid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patentname = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patentno = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patenttype = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.patentauthorizedate = new NDEY.UI.NDEYUserControl.CalendarColumnYM(); this.userpatentorder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patentattup = new System.Windows.Forms.DataGridViewImageColumn(); this.patentattinfo = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewLinkColumn(); this.hiddenStorenName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.UpLoadPath = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ndOrder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patentup = new System.Windows.Forms.DataGridViewImageColumn(); this.patentdown = new System.Windows.Forms.DataGridViewImageColumn(); this.patentdel = new System.Windows.Forms.DataGridViewImageColumn(); this.tableLayoutPanel15.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel30)).BeginInit(); this.kryptonPanel30.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dnp)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel15 // this.tableLayoutPanel15.ColumnCount = 3; this.tableLayoutPanel15.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel15.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel15.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel15.Controls.Add(this.tableLayoutPanel1, 1, 3); this.tableLayoutPanel15.Controls.Add(this.kryptonPanel30, 1, 1); this.tableLayoutPanel15.Controls.Add(this.dnp, 1, 2); this.tableLayoutPanel15.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel15.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel15.Name = "tableLayoutPanel15"; this.tableLayoutPanel15.RowCount = 5; this.tableLayoutPanel15.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel15.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel15.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel15.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel15.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel15.Size = new System.Drawing.Size(1035, 619); this.tableLayoutPanel15.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, 562); 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(929, 34); this.tableLayoutPanel1.TabIndex = 6; // // btnnext // this.btnnext.Location = new System.Drawing.Point(832, 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(729, 3); this.btnsave.Name = "btnsave"; this.btnsave.TabIndex = 0; this.btnsave.Values.Text = "保存"; this.btnsave.Click += new System.EventHandler(this.btnsave_Click); // // kryptonPanel30 // this.kryptonPanel30.Controls.Add(this.kryptonLabel1); this.kryptonPanel30.Controls.Add(this.kryptonLabel118); this.kryptonPanel30.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel30.Location = new System.Drawing.Point(50, 20); this.kryptonPanel30.Margin = new System.Windows.Forms.Padding(0); this.kryptonPanel30.Name = "kryptonPanel30"; this.kryptonPanel30.Size = new System.Drawing.Size(935, 80); this.kryptonPanel30.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 = 1; this.kryptonLabel1.Values.Text = "1.附件材料需为PDF或者JPG格式。\r\n2.提交纸质材料时,附件需要完整打印。"; // // kryptonLabel118 // this.kryptonLabel118.Location = new System.Drawing.Point(3, 10); this.kryptonLabel118.Name = "kryptonLabel118"; this.kryptonLabel118.Size = new System.Drawing.Size(334, 27); this.kryptonLabel118.StateCommon.LongText.Font = new System.Drawing.Font("楷体_GB2312", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel118.StateCommon.ShortText.Font = new System.Drawing.Font("黑体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonLabel118.TabIndex = 0; this.kryptonLabel118.Values.ExtraText = "(10项以内)"; this.kryptonLabel118.Values.Text = "八、国家及国防专利情况"; // // dnp // this.dnp.AllowUserToResizeRows = false; this.dnp.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders; this.dnp.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.patentid, this.patentname, this.patentno, this.patenttype, this.patentauthorizedate, this.userpatentorder, this.patentattup, this.patentattinfo, this.hiddenStorenName, this.UpLoadPath, this.ndOrder, this.patentup, this.patentdown, this.patentdel }); this.dnp.Dock = System.Windows.Forms.DockStyle.Fill; this.dnp.Location = new System.Drawing.Point(53, 103); this.dnp.MultiSelect = false; this.dnp.Name = "dnp"; 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.dnp.RowsDefaultCellStyle = dataGridViewCellStyle1; this.dnp.RowTemplate.Height = 28; this.dnp.Size = new System.Drawing.Size(929, 453); this.dnp.StateCommon.Background.Color1 = System.Drawing.Color.White; this.dnp.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dnp.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dnp.StateCommon.HeaderColumn.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.dnp.TabIndex = 1; this.dnp.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dnp_CellContentClick); this.dnp.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dnp_RowsAdded); // // patentid // this.patentid.HeaderText = "序号"; this.patentid.Name = "patentid"; this.patentid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.patentid.Visible = false; this.patentid.Width = 40; // // patentname // this.patentname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.patentname.HeaderText = "专利名称"; this.patentname.MinimumWidth = 100; this.patentname.Name = "patentname"; this.patentname.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // patentno // this.patentno.HeaderText = "专利号"; this.patentno.Name = "patentno"; this.patentno.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.patentno.Width = 160; // // patenttype // this.patenttype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.patenttype.DropDownWidth = 121; this.patenttype.HeaderText = "专利类型"; this.patenttype.Items.AddRange(new string[] { "国防", "国家" }); this.patenttype.Name = "patenttype"; this.patenttype.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patenttype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.patenttype.Width = 100; // // patentauthorizedate // this.patentauthorizedate.HeaderText = "授权日期"; this.patentauthorizedate.Name = "patentauthorizedate"; this.patentauthorizedate.Width = 120; // // userpatentorder // this.userpatentorder.HeaderText = "排名"; this.userpatentorder.Name = "userpatentorder"; this.userpatentorder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.userpatentorder.Width = 50; // // patentattup // this.patentattup.HeaderText = "附件"; this.patentattup.Name = "patentattup"; this.patentattup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patentattup.Width = 45; // // patentattinfo // this.patentattinfo.HeaderText = "附件信息"; this.patentattinfo.Name = "patentattinfo"; this.patentattinfo.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patentattinfo.Width = 150; // // hiddenStorenName // this.hiddenStorenName.HeaderText = "存储名称"; this.hiddenStorenName.Name = "hiddenStorenName"; this.hiddenStorenName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.hiddenStorenName.Visible = false; // // UpLoadPath // this.UpLoadPath.HeaderText = "UpLoadPath"; this.UpLoadPath.Name = "UpLoadPath"; this.UpLoadPath.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.UpLoadPath.Visible = false; // // ndOrder // this.ndOrder.HeaderText = "排序"; this.ndOrder.Name = "ndOrder"; this.ndOrder.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.ndOrder.Visible = false; // // patentup // this.patentup.HeaderText = "上移"; this.patentup.Name = "patentup"; this.patentup.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patentup.Width = 45; // // patentdown // this.patentdown.HeaderText = "下移"; this.patentdown.Name = "patentdown"; this.patentdown.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patentdown.Width = 45; // // patentdel // this.patentdel.HeaderText = "删除"; this.patentdel.Name = "patentdel"; this.patentdel.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.patentdel.Width = 45; // // frmNDPatent // this.Controls.Add(this.tableLayoutPanel15); this.Name = "frmNDPatent"; this.Size = new System.Drawing.Size(1035, 619); this.Leave += new System.EventHandler(this.frmNDPatent_Leave); this.tableLayoutPanel15.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel30)).EndInit(); this.kryptonPanel30.ResumeLayout(false); this.kryptonPanel30.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dnp)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmResumeEducation)); DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle(); this.buttonSpecAny1 = new ButtonSpecAny(); this.dataGridViewImageColumn1 = new DataGridViewImageColumn(); this.dataGridViewImageColumn2 = new DataGridViewImageColumn(); this.buttonSpecAny2 = new ButtonSpecAny(); this.tableLayoutPanel8 = new TableLayoutPanel(); this.tableLayoutPanel1 = new TableLayoutPanel(); this.btnnext = new KryptonButton(); this.btnsave = new KryptonButton(); this.kryptonPanel12 = new KryptonPanel(); this.kryptonLabel63 = new KryptonLabel(); this.deducation = new KryptonDataGridViewEx(); this.gridEducationNo = new DataGridViewTextBoxColumn(); this.startdate = new CalendarColumnYM(); this.enddate = new CalendarColumnYM(); this.school = new KryptonDataGridViewTextBoxColumn(); this.major = new KryptonDataGridViewTextBoxColumn(); this.degree = new KryptonDataGridViewComboBoxColumn(); this.cEducationOrder = new KryptonDataGridViewTextBoxColumn(); this.up = new DataGridViewImageColumn(); this.down = new DataGridViewImageColumn(); this.delete = new DataGridViewImageColumn(); this.tableLayoutPanel8.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((ISupportInitialize)this.kryptonPanel12).BeginInit(); this.kryptonPanel12.SuspendLayout(); ((ISupportInitialize)this.deducation).BeginInit(); base.SuspendLayout(); this.buttonSpecAny1.Checked = ButtonCheckState.Checked; this.buttonSpecAny1.UniqueName = "B0FAED16E99144A6DFA183F6DCF8CE59"; dataGridViewCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle.NullValue = componentResourceManager.GetObject("dataGridViewCellStyle1.NullValue"); dataGridViewCellStyle.WrapMode = DataGridViewTriState.True; this.dataGridViewImageColumn1.DefaultCellStyle = dataGridViewCellStyle; this.dataGridViewImageColumn1.HeaderText = "上移"; this.dataGridViewImageColumn1.Image = (Image)componentResourceManager.GetObject("dataGridViewImageColumn1.Image"); this.dataGridViewImageColumn1.ImageLayout = DataGridViewImageCellLayout.Zoom; this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1"; this.dataGridViewImageColumn1.Resizable = DataGridViewTriState.True; this.dataGridViewImageColumn1.Width = 40; this.dataGridViewImageColumn2.HeaderText = "下移"; this.dataGridViewImageColumn2.Image = global::Properties.Resource.DOWN_16; this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2"; this.dataGridViewImageColumn2.Resizable = DataGridViewTriState.True; this.dataGridViewImageColumn2.Width = 40; this.buttonSpecAny2.Checked = ButtonCheckState.Checked; this.buttonSpecAny2.Image = (Image)componentResourceManager.GetObject("buttonSpecAny2.Image"); this.buttonSpecAny2.UniqueName = "2B39AF5966CA492620ACC03F8654CCBE"; this.tableLayoutPanel8.ColumnCount = 3; this.tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f)); this.tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f)); this.tableLayoutPanel8.Controls.Add(this.tableLayoutPanel1, 1, 3); this.tableLayoutPanel8.Controls.Add(this.kryptonPanel12, 1, 1); this.tableLayoutPanel8.Controls.Add(this.deducation, 1, 2); this.tableLayoutPanel8.Dock = DockStyle.Fill; this.tableLayoutPanel8.Location = new Point(0, 0); this.tableLayoutPanel8.Name = "tableLayoutPanel8"; this.tableLayoutPanel8.RowCount = 5; this.tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f)); this.tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f)); this.tableLayoutPanel8.Size = new Size(1008, 553); this.tableLayoutPanel8.TabIndex = 1; this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 103f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 100f)); this.tableLayoutPanel1.Controls.Add(this.btnnext, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnsave, 1, 0); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(53, 496); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tableLayoutPanel1.Size = new Size(902, 34); this.tableLayoutPanel1.TabIndex = 3; this.btnnext.Location = new Point(805, 3); this.btnnext.Name = "btnnext"; this.btnnext.Size = new Size(90, 25); this.btnnext.TabIndex = 1; this.btnnext.Values.Text = "下一页"; this.btnnext.Click += new EventHandler(this.btnnext_Click); this.btnsave.Location = new Point(702, 3); this.btnsave.Name = "btnsave"; this.btnsave.Size = new Size(90, 25); this.btnsave.TabIndex = 0; this.btnsave.Values.Text = "保存"; this.btnsave.Click += new EventHandler(this.btnsave_Click); this.kryptonPanel12.Controls.Add(this.kryptonLabel63); this.kryptonPanel12.Dock = DockStyle.Fill; this.kryptonPanel12.Location = new Point(50, 20); this.kryptonPanel12.Margin = new Padding(0); this.kryptonPanel12.Name = "kryptonPanel12"; this.kryptonPanel12.Size = new Size(908, 40); this.kryptonPanel12.TabIndex = 0; this.kryptonLabel63.Location = new Point(0, 10); this.kryptonLabel63.Name = "kryptonLabel63"; this.kryptonLabel63.Size = new Size(417, 27); this.kryptonLabel63.StateCommon.LongText.Font = new Font("KaiTi_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134); this.kryptonLabel63.StateCommon.ShortText.Font = new Font("SimHei", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 134); this.kryptonLabel63.TabIndex = 0; this.kryptonLabel63.Values.ExtraText = "(从大学教育填起,按时间倒序填写)"; this.kryptonLabel63.Values.Text = "一、教育经历"; this.deducation.AllowUserToResizeRows = false; this.deducation.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders; this.deducation.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.deducation.Columns.AddRange(new DataGridViewColumn[] { this.gridEducationNo, this.startdate, this.enddate, this.school, this.major, this.degree, this.cEducationOrder, this.up, this.down, this.delete }); this.deducation.Dock = DockStyle.Fill; this.deducation.Location = new Point(53, 63); this.deducation.MultiSelect = false; this.deducation.Name = "deducation"; dataGridViewCellStyle2.Font = new Font("FangSong_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134); dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; this.deducation.RowsDefaultCellStyle = dataGridViewCellStyle2; this.deducation.RowTemplate.Height = 28; this.deducation.RowTemplate.Resizable = DataGridViewTriState.False; this.deducation.Size = new Size(902, 427); this.deducation.StateCommon.Background.Color1 = Color.White; this.deducation.StateCommon.BackStyle = PaletteBackStyle.GridBackgroundList; this.deducation.StateCommon.HeaderColumn.Content.Font = new Font("SimHei", 12f, FontStyle.Regular, GraphicsUnit.Point, 134); this.deducation.StateCommon.HeaderColumn.Content.TextH = PaletteRelativeAlign.Center; this.deducation.TabIndex = 1; this.deducation.CellContentClick += new DataGridViewCellEventHandler(this.deducation_CellContentClick); this.deducation.RowsAdded += new DataGridViewRowsAddedEventHandler(this.deducation_RowsAdded); this.gridEducationNo.HeaderText = ""; this.gridEducationNo.Name = "gridEducationNo"; this.gridEducationNo.Visible = false; this.startdate.HeaderText = "开始年月"; this.startdate.Name = "startdate"; this.startdate.Width = 120; this.enddate.HeaderText = "结束年月"; this.enddate.Name = "enddate"; this.enddate.Width = 120; this.school.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; this.school.HeaderText = "校(院)及系名称"; this.school.MinimumWidth = 156; this.school.Name = "school"; this.school.Resizable = DataGridViewTriState.True; this.school.SortMode = DataGridViewColumnSortMode.NotSortable; this.school.Width = 156; this.major.HeaderText = "专业"; this.major.Name = "major"; this.major.Resizable = DataGridViewTriState.True; this.major.SortMode = DataGridViewColumnSortMode.NotSortable; this.major.Width = 180; this.degree.DropDownStyle = ComboBoxStyle.DropDownList; this.degree.DropDownWidth = 121; this.degree.HeaderText = "学位"; this.degree.Items.AddRange(new string[] { "博士", "硕士", "学士", "无学位" }); this.degree.Name = "degree"; this.degree.Resizable = DataGridViewTriState.True; this.degree.Width = 150; this.cEducationOrder.HeaderText = "排序"; this.cEducationOrder.Name = "cEducationOrder"; this.cEducationOrder.SortMode = DataGridViewColumnSortMode.NotSortable; this.cEducationOrder.Visible = false; this.cEducationOrder.Width = 100; dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.NullValue = componentResourceManager.GetObject("dataGridViewCellStyle2.NullValue"); dataGridViewCellStyle3.WrapMode = DataGridViewTriState.True; this.up.DefaultCellStyle = dataGridViewCellStyle3; this.up.HeaderText = "上移"; this.up.Image = global::Properties.Resource.UP_16; this.up.Name = "up"; this.up.Resizable = DataGridViewTriState.True; this.up.Width = 45; this.down.HeaderText = "下移"; this.down.Image = global::Properties.Resource.DOWN_16; this.down.Name = "down"; this.down.Resizable = DataGridViewTriState.True; this.down.Width = 45; this.delete.HeaderText = "删除"; this.delete.Image = global::Properties.Resource.DELETE_16; this.delete.Name = "delete"; this.delete.Resizable = DataGridViewTriState.True; this.delete.Width = 45; base.AutoScaleDimensions = new SizeF(6f, 12f); //base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tableLayoutPanel8); base.Name = "frmresume_education"; base.Size = new Size(1008, 553); base.Leave += new EventHandler(this.frmresume_education_Leave); this.tableLayoutPanel8.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); ((ISupportInitialize)this.kryptonPanel12).EndInit(); this.kryptonPanel12.ResumeLayout(false); this.kryptonPanel12.PerformLayout(); ((ISupportInitialize)this.deducation).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); this.kbtnRestoreDefault = new Krypton.Toolkit.KryptonButton(); this.kbtnRemove = new Krypton.Toolkit.KryptonButton(); this.kbtnAdd = new Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel(); this.kdgv = new Krypton.Toolkit.KryptonDataGridView(); this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel(); this.dgv = new System.Windows.Forms.DataGridView(); this.cbModifiers = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.cbKey = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.kcolAction = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.colModifiers = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.colKey = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.colAction = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.kgv = new Krypton.Toolkit.Suite.Extended.Base.KryptonGrid(); this.kcolModifiers = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.kcolKey = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); this.kcolmnAction = new Krypton.Toolkit.KryptonDataGridViewComboBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kdgv)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kgv)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnRestoreDefault); this.kryptonPanel1.Controls.Add(this.kbtnRemove); this.kryptonPanel1.Controls.Add(this.kbtnAdd); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 416); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(691, 47); this.kryptonPanel1.TabIndex = 0; // // kbtnRestoreDefault // this.kbtnRestoreDefault.Location = new System.Drawing.Point(204, 10); this.kbtnRestoreDefault.Name = "kbtnRestoreDefault"; this.kbtnRestoreDefault.Size = new System.Drawing.Size(115, 25); this.kbtnRestoreDefault.TabIndex = 5; this.kbtnRestoreDefault.Values.Text = "Restore &Default"; this.kbtnRestoreDefault.Click += new System.EventHandler(this.kbtnRestoreDefault_Click); // // kbtnRemove // this.kbtnRemove.Location = new System.Drawing.Point(108, 10); this.kbtnRemove.Name = "kbtnRemove"; this.kbtnRemove.Size = new System.Drawing.Size(90, 25); this.kbtnRemove.TabIndex = 4; this.kbtnRemove.Values.Text = "R&emove"; this.kbtnRemove.Click += new System.EventHandler(this.kbtnRemove_Click); // // kbtnAdd // this.kbtnAdd.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnAdd.Location = new System.Drawing.Point(12, 10); this.kbtnAdd.Name = "kbtnAdd"; this.kbtnAdd.Size = new System.Drawing.Size(90, 25); this.kbtnAdd.TabIndex = 3; this.kbtnAdd.Values.Text = "&Add"; this.kbtnAdd.Click += new System.EventHandler(this.kbtnAdd_Click); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 413); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(691, 3); this.panel1.TabIndex = 1; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.dgv); this.kryptonPanel2.Controls.Add(this.kgv); this.kryptonPanel2.Controls.Add(this.kdgv); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); this.kryptonPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel2.Location = new System.Drawing.Point(0, 0); this.kryptonPanel2.Name = "kryptonPanel2"; this.kryptonPanel2.Size = new System.Drawing.Size(691, 413); this.kryptonPanel2.TabIndex = 2; // // kdgv // this.kdgv.AllowUserToAddRows = false; this.kdgv.AllowUserToDeleteRows = false; this.kdgv.AllowUserToResizeColumns = false; this.kdgv.AllowUserToResizeRows = false; this.kdgv.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.kdgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.kdgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.cbModifiers, this.cbKey, this.kcolAction }); this.kdgv.Location = new System.Drawing.Point(12, 39); this.kdgv.Name = "kdgv"; this.kdgv.RowHeadersVisible = false; this.kdgv.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.kdgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.kdgv.Size = new System.Drawing.Size(667, 368); this.kdgv.TabIndex = 4; this.kdgv.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.kdgv_RowsAdded); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 12); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(135, 21); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.TabIndex = 3; this.kryptonLabel1.Values.Text = "Hotkeys Mapping"; // // dgv // this.dgv.AllowUserToAddRows = false; this.dgv.AllowUserToDeleteRows = false; this.dgv.AllowUserToResizeColumns = false; this.dgv.AllowUserToResizeRows = false; this.dgv.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.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colModifiers, this.colKey, this.colAction }); this.dgv.Location = new System.Drawing.Point(12, 39); this.dgv.Name = "dgv"; this.dgv.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; this.dgv.RowHeadersVisible = false; this.dgv.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgv.Size = new System.Drawing.Size(667, 368); this.dgv.TabIndex = 3; this.dgv.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgv_RowsAdded); // // cbModifiers // this.cbModifiers.DataSource = null; this.cbModifiers.DropDownWidth = 121; this.cbModifiers.HeaderText = "Modifiers"; this.cbModifiers.Name = "cbModifiers"; this.cbModifiers.Width = 100; // // cbKey // this.cbKey.DataSource = null; this.cbKey.DropDownWidth = 121; this.cbKey.HeaderText = "Key"; this.cbKey.Name = "cbKey"; this.cbKey.Width = 100; // // kcolAction // this.kcolAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.kcolAction.DataSource = null; this.kcolAction.DropDownWidth = 121; this.kcolAction.HeaderText = "Action"; this.kcolAction.Name = "kcolAction"; this.kcolAction.Width = 466; // // colModifiers // this.colModifiers.HeaderText = "Modifiers"; this.colModifiers.Name = "colModifiers"; this.colModifiers.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // colKey // this.colKey.HeaderText = "Key"; this.colKey.Name = "colKey"; this.colKey.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // colAction // this.colAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.colAction.HeaderText = "Action"; this.colAction.Name = "colAction"; // // kgv // this.kgv.AllowUserToAddRows = false; this.kgv.AllowUserToDeleteRows = false; this.kgv.AllowUserToResizeColumns = false; this.kgv.AllowUserToResizeRows = false; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(232)))), ((int)(((byte)(246))))); this.kgv.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; this.kgv.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.kgv.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(196)))), ((int)(((byte)(216))))); this.kgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.kgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.kcolModifiers, this.kcolKey, this.kcolmnAction }); dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.Transparent; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Navy; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.kgv.DefaultCellStyle = dataGridViewCellStyle4; this.kgv.Location = new System.Drawing.Point(12, 39); this.kgv.Name = "kgv"; this.kgv.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; this.kgv.RowHeadersVisible = false; this.kgv.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.kgv.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.Color.Transparent; this.kgv.RowTemplate.DefaultCellStyle.SelectionForeColor = System.Drawing.Color.Navy; this.kgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.kgv.Size = new System.Drawing.Size(667, 368); this.kgv.TabIndex = 3; this.kgv.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.kgv_RowsAdded); // // kcolModifiers // this.kcolModifiers.DataSource = null; this.kcolModifiers.DropDownWidth = 121; this.kcolModifiers.HeaderText = "Modifiers"; this.kcolModifiers.Name = "kcolModifiers"; this.kcolModifiers.Width = 100; // // kcolKey // this.kcolKey.DataSource = null; this.kcolKey.DropDownWidth = 121; this.kcolKey.HeaderText = "Key"; this.kcolKey.Name = "kcolKey"; this.kcolKey.Width = 100; // // kcolmnAction // this.kcolmnAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.kcolmnAction.DataSource = null; this.kcolmnAction.DropDownWidth = 121; this.kcolmnAction.HeaderText = "Action"; this.kcolmnAction.Name = "kcolmnAction"; this.kcolmnAction.Width = 464; // // HotkeysEditorWindow // this.ClientSize = new System.Drawing.Size(691, 463); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HotkeysEditorWindow"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Hotkey Editor"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HotkeysEditorWindow_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kdgv)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kgv)).EndInit(); 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); }