Wizard.FinishButtonClick イベントとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Wizard.FinishButtonClick イベントの意味・解説 

Wizard.FinishButtonClick イベント

メモ : このイベントは、.NET Framework version 2.0新しく追加されたものです。

[完了] ボタンクリックされると発生します

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

Public Event FinishButtonClick As
 WizardNavigationEventHandler
Dim instance As Wizard
Dim handler As WizardNavigationEventHandler

AddHandler instance.FinishButtonClick, handler
public event WizardNavigationEventHandler FinishButtonClick
public:
event WizardNavigationEventHandler^ FinishButtonClick {
    void add (WizardNavigationEventHandler^ value);
    void remove (WizardNavigationEventHandler^ value);
}
/** @event */
public void add_FinishButtonClick (WizardNavigationEventHandler
 value)

/** @event */
public void remove_FinishButtonClick (WizardNavigationEventHandler
 value)
JScript では、イベント使用できますが、新規に宣言することはできません。
解説解説
使用例使用例

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.FinishButtonClick イベントを検索した結果を表示しています。
Weblioに収録されているすべての辞書からWizard.FinishButtonClick イベントを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からWizard.FinishButtonClick イベント を検索

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

辞書ショートカット

すべての辞書の索引

Wizard.FinishButtonClick イベントのお隣キーワード
検索ランキング

   

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



Wizard.FinishButtonClick イベントのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS