파워쉘 레이블1 Label - Powershell GUI Winform에서 글자들을 표시할 때 사용되는 컨트롤 클래스 이름 : System.Windows.Forms.Label 기본 사용방법 Add-Type -AssemblyName System.windows.Forms $form= New-Object System.Windows.Forms.Form $form.Size = '200,100' $lbl = New-Object System.Windows.Forms.Label # Label 객체 생성 $lbl.Location = '10,10' # 가로 10, 세로 10 위치 $lbl.Text = 'Hello' # Text속성에 'Hello' 문자열 입력 $form.Controls.Add($lbl) $form.ShowDialog() 색깔 변경 방법 글자의 색(ForeColo.. 2024. 3. 19. 이전 1 다음