반응형
1. Form 초기화면 순서 바꾸기
- Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Test1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.Load += Con5_Load;
this.Load += Con4_Load;
this.Load += Con3_Load;
this.Load += Con2_Load;
this.Load += Con1_Load;
// 마지막에 있는 줄의 Form이 실행될 때 초기화면에 보이게 된다. }
}
}
|
cs |
- 초기화면
- Form1.cs
public Form1()
{
InitializeComponent();
this.Load += Con5_Load;
this.Load += Con4_Load;
this.Load += Con2_Load;
this.Load += Con1_Load;
this.Load += Con3_Load;
// 마지막에 있는 줄의 Form이 실행될 때 초기화면에 보이게 된다.
}
|
cs |
- 초기화면
- TabControl에서 다른 Form 띄우기(1)
https://succeeed3256.tistory.com/171
[Winform] TabControl에서 다른 Form 띄우기
1. Winform 초기 화면 2. TabControl 생성 - 화면 왼쪽에 도구 상자를 클릭하면 TabControl이 보입니다. 클릭해서 Form1에 생성시킵니다. - Form1 안에 TabControl이 생성됩니다. 2. 다른 Form 생성 - 화면 위에 프로
succeeed3256.tistory.com
- TabControl에서 다른 Form 띄우기(2)
https://succeeed3256.tistory.com/172
[Winform] TabControl에서 다른 Form 띄우기(2) 및 TabPage 추가
- Winform에서 TabControl은 TabPage가 기본적으로 2개밖에 없기 때문에 TabPage 추가와 Form을 5개 추가해서 띄워 보는 방법을 포스팅하겠습니다. https://succeeed3256.tistory.com/171 [Winform] TabControl에서 다른 Form
succeeed3256.tistory.com
반응형
'Winform' 카테고리의 다른 글
[Winform] TabControl에서 다른 Form 띄우기(2) 및 TabPage 추가 (0) | 2023.02.10 |
---|---|
[Winform] JSON 만들기, TextBox Property(Scrollbars) (0) | 2023.02.03 |
[Winform] TextBox 문자열 기록 (File Read/Write, FormClosed) (2) | 2023.02.02 |
[Winform] TabControl에서 다른 Form 띄우기 (2) | 2023.02.01 |