Wizard.OnFinishButtonClick メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Wizard.OnFinishButtonClick メソッドの意味・解説 

Wizard.OnFinishButtonClick メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

FinishButtonClick イベント発生させます

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

Protected Overridable Sub
 OnFinishButtonClick ( _
    e As WizardNavigationEventArgs _
)
Dim e As WizardNavigationEventArgs

Me.OnFinishButtonClick(e)
protected virtual void OnFinishButtonClick
 (
    WizardNavigationEventArgs e
)
protected:
virtual void OnFinishButtonClick (
    WizardNavigationEventArgs^ e
)
protected void OnFinishButtonClick (
    WizardNavigationEventArgs e
)
protected function OnFinishButtonClick (
    e : WizardNavigationEventArgs
)

パラメータ

e

イベント データ格納している WizardNavigationEventArgs。

解説解説
使用例使用例

FinishButtonClick イベントイベント ハンドラ指定する方法次のコード例示します。[完了] ボタンクリックされると、Label1確認メッセージ書き込まれLabel1.Visible プロパティtrue設定されて、メッセージステップ表示されます。

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  Sub OnFinishButtonClick(ByVal sender As
 Object, ByVal e As WizardNavigationEventArgs)
    ' When the Finish button is clicked, write a confirmation
    ' that the wizard was completed to Label1, and make it visible.
    Label1.Text = "The wizard has been completed."
    Label1.Visible = True
  End Sub

</script>

<html  >
  <body>
    <form id="form1" runat="server">
  
      <asp:Wizard id="Wizard1" 
        runat="server" 
        onfinishbuttonclick="OnFinishButtonClick">
        <WizardSteps>
          <asp:WizardStep id="WizardStep1" 
            title="Step 1" 
            runat="server">
          </asp:WizardStep>
          <asp:WizardStep id="WizardStep2" 
            title="Step 2" 
            runat="server">
          </asp:WizardStep>
        </WizardSteps>
        <HeaderTemplate>
          <b>FinishButtonClick Example</b>
        </HeaderTemplate>
      </asp:Wizard>
      <asp:Label id="Label1" 
        runat="Server" 
        visible="False" />
    </form>
  </body>
</html>
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  void OnFinishButtonClick(object sender, WizardNavigationEventArgs
 e)
  {
    // When the Finish button is clicked, write a confirmation
    // that the wizard was completed to Label1, and make it visible.
    Label1.Text = "The wizard has been completed.";
    Label1.Visible = true;
  }

</script>

<html  >
  <body>
    <form id="form1" runat="server">  
      <asp:Wizard id="Wizard1" 
        runat="server" 
        onfinishbuttonclick="OnFinishButtonClick">
        <WizardSteps>
          <asp:WizardStep id="WizardStep1" 
            title="Step 1" 
            runat="server">
          </asp:WizardStep>
          <asp:WizardStep id="WizardStep2" 
            title="Step 2" 
            runat="server">
          </asp:WizardStep>
        </WizardSteps>
        <HeaderTemplate>
          <b>FinishButtonClick Example</b>
        </HeaderTemplate>
      </asp:Wizard>
      <asp:Label id="Label1" 
        runat="Server" 
        visible="False" />
    </form>
  </body>
</html>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からWizard.OnFinishButtonClick メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からWizard.OnFinishButtonClick メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からWizard.OnFinishButtonClick メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Wizard.OnFinishButtonClick メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Wizard.OnFinishButtonClick メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS