Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

161 linhas
9.5 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 dataGridViewCellStyle5 = 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. this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  34. this.StudenTree = new System.Windows.Forms.TreeView();
  35. this.dgvStudent = new System.Windows.Forms.DataGridView();
  36. this.任务名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  37. this.操作 = new System.Windows.Forms.DataGridViewButtonColumn();
  38. this.tableLayoutPanel1.SuspendLayout();
  39. ((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).BeginInit();
  40. this.SuspendLayout();
  41. //
  42. // tableLayoutPanel1
  43. //
  44. this.tableLayoutPanel1.ColumnCount = 2;
  45. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
  46. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
  47. this.tableLayoutPanel1.Controls.Add(this.StudenTree, 0, 0);
  48. this.tableLayoutPanel1.Controls.Add(this.dgvStudent, 1, 0);
  49. this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  50. this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
  51. this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  52. this.tableLayoutPanel1.RowCount = 1;
  53. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  54. this.tableLayoutPanel1.Size = new System.Drawing.Size(674, 438);
  55. this.tableLayoutPanel1.TabIndex = 8;
  56. //
  57. // StudenTree
  58. //
  59. this.StudenTree.BackColor = System.Drawing.Color.LightGray;
  60. this.StudenTree.Dock = System.Windows.Forms.DockStyle.Fill;
  61. this.StudenTree.ItemHeight = 25;
  62. this.StudenTree.Location = new System.Drawing.Point(3, 3);
  63. this.StudenTree.Name = "StudenTree";
  64. this.StudenTree.Size = new System.Drawing.Size(196, 432);
  65. this.StudenTree.TabIndex = 4;
  66. this.StudenTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.StudentTree_NodeMouseClick);
  67. //
  68. // dgvStudent
  69. //
  70. this.dgvStudent.AllowUserToResizeColumns = false;
  71. this.dgvStudent.AllowUserToResizeRows = false;
  72. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  73. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  74. this.dgvStudent.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
  75. this.dgvStudent.BackgroundColor = System.Drawing.Color.Gainsboro;
  76. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  77. dataGridViewCellStyle2.BackColor = System.Drawing.Color.CornflowerBlue;
  78. dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  79. dataGridViewCellStyle2.ForeColor = System.Drawing.Color.DarkSlateGray;
  80. dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  81. dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  82. this.dgvStudent.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
  83. this.dgvStudent.ColumnHeadersHeight = 40;
  84. this.dgvStudent.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  85. this.任务名称,
  86. this.操作});
  87. this.dgvStudent.Dock = System.Windows.Forms.DockStyle.Fill;
  88. this.dgvStudent.EnableHeadersVisualStyles = false;
  89. this.dgvStudent.Location = new System.Drawing.Point(205, 3);
  90. this.dgvStudent.MultiSelect = false;
  91. this.dgvStudent.Name = "dgvStudent";
  92. dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
  93. dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
  94. dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  95. dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
  96. this.dgvStudent.RowsDefaultCellStyle = dataGridViewCellStyle5;
  97. this.dgvStudent.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
  98. this.dgvStudent.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  99. this.dgvStudent.RowTemplate.DefaultCellStyle.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
  100. this.dgvStudent.RowTemplate.Height = 33;
  101. this.dgvStudent.RowTemplate.ReadOnly = true;
  102. this.dgvStudent.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.False;
  103. this.dgvStudent.Size = new System.Drawing.Size(466, 432);
  104. this.dgvStudent.TabIndex = 1;
  105. this.dgvStudent.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvStudent_CellContentClick);
  106. //
  107. // 任务名称
  108. //
  109. this.任务名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  110. this.任务名称.DataPropertyName = "name";
  111. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  112. dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F);
  113. this.任务名称.DefaultCellStyle = dataGridViewCellStyle3;
  114. this.任务名称.HeaderText = "任务名称";
  115. this.任务名称.Name = "任务名称";
  116. //
  117. // 操作
  118. //
  119. this.操作.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  120. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  121. dataGridViewCellStyle4.BackColor = System.Drawing.Color.DarkSeaGreen;
  122. dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  123. dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Transparent;
  124. dataGridViewCellStyle4.NullValue = "查看详情";
  125. dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.Transparent;
  126. dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Transparent;
  127. this.操作.DefaultCellStyle = dataGridViewCellStyle4;
  128. this.操作.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  129. this.操作.HeaderText = "操作";
  130. this.操作.Name = "操作";
  131. this.操作.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  132. this.操作.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  133. this.操作.Text = "";
  134. //
  135. // StudentTree
  136. //
  137. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  138. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  139. this.Controls.Add(this.tableLayoutPanel1);
  140. this.Name = "StudentTree";
  141. this.Size = new System.Drawing.Size(674, 438);
  142. this.Load += new System.EventHandler(this.StudentTree_Load);
  143. this.tableLayoutPanel1.ResumeLayout(false);
  144. ((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).EndInit();
  145. this.ResumeLayout(false);
  146. }
  147. #endregion
  148. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  149. private System.Windows.Forms.TreeView StudenTree;
  150. private System.Windows.Forms.DataGridView dgvStudent;
  151. private System.Windows.Forms.DataGridViewTextBoxColumn 任务名称;
  152. private System.Windows.Forms.DataGridViewButtonColumn 操作;
  153. }
  154. }