변화하는 것을 윈도우의 zorder라고합니다. 디자이너 파일에서는 기본적으로 자식 컨트롤이 부모 컨트롤 (또는 폼)에 추가되는 순서입니다. Z-Order of Forms in WinForms을 살펴보면 실제로는 약간의 코드로 개념을 보여줍니다. 더 자세한 정보가 필요하면 알려주세요. 기꺼이 도와 드리겠습니다.
편집
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(214, 100);
this.Controls.Add(this.textBox2); // *********Note the Order
this.Controls.Add(this.textBox1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(214, 100);
this.Controls.Add(this.textBox1); // *********Note the Order
this.Controls.Add(this.textBox2);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
좋아. 나는 형식의 패널 순서에 대해 이야기하고있었습니다. 내 양식의 클래스 파일이나 디자이너 파일에 그런 것을 찾지 못했습니다. –
죄송합니다. zorder라는 이름의 등록 정보가 없습니다. 컨트롤의 zorder는 부모에게 추가되는 순서입니다. – Amleth
문제 없음 Amleth –