public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if ( switchType == FormControlSwitchType.Next ) { mObject = ( RestoreVolumesControlObject )userObject; Init(); } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = ( RestoreVolumesControlObject )userObject; Init(); } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if ( switchType == FormControlSwitchType.Start ) { mObject = new RestoreVolumesControlObject(); System.Diagnostics.Debug.Assert( userObject is VolumeDescriptor && userObject != null ); mObject.mVolumeId = ( VolumeDescriptor )userObject; Init(); } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Start) { mObject = new RestoreVolumesControlObject(); System.Diagnostics.Debug.Assert(userObject is VolumeDescriptor && userObject != null); mObject.mVolumeId = ( VolumeDescriptor )userObject; Init(); } }