public void OnControlShow( FormControlSwitchType switchType, object userObject )
        {
            if ( switchType == FormControlSwitchType.Next )
            {
                System.Diagnostics.Debug.Assert( userObject is TransferVolumeControlObject && userObject != null );

                mObject = ( TransferVolumeControlObject )userObject;

                mLabel.Text = "WARNING: Contents of drive " + mObject.mNewUsbDrive.DriveId.DriveRootDirectory + " will be deleted! Are you sure?";
            }
        }
        public void OnControlShow(FormControlSwitchType switchType, object userObject)
        {
            if (switchType == FormControlSwitchType.Next)
            {
                System.Diagnostics.Debug.Assert(userObject is TransferVolumeControlObject && userObject != null);

                mObject = ( TransferVolumeControlObject )userObject;

                mLabel.Text = "WARNING: Contents of drive " + mObject.mNewUsbDrive.DriveId.DriveRootDirectory + " will be deleted! Are you sure?";
            }
        }
        public void OnControlShow( FormControlSwitchType switchType, object userObject )
        {
            if ( switchType == FormControlSwitchType.Next )
            {
                System.Diagnostics.Debug.Assert( userObject is TransferVolumeControlObject && userObject != null );

                mObject = ( TransferVolumeControlObject )userObject;

                mLabel.Text = "Click 'Start Format' to delete the contents of " + mObject.mNewUsbDrive.DriveId.DriveRootDirectory;

                mButtonBack.Enabled = true;
                mCancelButton.Enabled = false;
                mButtonNext.Enabled = false;
                mCancelledByUser = false;
                mStartButton.Enabled = true;
            }
        }
Example #4
0
        public void OnControlShow(FormControlSwitchType switchType, object userObject)
        {
            if (switchType == FormControlSwitchType.Next)
            {
                System.Diagnostics.Debug.Assert(userObject is TransferVolumeControlObject && userObject != null);

                mObject = ( TransferVolumeControlObject )userObject;

                mLabel.Text = "Click 'Start Format' to delete the contents of " + mObject.mNewUsbDrive.DriveId.DriveRootDirectory;

                mButtonBack.Enabled   = true;
                mCancelButton.Enabled = false;
                mButtonNext.Enabled   = false;
                mCancelledByUser      = false;
                mStartButton.Enabled  = true;
            }
        }