//-------------------------------------------------------------------------------- /// <summary> /// Determines if the specified state has the Enabled flag turned on /// </summary> /// <param name="state">The state to be checked</param> /// <returns>True if the Enabled flag is turned on</returns> public bool PageIsEnabled(WizardButtonState state) { return((state & WizardButtonState.Enabled) == WizardButtonState.Enabled); }
public bool PageIsEnabled(WizardButtonState state) { return (state & WizardButtonState.Enabled) == WizardButtonState.Enabled; }
//-------------------------------------------------------------------------------- /// <summary> /// Determines if the specified state has the Visible flag turned on /// </summary> /// <param name="state">The state to be checked</param> /// <returns>True if the Visible flag is turned on</returns> public bool PageIsVisible(WizardButtonState state) { return((state & WizardButtonState.Visible) == WizardButtonState.Visible); }
public bool PageIsVisible(WizardButtonState state) { return (state & WizardButtonState.Visible) == WizardButtonState.Visible; }