19/09/2020 Event Handling in Windows Forms Wizard Control control | Syncfusion

19/09/2020 Event Handling in Windows Forms Wizard Control control | Syncfusion https://help.syncfusion.com/windowsforms/wizard-control/event-handling 1/3 Gestion des événements dans le contrôle de l'Assistant Windows Forms (Assistant) Cette section comprend les événements ci-dessous: Événements de contrôle de l'assistant Les événements disponibles pour le contrôle Wizard et les méthodes qui déclenchent ces événements sont répertoriés dans les tableaux ci-dessous. Arrière (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.Wizard.html) Prochain (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.Wizard.html) Annuler (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) terminer (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) Aidez-moi (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) BannerControlLocationChanging (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) BeforePageSelect (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.Wizard.html) AvantRetour (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) AvantFinition (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) AvantSuivant (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) Page précédente (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.Wizard.html#Syncfusion_Windo Page suivante (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.Wizard.html#Syncfusion_Windo BannerControlLocationChanging, événement Ce BannerControlLocationChanging (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html) événement est discuté dans Comment annuler la mise en page automatique des commandes du panneau Bannière. Événements de la page de l'assistant Les événements disponibles pour la page de l'assistant et les méthodes qui déclenchent ces événements sont répertoriés dans les tableaux ci-dessous. RetourCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) SuivantCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) AnnulerCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) TerminerCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) AideCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) PageLoad (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardPage.html) ValidatePage SfScrollFrame SfSmithChart SfToolTip SkinManager Sparkline SpellCheckerAdv Éclaboussure SplashPanel SplitButton SplitContainerAdv Splitter Tableur StatusBarAdv StatusBarAdvPanel StatusStripEx TabbedMDI TabControlAdv TabSplitterContainer TextBoxExt TileLayout Bouton à bascule TrackBarEx TreeMap TreeNavigator TreeView sorcier XlsIO XPTaskBar XPTaskPane XPToolbar ButtonAdv (classique) ComboBoxAdv (classique) ComboBoxAutoComplete (Classique) DateTimePickerAdv (classique) GridDataBoundGrid (classique) Aperçu (/windowsforms/wizard- control/overview) Commencer (/windowsforms/wizard- control/getting-started) Paramètres de la bannière (/windowsforms/wizard- control/banner- settings) Paramètres de la page de l'assistant (/windowsforms/wizard- control/wizard-page- settings) Parcourir les boutons (/windowsforms/wizard- control/browse- buttons) Caractéristiques de DesignTime (/windowsforms/wizard- control/designtime- features) Apparence du contrôle de l'assistant (/windowsforms/wizard- control/wizard-control- appearance) Gestion des événements (/windowsforms/wizard- control/event-handling) Questions fréquemment posées  (/) / WinForms (/Windowsforms/) / Contrôle De L'assistant (/…  PDF (/download guide/pdf/ 19/09/2020 Event Handling in Windows Forms Wizard Control control | Syncfusion https://help.syncfusion.com/windowsforms/wizard-control/event-handling 2/3  (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html) SettingChanged (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardPage.html) RaiseBackClick (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf RaiseNextClick (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf RaiseAnnulerCliquer (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf RaiseFinishClick (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf LeverAideCliquez (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf RaisePageLoad (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardPage.html#Syncfusion_W RaiseValidatePage (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControlPage.html#Syncf Événement ValidatePage Les pages WizardControl peuvent être validées à l'aide de l' événement ValidatePage (%5BValidatePage%5D(https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardContro . Dans ce cas, la validation des données peut être effectuée et le passage à la page suivante peut être annulé, si la validation échoue. Si l'utilisateur ne souhaite pas valider une page tout en revenant en arrière (en appuyant sur BackButton), cela peut être fait en définissant la propriété BackButtonCausesValidation (https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.WizardControl.html#Syncfusion_Win sur false . // Handling ValidatePage Event private void wizardControlPage2_ValidatePage(object sender, System.ComponentModel.CancelEventArgs e) { if(this.textBox1.Text == String.Empty) { MessageBox.Show("Text cannot be empty.","Data Needed",MessageBoxButtons.OK,MessageBoxIcon.Warning); e.Cancel = true; this.textBox1.Focus(); } else if(this.textBox1.Text != "Next") { MessageBox.Show("Correct Value needed.","Incorrect value",MessageBoxButtons.OK,MessageBoxIcon.Warning); e.Cancel = true; this.textBox1.Text = ""; this.textBox1.Focus(); } } C # VB.NET SfScrollFrame SfSmithChart SfToolTip SkinManager Sparkline SpellCheckerAdv Éclaboussure SplashPanel SplitButton SplitContainerAdv Splitter Tableur StatusBarAdv StatusBarAdvPanel StatusStripEx TabbedMDI TabControlAdv TabSplitterContainer TextBoxExt TileLayout Bouton à bascule TrackBarEx TreeMap TreeNavigator TreeView sorcier XlsIO XPTaskBar XPTaskPane XPToolbar ButtonAdv (classique) ComboBoxAdv (classique) ComboBoxAutoComplete (Classique) DateTimePickerAdv (classique) GridDataBoundGrid (classique) Aperçu (/windowsforms/wizard- control/overview) Commencer (/windowsforms/wizard- control/getting-started) Paramètres de la bannière (/windowsforms/wizard- control/banner- settings) Paramètres de la page de l'assistant (/windowsforms/wizard- control/wizard-page- settings) Parcourir les boutons (/windowsforms/wizard- control/browse- buttons) Caractéristiques de DesignTime (/windowsforms/wizard- control/designtime- features) Apparence du contrôle de l'assistant (/windowsforms/wizard- control/wizard-control- appearance) Gestion des événements (/windowsforms/wizard- control/event-handling) Questions fréquemment posées  (/) / WinForms (/Windowsforms/) / Contrôle De L'assistant (/…  PDF (/download guide/pdf/ 19/09/2020 Event Handling in Windows Forms Wizard Control control | Syncfusion https://help.syncfusion.com/windowsforms/wizard-control/event-handling 3/3 Cette page vous a été utile? Oui non Copyright © 2001 - 2020 Syncfusion Inc. Tous droits réservés (https://www.syncfusion.com/copyright) SfScrollFrame SfSmithChart SfToolTip SkinManager Sparkline SpellCheckerAdv Éclaboussure SplashPanel SplitButton SplitContainerAdv Splitter Tableur StatusBarAdv StatusBarAdvPanel StatusStripEx TabbedMDI TabControlAdv TabSplitterContainer TextBoxExt TileLayout Bouton à bascule TrackBarEx TreeMap TreeNavigator TreeView sorcier XlsIO XPTaskBar XPTaskPane XPToolbar ButtonAdv (classique) ComboBoxAdv (classique) ComboBoxAutoComplete (Classique) DateTimePickerAdv (classique) GridDataBoundGrid (classique) Aperçu (/windowsforms/wizard- control/overview) Commencer (/windowsforms/wizard- control/getting-started) Paramètres de la bannière (/windowsforms/wizard- control/banner- settings) Paramètres de la page de l'assistant (/windowsforms/wizard- control/wizard-page- settings) Parcourir les boutons (/windowsforms/wizard- control/browse- buttons) Caractéristiques de DesignTime (/windowsforms/wizard- control/designtime- features) Apparence du contrôle de l'assistant (/windowsforms/wizard- control/wizard-control- appearance) Gestion des événements (/windowsforms/wizard- control/event-handling) Questions fréquemment posées  (/) / WinForms (/Windowsforms/) / Contrôle De L'assistant (/…  PDF (/download guide/pdf/ uploads/Litterature/ gestion-des-evenements-dans-le-controle-de-l-x27-assistant-windows-forms-assistant.pdf

  • 19
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager