WebBrowser.StatusTextChanged 이벤트

정의

StatusText 속성 값이 변경되면 발생합니다.

public:
 event EventHandler ^ StatusTextChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler StatusTextChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler? StatusTextChanged;
[<System.ComponentModel.Browsable(false)>]
member this.StatusTextChanged : EventHandler 
Public Custom Event StatusTextChanged As EventHandler 
Public Event StatusTextChanged As EventHandler 

이벤트 유형

특성

예제

다음 코드 예제를 사용 하는 방법을 보여 줍니다.는 처리기를 StatusTextChanged 구현 하는 이벤트와 비슷한 컨트롤에 대 한 WebBrowser 상태 표시줄을 구현 하는 인터넷 Explorer. 이 예제에서는 양식에 라는 컨트롤과 라는 webBrowser1StatusBar1컨트롤이 StatusBar 포함되어 WebBrowser 야 합니다.

전체 코드 예제를 보려면 방법: Windows Forms 애플리케이션에 웹 브라우저 기능 추가합니다.

// Updates StatusBar1 with the current browser status text.
void WebBrowser1_StatusTextChanged( Object^ /*sender*/, System::EventArgs^ /*e*/ )
{
   this->StatusBar1->Text = WebBrowser1->StatusText;
}
// Updates the status bar with the current browser status text.
private void webBrowser1_StatusTextChanged(object sender, EventArgs e)
{
    toolStripStatusLabel1.Text = webBrowser1.StatusText;
}
' Updates the status bar with the current browser status text.
Private Sub webBrowser1_StatusTextChanged( _
    ByVal sender As Object, ByVal e As EventArgs) _
    Handles webBrowser1.StatusTextChanged

    toolStripStatusLabel1.Text = webBrowser1.StatusText

End Sub

설명

속성 값이 변경되면 이 이벤트를 처리하여 상태 막대를 StatusText 업데이트합니다.

이벤트 처리에 대한 자세한 내용은 이벤트 처리 및 발생 을 참조하십시오.

적용 대상

추가 정보