public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if ( switchType == FormControlSwitchType.Next ) { mObject = ( AddNewVolumeControlObject )userObject; mBackupToLabel.Text = Config.Active.DefaultRootDataDirectory + PWLib.Platform.Windows.Path.DirectorySeparatorChar + mObject.Name; } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = ( AddNewVolumeControlObject )userObject; mBackupToLabel.Text = Config.Active.DefaultRootDataDirectory + PWLib.Platform.Windows.Path.DirectorySeparatorChar + mObject.Name; } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mTextBox.Text = MainForm.Instance.TakeNameAndMakeItUnique( "New Volume" ); UpdateErrorLabelAndButton(); } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mButtonNext.Enabled = false; mLocalFolderLabel.Text = ""; } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mButtonNext.Enabled = false; mLocalFolderLabel.Text = ""; } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { mObject = (AddNewVolumeControlObject)userObject; if (switchType == FormControlSwitchType.Next) { mLabel.Text = "Creating new volume " + mObject.Name + "\r\n"; mStartBackupNow.Checked = true; } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mUsbDeviceView.RefreshDynamicList(); mButtonNext.Enabled = false; } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mTextBox.Text = MainForm.Instance.TakeNameAndMakeItUnique("New Volume"); UpdateErrorLabelAndButton(); } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Next) { mObject = (AddNewVolumeControlObject)userObject; mUsbDeviceView.RefreshDynamicList(); mButtonNext.Enabled = false; } }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { mObject = (AddNewVolumeControlObject)userObject; if ( switchType == FormControlSwitchType.Next ) { mLabel.Text = "Creating new volume " + mObject.Name + "\r\n"; mStartBackupNow.Checked = true; } }
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) { mRadio1.Checked = true; mRadio2.Checked = false; mButtonNext.Enabled = true; mButtonBack.Enabled = true; } }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { if (switchType == FormControlSwitchType.Start) { mRadio1.Checked = true; mRadio2.Checked = false; mButtonNext.Enabled = true; mButtonBack.Enabled = true; } }
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.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.Start ) //{ // mObject = new TransferVolumeControlObject(); // System.Diagnostics.Debug.Assert( userObject is VolumeIdentifier && userObject != null ); // mObject.mVolumeId = ( VolumeDescriptor )userObject; // mLabel.Text = "Transfer volume '" + mObject.mVolumeId.VolumeName + "' to a new USB device..."; // mTreeView.RefreshDynamicList(); // mButtonNext.Enabled = false; //} }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { //if ( switchType == FormControlSwitchType.Start ) //{ // mObject = new TransferVolumeControlObject(); // System.Diagnostics.Debug.Assert( userObject is VolumeIdentifier && userObject != null ); // mObject.mVolumeId = ( VolumeDescriptor )userObject; // mLabel.Text = "Transfer volume '" + mObject.mVolumeId.VolumeName + "' to a new USB device..."; // mTreeView.RefreshDynamicList(); // mButtonNext.Enabled = false; //} }
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; } }
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; } }
public void SwitchUserControl( FormControlType controlType, FormControlSwitchType switchType, object userObject ) { if ( mDisplayedUserControl != null ) { mDisplayedUserControl.OnControlHide( switchType, userObject ); mDisplayedUserControl.GetControl().Hide(); } if ( mUserControlList.ContainsKey( controlType ) ) mDisplayedUserControl = mUserControlList[ controlType ]; else mDisplayedUserControl = null; if ( mDisplayedUserControl != null ) { mDisplayedUserControl.GetControl().Show(); mDisplayedUserControl.OnControlShow( switchType, userObject ); } }
public void SwitchUserControl(FormControlType controlType, FormControlSwitchType switchType, object userObject) { if (mDisplayedUserControl != null) { mDisplayedUserControl.OnControlHide(switchType, userObject); mDisplayedUserControl.GetControl().Hide(); } if (mUserControlList.ContainsKey(controlType)) { mDisplayedUserControl = mUserControlList[controlType]; } else { mDisplayedUserControl = null; } if (mDisplayedUserControl != null) { mDisplayedUserControl.GetControl().Show(); mDisplayedUserControl.OnControlShow(switchType, userObject); } }
public void OnControlHide( FormControlSwitchType switchType, object userObject ) { }
public void OnControlHide(FormControlSwitchType switchType, object userObject) { }
public void OnControlShow( FormControlSwitchType switchType, object userObject ) { mTreeView.Reset(); }
public void SwitchUserControl(FormControlType controlType, FormControlSwitchType switchType) { SwitchUserControl(controlType, switchType, null); }
public void OnControlShow(FormControlSwitchType switchType, object userObject) { mTreeView.Reset(); }
public void SwitchUserControl( FormControlType controlType, FormControlSwitchType switchType ) { SwitchUserControl( controlType, switchType, null ); }