internal override void RestoreFormControlState(FormControlState state) { if (state.Type.Is(Type) && state.Name.Is(Name)) { Value = state.Value; } }
internal override void RestoreFormControlState(FormControlState state) { if (state.Type == Type && state.Name == Name) { Value = state.Value; } }
static internal bool IsWindowsFormsControl(IntPtr hwnd, ref FormControlState state) { if (state == FormControlState.Undeterminate) { state = GetControlState(hwnd); } return(state == FormControlState.True ? true : false); }
/// <summary> /// Resets the form control state to the given state. /// </summary> /// <param name="state">The desired state.</param> internal abstract void RestoreFormControlState(FormControlState state);
/// <summary> /// Resets the form control state to the given state. /// </summary> /// <param name="state">The desired state.</param> internal void RestoreFormControlState(FormControlState state) { }
static internal bool IsWindowsFormsControl(IntPtr hwnd, ref FormControlState state) { if (state == FormControlState.Undeterminate) { state = GetControlState(hwnd); } return state == FormControlState.True ? true : false; }
/// <summary> /// Resets the form control state to the given state. /// </summary> /// <param name="state">The desired state.</param> public void RestoreFormControlState(FormControlState state) { }