Example #1
0
 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);
 }
Example #2
0
		private void InitializeComponent()
		{
			DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();
			DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
			this.tableLayoutPanel12 = new TableLayoutPanel();
			this.tableLayoutPanel1 = new TableLayoutPanel();
			this.btnnext = new KryptonButton();
			this.btnsave = new KryptonButton();
			this.kryptonPanel27 = new KryptonPanel();
			this.kryptonLabel115 = new KryptonLabel();
            this.dproject = new KryptonDataGridViewEx();
			this.defenceid = new DataGridViewTextBoxColumn();
			this.defencename = new DataGridViewTextBoxColumn();
			this.defencesource = new DataGridViewTextBoxColumn();
			this.defencefee = new DataGridViewTextBoxColumn();
			this.defencestartdate = new CalendarColumnYM();
			this.defenceenddate = new CalendarColumnYM();
			this.defencemaintask = new KryptonDataGridViewTextBoxColumn();
			this.defenceorder = new KryptonDataGridViewTextBoxColumn();
			this.proorder = new KryptonDataGridViewTextBoxColumn();
			this.defenceup = new DataGridViewImageColumn();
			this.defencedown = new DataGridViewImageColumn();
			this.defencedelete = new DataGridViewImageColumn();
			this.tableLayoutPanel12.SuspendLayout();
			this.tableLayoutPanel1.SuspendLayout();
			((ISupportInitialize)this.kryptonPanel27).BeginInit();
			this.kryptonPanel27.SuspendLayout();
			((ISupportInitialize)this.dproject).BeginInit();
			base.SuspendLayout();
			this.tableLayoutPanel12.ColumnCount = 3;
			this.tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
			this.tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
			this.tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
			this.tableLayoutPanel12.Controls.Add(this.tableLayoutPanel1, 1, 3);
			this.tableLayoutPanel12.Controls.Add(this.kryptonPanel27, 1, 1);
			this.tableLayoutPanel12.Controls.Add(this.dproject, 1, 2);
			this.tableLayoutPanel12.Dock = DockStyle.Fill;
			this.tableLayoutPanel12.Location = new Point(0, 0);
			this.tableLayoutPanel12.Name = "tableLayoutPanel12";
			this.tableLayoutPanel12.RowCount = 5;
			this.tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
			this.tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
			this.tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
			this.tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
			this.tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
			this.tableLayoutPanel12.Size = new Size(1029, 569);
			this.tableLayoutPanel12.TabIndex = 2;
			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, 512);
			this.tableLayoutPanel1.Name = "tableLayoutPanel1";
			this.tableLayoutPanel1.RowCount = 1;
			this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
			this.tableLayoutPanel1.Size = new Size(923, 34);
			this.tableLayoutPanel1.TabIndex = 5;
			this.btnnext.Location = new Point(826, 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(723, 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.kryptonPanel27.Controls.Add(this.kryptonLabel115);
			this.kryptonPanel27.Dock = DockStyle.Fill;
			this.kryptonPanel27.Location = new Point(50, 20);
			this.kryptonPanel27.Margin = new Padding(0);
			this.kryptonPanel27.Name = "kryptonPanel27";
			this.kryptonPanel27.Size = new Size(929, 40);
			this.kryptonPanel27.TabIndex = 0;
			this.kryptonLabel115.Location = new Point(0, 10);
			this.kryptonLabel115.Name = "kryptonLabel115";
			this.kryptonLabel115.Size = new Size(395, 27);
			this.kryptonLabel115.StateCommon.LongText.Font = new Font("KaiTi_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
			this.kryptonLabel115.StateCommon.ShortText.Font = new Font("SimHei", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 134);
			this.kryptonLabel115.TabIndex = 0;
			this.kryptonLabel115.Values.ExtraText = "(限10项)";
			this.kryptonLabel115.Values.Text = "五、承担国防相关代表性项目情况";
			this.dproject.AllowUserToResizeRows = false;
			this.dproject.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders;
			this.dproject.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.dproject.Columns.AddRange(new DataGridViewColumn[]
			{
				this.defenceid,
				this.defencename,
				this.defencesource,
				this.defencefee,
				this.defencestartdate,
				this.defenceenddate,
				this.defencemaintask,
				this.defenceorder,
				this.proorder,
				this.defenceup,
				this.defencedown,
				this.defencedelete
			});
			this.dproject.Dock = DockStyle.Fill;
			this.dproject.Location = new Point(53, 63);
			this.dproject.MultiSelect = false;
			this.dproject.Name = "dproject";
			dataGridViewCellStyle.Font = new Font("FangSong_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
			dataGridViewCellStyle.WrapMode = DataGridViewTriState.True;
			this.dproject.RowsDefaultCellStyle = dataGridViewCellStyle;
			this.dproject.RowTemplate.Height = 28;
			this.dproject.Size = new Size(923, 443);
			this.dproject.StateCommon.Background.Color1 = Color.White;
			this.dproject.StateCommon.BackStyle = PaletteBackStyle.GridBackgroundList;
			this.dproject.StateCommon.HeaderColumn.Content.Font = new Font("SimHei", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
			this.dproject.StateCommon.HeaderColumn.Content.MultiLine = InheritBool.False;
			this.dproject.StateCommon.HeaderColumn.Content.TextH = PaletteRelativeAlign.Center;
			this.dproject.TabIndex = 1;
			this.dproject.CellContentClick += new DataGridViewCellEventHandler(this.dproject_CellContentClick);
			this.dproject.RowsAdded += new DataGridViewRowsAddedEventHandler(this.dproject_RowsAdded);
			this.defenceid.HeaderText = "序号";
			this.defenceid.Name = "defenceid";
			this.defenceid.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defenceid.Visible = false;
			this.defenceid.Width = 40;
			this.defencename.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
			dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
			this.defencename.DefaultCellStyle = dataGridViewCellStyle2;
			this.defencename.HeaderText = "项目名称";
			this.defencename.MinimumWidth = 142;
			this.defencename.Name = "defencename";
			this.defencename.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defencesource.HeaderText = "项目来源";
			this.defencesource.Name = "defencesource";
			this.defencesource.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defencefee.HeaderText = "经费(万)";
			this.defencefee.Name = "defencefee";
			this.defencefee.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defencestartdate.HeaderText = "开始年月";
			this.defencestartdate.Name = "defencestartdate";
			this.defencestartdate.Width = 120;
			this.defenceenddate.HeaderText = "结束年月";
			this.defenceenddate.Name = "defenceenddate";
			this.defenceenddate.Width = 120;
			this.defencemaintask.HeaderText = "主要承担任务";
			this.defencemaintask.Name = "defencemaintask";
			this.defencemaintask.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defencemaintask.Width = 120;
			this.defenceorder.HeaderText = "排名";
			this.defenceorder.Name = "defenceorder";
			this.defenceorder.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.defenceorder.Width = 45;
			this.proorder.HeaderText = "次序";
			this.proorder.Name = "proorder";
			this.proorder.Resizable = DataGridViewTriState.True;
			this.proorder.SortMode = DataGridViewColumnSortMode.NotSortable;
			this.proorder.Visible = false;
			this.proorder.Width = 100;
			this.defenceup.HeaderText = "上移";
			this.defenceup.Name = "defenceup";
			this.defenceup.Resizable = DataGridViewTriState.True;
			this.defenceup.Width = 45;
			this.defencedown.HeaderText = "下移";
			this.defencedown.Name = "defencedown";
			this.defencedown.Resizable = DataGridViewTriState.True;
			this.defencedown.Width = 45;
			this.defencedelete.HeaderText = "删除";
			this.defencedelete.Name = "defencedelete";
			this.defencedelete.Resizable = DataGridViewTriState.True;
			this.defencedelete.Width = 45;
			base.AutoScaleDimensions = new SizeF(6f, 12f);
			//base.AutoScaleMode = AutoScaleMode.Font;
			base.Controls.Add(this.tableLayoutPanel12);
			base.Name = "frmNDProject";
			base.Size = new Size(1029, 569);
			base.Leave += new EventHandler(this.frmNDProject_Leave);
			this.tableLayoutPanel12.ResumeLayout(false);
			this.tableLayoutPanel1.ResumeLayout(false);
			((ISupportInitialize)this.kryptonPanel27).EndInit();
			this.kryptonPanel27.ResumeLayout(false);
			this.kryptonPanel27.PerformLayout();
			((ISupportInitialize)this.dproject).EndInit();
			base.ResumeLayout(false);
		}
Example #3
0
        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);
        }
Example #4
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();

            this.tableLayoutPanel10 = new TableLayoutPanel();
            this.tableLayoutPanel1  = new TableLayoutPanel();
            this.btnnext            = new KryptonButton();
            this.btnsave            = new KryptonButton();
            this.kryptonPanel25     = new KryptonPanel();
            this.kryptonLabel113    = new KryptonLabel();
            this.daca                 = new KryptonDataGridViewEx();
            this.academicjobid        = new KryptonDataGridViewTextBoxColumn();
            this.academicjobstartdate = new CalendarColumnYM();
            this.academicjobenddate   = new CalendarColumnYM();
            this.academicjoborg       = new KryptonDataGridViewTextBoxColumn();
            this.academicjobposition  = new KryptonDataGridViewTextBoxColumn();
            this.academicjobup        = new DataGridViewImageColumn();
            this.academicjobdown      = new DataGridViewImageColumn();
            this.academicjobdelete    = new DataGridViewImageColumn();
            this.cacaOrder            = new DataGridViewTextBoxColumn();
            this.tableLayoutPanel10.SuspendLayout();
            this.tableLayoutPanel1.SuspendLayout();
            ((ISupportInitialize)this.kryptonPanel25).BeginInit();
            this.kryptonPanel25.SuspendLayout();
            ((ISupportInitialize)this.daca).BeginInit();
            base.SuspendLayout();
            this.tableLayoutPanel10.ColumnCount = 3;
            this.tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
            this.tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
            this.tableLayoutPanel10.Controls.Add(this.tableLayoutPanel1, 1, 3);
            this.tableLayoutPanel10.Controls.Add(this.kryptonPanel25, 1, 1);
            this.tableLayoutPanel10.Controls.Add(this.daca, 1, 2);
            this.tableLayoutPanel10.Dock     = DockStyle.Fill;
            this.tableLayoutPanel10.Location = new Point(0, 0);
            this.tableLayoutPanel10.Name     = "tableLayoutPanel10";
            this.tableLayoutPanel10.RowCount = 5;
            this.tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
            this.tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
            this.tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
            this.tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
            this.tableLayoutPanel10.Size       = new Size(1025, 603);
            this.tableLayoutPanel10.TabIndex   = 2;
            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, 546);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 1;
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel1.Size     = new Size(919, 34);
            this.tableLayoutPanel1.TabIndex = 5;
            this.btnnext.Location           = new Point(822, 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(719, 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.kryptonPanel25.Controls.Add(this.kryptonLabel113);
            this.kryptonPanel25.Dock      = DockStyle.Fill;
            this.kryptonPanel25.Location  = new Point(50, 20);
            this.kryptonPanel25.Margin    = new Padding(0);
            this.kryptonPanel25.Name      = "kryptonPanel25";
            this.kryptonPanel25.Size      = new Size(925, 40);
            this.kryptonPanel25.TabIndex  = 0;
            this.kryptonLabel113.Location = new Point(3, 10);
            this.kryptonLabel113.Name     = "kryptonLabel113";
            this.kryptonLabel113.Size     = new Size(324, 27);
            this.kryptonLabel113.StateCommon.LongText.Font  = new Font("KaiTi_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.kryptonLabel113.StateCommon.ShortText.Font = new Font("SimHei", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.kryptonLabel113.TabIndex         = 0;
            this.kryptonLabel113.Values.ExtraText = "(按时间倒序填写)";
            this.kryptonLabel113.Values.Text      = "三、主要学术任职";
            this.daca.AllowUserToResizeRows       = false;
            this.daca.AutoSizeRowsMode            = DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders;
            this.daca.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.daca.Columns.AddRange(new DataGridViewColumn[]
            {
                this.academicjobid,
                this.academicjobstartdate,
                this.academicjobenddate,
                this.academicjoborg,
                this.academicjobposition,
                this.academicjobup,
                this.academicjobdown,
                this.academicjobdelete,
                this.cacaOrder
            });
            this.daca.Dock                                   = DockStyle.Fill;
            this.daca.Location                               = new Point(53, 63);
            this.daca.MultiSelect                            = false;
            this.daca.Name                                   = "daca";
            dataGridViewCellStyle.Font                       = new Font("FangSong_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            dataGridViewCellStyle.WrapMode                   = DataGridViewTriState.True;
            this.daca.RowsDefaultCellStyle                   = dataGridViewCellStyle;
            this.daca.RowTemplate.Height                     = 28;
            this.daca.Size                                   = new Size(919, 477);
            this.daca.StateCommon.Background.Color1          = Color.White;
            this.daca.StateCommon.BackStyle                  = PaletteBackStyle.GridBackgroundList;
            this.daca.StateCommon.HeaderColumn.Content.Font  = new Font("SimHei", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.daca.StateCommon.HeaderColumn.Content.TextH = PaletteRelativeAlign.Center;
            this.daca.TabIndex                               = 3;
            this.daca.CellContentClick                      += new DataGridViewCellEventHandler(this.daca_CellContentClick);
            this.daca.RowsAdded                             += new DataGridViewRowsAddedEventHandler(this.daca_RowsAdded);
            this.academicjobid.HeaderText                    = "id";
            this.academicjobid.Name                          = "academicjobid";
            this.academicjobid.SortMode                      = DataGridViewColumnSortMode.NotSortable;
            this.academicjobid.Visible                       = false;
            this.academicjobid.Width                         = 100;
            this.academicjobstartdate.HeaderText             = "开始年月";
            this.academicjobstartdate.Name                   = "academicjobstartdate";
            this.academicjobstartdate.Width                  = 120;
            this.academicjobenddate.HeaderText               = "结束年月";
            this.academicjobenddate.Name                     = "academicjobenddate";
            this.academicjobenddate.Width                    = 120;
            this.academicjoborg.AutoSizeMode                 = DataGridViewAutoSizeColumnMode.Fill;
            this.academicjoborg.HeaderText                   = "组织/机构";
            this.academicjoborg.Name                         = "academicjoborg";
            this.academicjoborg.SortMode                     = DataGridViewColumnSortMode.NotSortable;
            this.academicjoborg.Width                        = 303;
            this.academicjobposition.HeaderText              = "任职情况";
            this.academicjobposition.Name                    = "academicjobposition";
            this.academicjobposition.SortMode                = DataGridViewColumnSortMode.NotSortable;
            this.academicjobposition.Width                   = 200;
            this.academicjobup.HeaderText                    = "上移";
            this.academicjobup.Name                          = "academicjobup";
            this.academicjobup.Resizable                     = DataGridViewTriState.True;
            this.academicjobup.Width                         = 45;
            this.academicjobdown.HeaderText                  = "下移";
            this.academicjobdown.Name                        = "academicjobdown";
            this.academicjobdown.Resizable                   = DataGridViewTriState.True;
            this.academicjobdown.Width                       = 45;
            this.academicjobdelete.HeaderText                = "删除";
            this.academicjobdelete.Name                      = "academicjobdelete";
            this.academicjobdelete.Resizable                 = DataGridViewTriState.True;
            this.academicjobdelete.Width                     = 45;
            this.cacaOrder.HeaderText                        = "排序";
            this.cacaOrder.Name                              = "cacaOrder";
            this.cacaOrder.SortMode                          = DataGridViewColumnSortMode.NotSortable;
            this.cacaOrder.Visible                           = false;
            base.AutoScaleDimensions                         = new SizeF(6f, 12f);
            //base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.tableLayoutPanel10);
            base.Name   = "frmAcademicPost";
            base.Size   = new Size(1025, 603);
            base.Leave += new EventHandler(this.frmAcademicPost_Leave);
            this.tableLayoutPanel10.ResumeLayout(false);
            this.tableLayoutPanel1.ResumeLayout(false);
            ((ISupportInitialize)this.kryptonPanel25).EndInit();
            this.kryptonPanel25.ResumeLayout(false);
            this.kryptonPanel25.PerformLayout();
            ((ISupportInitialize)this.daca).EndInit();
            base.ResumeLayout(false);
        }
Example #5
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();

            this.tableLayoutPanel9 = new TableLayoutPanel();
            this.tableLayoutPanel1 = new TableLayoutPanel();
            this.btnnext           = new KryptonButton();
            this.btnsave           = new KryptonButton();
            this.kryptonPanel21    = new KryptonPanel();
            this.kryptonLabel64    = new KryptonLabel();
            this.dwork             = new KryptonDataGridViewEx();
            this.workid            = new DataGridViewTextBoxColumn();
            this.workstartdate     = new CalendarColumnYM();
            this.workenddate       = new CalendarColumnYM();
            this.workcompany       = new DataGridViewTextBoxColumn();
            this.workduty          = new DataGridViewTextBoxColumn();
            this.workup            = new DataGridViewImageColumn();
            this.workdown          = new DataGridViewImageColumn();
            this.workdelete        = new DataGridViewImageColumn();
            this.cworkOrder        = new DataGridViewTextBoxColumn();
            this.tableLayoutPanel9.SuspendLayout();
            this.tableLayoutPanel1.SuspendLayout();
            ((ISupportInitialize)this.kryptonPanel21).BeginInit();
            this.kryptonPanel21.SuspendLayout();
            ((ISupportInitialize)this.dwork).BeginInit();
            base.SuspendLayout();
            this.tableLayoutPanel9.ColumnCount = 3;
            this.tableLayoutPanel9.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
            this.tableLayoutPanel9.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel9.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50f));
            this.tableLayoutPanel9.Controls.Add(this.tableLayoutPanel1, 1, 3);
            this.tableLayoutPanel9.Controls.Add(this.kryptonPanel21, 1, 1);
            this.tableLayoutPanel9.Controls.Add(this.dwork, 1, 2);
            this.tableLayoutPanel9.Dock     = DockStyle.Fill;
            this.tableLayoutPanel9.Location = new Point(0, 0);
            this.tableLayoutPanel9.Name     = "tableLayoutPanel9";
            this.tableLayoutPanel9.RowCount = 5;
            this.tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
            this.tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
            this.tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f));
            this.tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
            this.tableLayoutPanel9.Size        = new Size(1056, 588);
            this.tableLayoutPanel9.TabIndex    = 2;
            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, 531);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 1;
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel1.Size     = new Size(950, 34);
            this.tableLayoutPanel1.TabIndex = 4;
            this.btnnext.Location           = new Point(853, 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(750, 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.kryptonPanel21.Controls.Add(this.kryptonLabel64);
            this.kryptonPanel21.Dock     = DockStyle.Fill;
            this.kryptonPanel21.Location = new Point(50, 20);
            this.kryptonPanel21.Margin   = new Padding(0);
            this.kryptonPanel21.Name     = "kryptonPanel21";
            this.kryptonPanel21.Size     = new Size(956, 40);
            this.kryptonPanel21.TabIndex = 0;
            this.kryptonLabel64.Location = new Point(0, 10);
            this.kryptonLabel64.Name     = "kryptonLabel64";
            this.kryptonLabel64.Size     = new Size(324, 27);
            this.kryptonLabel64.StateCommon.LongText.Font  = new Font("KaiTi_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.kryptonLabel64.StateCommon.ShortText.Font = new Font("SimHei", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.kryptonLabel64.TabIndex           = 0;
            this.kryptonLabel64.Values.ExtraText   = "(按时间倒序填写)";
            this.kryptonLabel64.Values.Text        = "二、科研工作经历";
            this.dwork.AllowUserToResizeRows       = false;
            this.dwork.AutoSizeRowsMode            = DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders;
            this.dwork.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dwork.Columns.AddRange(new DataGridViewColumn[]
            {
                this.workid,
                this.workstartdate,
                this.workenddate,
                this.workcompany,
                this.workduty,
                this.workup,
                this.workdown,
                this.workdelete,
                this.cworkOrder
            });
            this.dwork.Dock                                   = DockStyle.Fill;
            this.dwork.Location                               = new Point(53, 63);
            this.dwork.MultiSelect                            = false;
            this.dwork.Name                                   = "dwork";
            dataGridViewCellStyle.Font                        = new Font("FangSong_GB2312", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            dataGridViewCellStyle.WrapMode                    = DataGridViewTriState.True;
            this.dwork.RowsDefaultCellStyle                   = dataGridViewCellStyle;
            this.dwork.RowTemplate.Height                     = 28;
            this.dwork.Size                                   = new Size(950, 462);
            this.dwork.StateCommon.Background.Color1          = Color.White;
            this.dwork.StateCommon.BackStyle                  = PaletteBackStyle.GridBackgroundList;
            this.dwork.StateCommon.HeaderColumn.Content.Font  = new Font("SimHei", 12f, FontStyle.Regular, GraphicsUnit.Point, 134);
            this.dwork.StateCommon.HeaderColumn.Content.TextH = PaletteRelativeAlign.Center;
            this.dwork.TabIndex                               = 1;
            this.dwork.CellContentClick                      += new DataGridViewCellEventHandler(this.dwork_CellContentClick);
            this.dwork.RowsAdded                             += new DataGridViewRowsAddedEventHandler(this.dwork_RowsAdded);
            this.workid.HeaderText                            = "";
            this.workid.Name                                  = "workid";
            this.workid.SortMode                              = DataGridViewColumnSortMode.NotSortable;
            this.workid.Visible                               = false;
            this.workstartdate.HeaderText                     = "开始年月";
            this.workstartdate.Name                           = "workstartdate";
            this.workstartdate.Width                          = 120;
            this.workenddate.HeaderText                       = "结束年月";
            this.workenddate.Name                             = "workenddate";
            this.workenddate.Width                            = 120;
            this.workcompany.AutoSizeMode                     = DataGridViewAutoSizeColumnMode.Fill;
            this.workcompany.HeaderText                       = "工作单位";
            this.workcompany.Name                             = "workcompany";
            this.workcompany.SortMode                         = DataGridViewColumnSortMode.NotSortable;
            this.workduty.HeaderText                          = "职务/职称";
            this.workduty.Name                                = "workduty";
            this.workduty.SortMode                            = DataGridViewColumnSortMode.NotSortable;
            this.workduty.Width                               = 120;
            this.workup.HeaderText                            = "上移";
            this.workup.Name                                  = "workup";
            this.workup.Resizable                             = DataGridViewTriState.True;
            this.workup.Width                                 = 45;
            this.workdown.HeaderText                          = "下移";
            this.workdown.Name                                = "workdown";
            this.workdown.Resizable                           = DataGridViewTriState.True;
            this.workdown.Width                               = 45;
            this.workdelete.HeaderText                        = "删除";
            this.workdelete.Name                              = "workdelete";
            this.workdelete.Resizable                         = DataGridViewTriState.True;
            this.workdelete.Width                             = 45;
            this.cworkOrder.HeaderText                        = "排序";
            this.cworkOrder.Name                              = "cworkOrder";
            this.cworkOrder.SortMode                          = DataGridViewColumnSortMode.NotSortable;
            this.cworkOrder.Visible                           = false;
            base.AutoScaleDimensions                          = new SizeF(6f, 12f);
            //base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.tableLayoutPanel9);
            base.Name   = "frmWorkExperienceInfo";
            base.Size   = new Size(1056, 588);
            base.Leave += new EventHandler(this.frmWorkExperienceInfo_Leave);
            this.tableLayoutPanel9.ResumeLayout(false);
            this.tableLayoutPanel1.ResumeLayout(false);
            ((ISupportInitialize)this.kryptonPanel21).EndInit();
            this.kryptonPanel21.ResumeLayout(false);
            this.kryptonPanel21.PerformLayout();
            ((ISupportInitialize)this.dwork).EndInit();
            base.ResumeLayout(false);
        }