您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

182 行
11 KiB

  1. namespace StuMgmClient
  2. {
  3. partial class StudentTree
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  33. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  34. this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  35. this.StudenTree = new System.Windows.Forms.TreeView();
  36. this.dgvStudent = new System.Windows.Forms.DataGridView();
  37. this.任务名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  38. this.任务状态 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  39. this.操作 = new System.Windows.Forms.DataGridViewButtonColumn();
  40. this.tableLayoutPanel1.SuspendLayout();
  41. ((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).BeginInit();
  42. this.SuspendLayout();
  43. //
  44. // tableLayoutPanel1
  45. //
  46. this.tableLayoutPanel1.ColumnCount = 2;
  47. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
  48. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
  49. this.tableLayoutPanel1.Controls.Add(this.StudenTree, 0, 0);
  50. this.tableLayoutPanel1.Controls.Add(this.dgvStudent, 1, 0);
  51. this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  52. this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
  53. this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  54. this.tableLayoutPanel1.RowCount = 1;
  55. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  56. this.tableLayoutPanel1.Size = new System.Drawing.Size(674, 438);
  57. this.tableLayoutPanel1.TabIndex = 8;
  58. //
  59. // StudenTree
  60. //
  61. this.StudenTree.BackColor = System.Drawing.Color.LightGray;
  62. this.StudenTree.Dock = System.Windows.Forms.DockStyle.Fill;
  63. this.StudenTree.ItemHeight = 25;
  64. this.StudenTree.Location = new System.Drawing.Point(3, 3);
  65. this.StudenTree.Name = "StudenTree";
  66. this.StudenTree.Size = new System.Drawing.Size(196, 432);
  67. this.StudenTree.TabIndex = 4;
  68. this.StudenTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.StudentTree_NodeMouseClick);
  69. //
  70. // dgvStudent
  71. //
  72. this.dgvStudent.AllowUserToAddRows = false;
  73. this.dgvStudent.AllowUserToDeleteRows = false;
  74. this.dgvStudent.AllowUserToResizeColumns = false;
  75. this.dgvStudent.AllowUserToResizeRows = false;
  76. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  77. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  78. this.dgvStudent.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
  79. this.dgvStudent.BackgroundColor = System.Drawing.Color.Gainsboro;
  80. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  81. dataGridViewCellStyle2.BackColor = System.Drawing.Color.CornflowerBlue;
  82. dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  83. dataGridViewCellStyle2.ForeColor = System.Drawing.Color.DarkSlateGray;
  84. dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  85. dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  86. this.dgvStudent.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
  87. this.dgvStudent.ColumnHeadersHeight = 40;
  88. this.dgvStudent.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
  89. this.dgvStudent.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  90. this.任务名称,
  91. this.任务状态,
  92. this.操作});
  93. this.dgvStudent.Dock = System.Windows.Forms.DockStyle.Fill;
  94. this.dgvStudent.EnableHeadersVisualStyles = false;
  95. this.dgvStudent.Location = new System.Drawing.Point(205, 3);
  96. this.dgvStudent.MultiSelect = false;
  97. this.dgvStudent.Name = "dgvStudent";
  98. this.dgvStudent.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
  99. dataGridViewCellStyle6.BackColor = System.Drawing.Color.WhiteSmoke;
  100. dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black;
  101. dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  102. dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
  103. this.dgvStudent.RowsDefaultCellStyle = dataGridViewCellStyle6;
  104. this.dgvStudent.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
  105. this.dgvStudent.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  106. this.dgvStudent.RowTemplate.DefaultCellStyle.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
  107. this.dgvStudent.RowTemplate.Height = 33;
  108. this.dgvStudent.RowTemplate.ReadOnly = true;
  109. this.dgvStudent.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.False;
  110. this.dgvStudent.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
  111. this.dgvStudent.Size = new System.Drawing.Size(466, 432);
  112. this.dgvStudent.TabIndex = 1;
  113. this.dgvStudent.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvStudent_CellContentClick);
  114. this.dgvStudent.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DgvStudent_CellFormatting);
  115. this.dgvStudent.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DgvStudent_RowPostPaint);
  116. //
  117. // 任务名称
  118. //
  119. this.任务名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  120. this.任务名称.DataPropertyName = "name";
  121. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  122. dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F);
  123. this.任务名称.DefaultCellStyle = dataGridViewCellStyle3;
  124. this.任务名称.HeaderText = "任务名称";
  125. this.任务名称.Name = "任务名称";
  126. this.任务名称.ReadOnly = true;
  127. //
  128. // 任务状态
  129. //
  130. this.任务状态.DataPropertyName = "Statu";
  131. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  132. dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F);
  133. this.任务状态.DefaultCellStyle = dataGridViewCellStyle4;
  134. this.任务状态.HeaderText = "任务状态";
  135. this.任务状态.Name = "任务状态";
  136. this.任务状态.ReadOnly = true;
  137. //
  138. // 操作
  139. //
  140. this.操作.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  141. dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  142. dataGridViewCellStyle5.BackColor = System.Drawing.Color.DarkSeaGreen;
  143. dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  144. dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Transparent;
  145. dataGridViewCellStyle5.NullValue = "查看详情";
  146. dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Transparent;
  147. dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Transparent;
  148. this.操作.DefaultCellStyle = dataGridViewCellStyle5;
  149. this.操作.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  150. this.操作.HeaderText = "操作";
  151. this.操作.Name = "操作";
  152. this.操作.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  153. this.操作.Text = "";
  154. //
  155. // StudentTree
  156. //
  157. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  158. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  159. this.Controls.Add(this.tableLayoutPanel1);
  160. this.Name = "StudentTree";
  161. this.Size = new System.Drawing.Size(674, 438);
  162. this.Load += new System.EventHandler(this.StudentTree_Load);
  163. this.tableLayoutPanel1.ResumeLayout(false);
  164. ((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).EndInit();
  165. this.ResumeLayout(false);
  166. }
  167. #endregion
  168. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  169. private System.Windows.Forms.TreeView StudenTree;
  170. private System.Windows.Forms.DataGridView dgvStudent;
  171. private System.Windows.Forms.DataGridViewTextBoxColumn 任务名称;
  172. private System.Windows.Forms.DataGridViewTextBoxColumn 任务状态;
  173. private System.Windows.Forms.DataGridViewButtonColumn 操作;
  174. }
  175. }