상태 표시줄 컨트롤 제거
.NET 5부터 일부 Windows Forms 컨트롤을 더 이상 사용할 수 없습니다.
변경 내용 설명
.NET 5부터 상태 표시줄 관련 Windows Forms 컨트롤 중 일부를 더 이상 사용할 수 없습니다. 향상된 디자인 및 지원을 제공하는 대체 컨트롤이 .NET Framework 2.0에 도입되었습니다. 사용되지 않는 컨트롤은 이전에 디자이너 도구 상자에서 제거되었지만, 여전히 사용할 수 있습니다. 이제 완전히 제거되었습니다.
다음 형식은 더 이상 사용할 수 없습니다.
StatusBar
StatusBarDrawItemEventArgs
StatusBarDrawItemEventHandler
StatusBarPanel
StatusBarPanelAutoSize
StatusBarPanelBorderStyle
StatusBarPanelClickEventArgs
StatusBarPanelClickEventHandler
StatusBarPanelStyle
도입된 버전
5.0
권장 조치
이러한 컨트롤 및 해당 시나리오에 대한 대체 API로 이동합니다.
이전 컨트롤(API) | 권장 대체 |
---|---|
StatusBar | StatusStrip |
StatusBarPanel | ToolStripStatusLabel |
영향을 받는 API
- System.Windows.Forms.StatusBar
- System.Windows.Forms.StatusBarDrawItemEventArgs
- System.Windows.Forms.StatusBarDrawItemEventHandler
- System.Windows.Forms.StatusBarPanel
- System.Windows.Forms.StatusBarPanelAutoSize
- System.Windows.Forms.StatusBarPanelBorderStyle
- System.Windows.Forms.StatusBarPanelClickEventArgs
- System.Windows.Forms.StatusBarPanelClickEventHandler
- System.Windows.Forms.StatusBarPanelStyle
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET