Merge branch 'master' of https://bitbucket.org/theorangeone/saviour-backup-system
This commit is contained in:
commit
2c0ddab431
2 changed files with 21 additions and 1 deletions
|
@ -257,6 +257,7 @@
|
|||
this.previousBackupInput.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.previousBackupInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.previousBackupInput.Location = new System.Drawing.Point(471, 103);
|
||||
this.previousBackupInput.MaxValue = 999;
|
||||
this.previousBackupInput.MinValue = -1;
|
||||
this.previousBackupInput.Name = "previousBackupInput";
|
||||
this.previousBackupInput.ShowUpDown = true;
|
||||
|
|
|
@ -19,10 +19,29 @@ namespace Saviour_Backup_System
|
|||
{
|
||||
InitializeComponent();
|
||||
populateDropdown();
|
||||
defaultText = introTextBox.Text; //stores it so we can append to the end at runtime
|
||||
assignToolTips();
|
||||
this.Size = new Size(583, 299);
|
||||
}
|
||||
|
||||
private void assignToolTips() {
|
||||
ToolTip tempTip = new ToolTip();
|
||||
tempTip.AutoPopDelay = 5000;
|
||||
tempTip.InitialDelay = 1000;
|
||||
tempTip.ReshowDelay = 500;
|
||||
tempTip.ShowAlways = true;
|
||||
|
||||
//huge list of tooltips to use!
|
||||
tempTip.SetToolTip(this.backupNameInput, "Name the backup\nAn easy name for the backup, or even a description.");
|
||||
tempTip.SetToolTip(this.drivesDropdown, "Select the drive\nWhich drive would you like to backup?");
|
||||
tempTip.SetToolTip(this.compressionTypeDropdown, "Compression?\nWould you like to compress the backup to save space on your computer?");
|
||||
tempTip.SetToolTip(this.previousBackupInput, "Previous backups\nHow many past backups would you like to store, enter -1 for all");
|
||||
tempTip.SetToolTip(this.insertionSwitch, "Automated\nWould you like to backup the drive as soon as it is inserted to the computer?");
|
||||
tempTip.SetToolTip(this.unifiedFileSwitch, "Single File\nWould you like to store the backup in a single file?");
|
||||
tempTip.SetToolTip(this.folderPath, "Location\nWhere would you like to store the backup?");
|
||||
tempTip.SetToolTip(this.createButton, "Let's Go!\nClick to create the backup record, this can take a few seconds to run.");
|
||||
tempTip.SetToolTip(this.directoryBrowseButton, "Where?\nClick here to browse your computer to find where to store the backup.");
|
||||
}
|
||||
|
||||
private void directoryBrowseButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
|
||||
|
|
Reference in a new issue