![[C#] 19일차 - 133. flag를 이용한 이벤트 처리](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FSn1wB%2FbtqXSohOveo%2FUyjYKNpKj0xL9cxZjqKAfK%2Fimg.png)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace A133_Flag { public partial class Form1 : Form { private bool flag; // 디폴트는 false public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs..
![[C#] 18일차 - 132. 레이블에서 여러 줄의 문자열 표시](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbftT78%2FbtqXFgrXpiu%2FDfg3Breew5V7mYyqnkKSM1%2Fimg.png)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace A132_Label { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { label1.Text = ""; label2.Text..
![[C#] 18일차 - 131. 텍스트박스, 레이블, 버튼 컨트롤](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbuU26N%2FbtqXDff3soE%2FcdStFJ5w4LhVkAo0tLed01%2Fimg.png)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace A131_BasicControls { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { if (textBox1.Text ..
![[C#] 18일차 - 130. 메시지박스](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fdl2jL8%2FbtqXMdU0tIN%2FytkqhA9WQ85DEZGzStw92k%2Fimg.png)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace A130_MessageBox { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // (1) 간단한 메세지 박스 띄우기 Me..
1. 폼 클래스의 속성(프로퍼티) 속성명 자료형 설명 ClientSize Size 폼의 경계와 타이틀바를 제외한 영역의 크기 Text String 타이틀 바에 표시되는 글자 FormBorderStyle FormBorderStyle 폼의 테두리 모양 StartPosition FormStartPosition 폼이 처음 나타나는 위치 속성은 디자이너의 속성창에서 설정하거나 다음과 같이 코드에서 설정할 수 있습니다. this.ClientSize = new Size(500,500); this.Text = "폼 클래스"; this.FormBorderStyle = FormBorderStyle.Fixed3D; this.StartPosition = FormStartPosition.CenterParent; 2. 폼 클래스..