# HG changeset patch # User StephaneLenclud # Date 1441202544 -7200 # Node ID 95f253aaf5886e6ab4fa25609699df2606acaba8 # Parent 03a1757a38df23c39ec5c709a1e08127cd8c851b Persisting selection of optical drive to eject. diff -r 03a1757a38df -r 95f253aaf588 Server/App.config --- a/Server/App.config Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/App.config Wed Sep 02 16:02:24 2015 +0200 @@ -28,6 +28,9 @@ None + + None + diff -r 03a1757a38df -r 95f253aaf588 Server/MainForm.Designer.cs --- a/Server/MainForm.Designer.cs Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/MainForm.Designer.cs Wed Sep 02 16:02:24 2015 +0200 @@ -91,6 +91,8 @@ this.checkBoxMute = new System.Windows.Forms.CheckBox(); this.trackBarMasterVolume = new System.Windows.Forms.TrackBar(); this.tabPageInput = new System.Windows.Forms.TabPage(); + this.comboBoxOpticalDrives = new System.Windows.Forms.ComboBox(); + this.labelOpticalDriveEject = new System.Windows.Forms.Label(); this.pictureBoxGreenStart = new System.Windows.Forms.PictureBox(); this.labelStartFileName = new System.Windows.Forms.Label(); this.buttonSelectFile = new System.Windows.Forms.Button(); @@ -104,8 +106,6 @@ this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.pictureBoxDemo = new System.Windows.Forms.PictureBox(); - this.labelOpticalDriveEject = new System.Windows.Forms.Label(); - this.comboBoxOpticalDrives = new System.Windows.Forms.ComboBox(); this.panelDisplay.SuspendLayout(); this.tableLayoutPanel.SuspendLayout(); this.statusStrip.SuspendLayout(); @@ -718,6 +718,25 @@ this.tabPageInput.Text = "Input"; this.tabPageInput.UseVisualStyleBackColor = true; // + // comboBoxOpticalDrives + // + this.comboBoxOpticalDrives.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxOpticalDrives.FormattingEnabled = true; + this.comboBoxOpticalDrives.Location = new System.Drawing.Point(113, 53); + this.comboBoxOpticalDrives.Name = "comboBoxOpticalDrives"; + this.comboBoxOpticalDrives.Size = new System.Drawing.Size(55, 21); + this.comboBoxOpticalDrives.TabIndex = 18; + this.comboBoxOpticalDrives.SelectedIndexChanged += new System.EventHandler(this.comboBoxOpticalDrives_SelectedIndexChanged); + // + // labelOpticalDriveEject + // + this.labelOpticalDriveEject.AutoSize = true; + this.labelOpticalDriveEject.Location = new System.Drawing.Point(0, 56); + this.labelOpticalDriveEject.Name = "labelOpticalDriveEject"; + this.labelOpticalDriveEject.Size = new System.Drawing.Size(107, 13); + this.labelOpticalDriveEject.TabIndex = 3; + this.labelOpticalDriveEject.Text = "Optical drive to eject:"; + // // pictureBoxGreenStart // this.pictureBoxGreenStart.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxGreenStart.Image"))); @@ -837,24 +856,6 @@ this.pictureBoxDemo.TabIndex = 21; this.pictureBoxDemo.TabStop = false; // - // labelOpticalDriveEject - // - this.labelOpticalDriveEject.AutoSize = true; - this.labelOpticalDriveEject.Location = new System.Drawing.Point(0, 56); - this.labelOpticalDriveEject.Name = "labelOpticalDriveEject"; - this.labelOpticalDriveEject.Size = new System.Drawing.Size(107, 13); - this.labelOpticalDriveEject.TabIndex = 3; - this.labelOpticalDriveEject.Text = "Optical drive to eject:"; - // - // comboBoxOpticalDrives - // - this.comboBoxOpticalDrives.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxOpticalDrives.FormattingEnabled = true; - this.comboBoxOpticalDrives.Location = new System.Drawing.Point(113, 53); - this.comboBoxOpticalDrives.Name = "comboBoxOpticalDrives"; - this.comboBoxOpticalDrives.Size = new System.Drawing.Size(44, 21); - this.comboBoxOpticalDrives.TabIndex = 18; - // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff -r 03a1757a38df -r 95f253aaf588 Server/MainForm.Hid.cs --- a/Server/MainForm.Hid.cs Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/MainForm.Hid.cs Wed Sep 02 16:02:24 2015 +0200 @@ -279,7 +279,15 @@ /// private void HandleEject() { - SafeFileHandle handle = OpenVolume(((MainForm)this).OpticalDriveToEject()); + string drive = ((MainForm)this).OpticalDriveToEject(); + if (drive.Length!=2) + { + //Not a proper drive spec. + //Probably 'None' selected. + return; + } + + SafeFileHandle handle = OpenVolume(drive); if (handle.IsInvalid) { return; diff -r 03a1757a38df -r 95f253aaf588 Server/MainForm.cs --- a/Server/MainForm.cs Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/MainForm.cs Wed Sep 02 16:02:24 2015 +0200 @@ -494,6 +494,7 @@ { //Reset our list of drives comboBoxOpticalDrives.Items.Clear(); + comboBoxOpticalDrives.Items.Add("None"); //Go through each drives on our system and collected the optical ones in our list DriveInfo[] allDrives = DriveInfo.GetDrives(); @@ -507,13 +508,7 @@ //This is an optical drive, add it now comboBoxOpticalDrives.Items.Add(d.Name.Substring(0,2)); } - } - - //Select current drive to eject - if (comboBoxOpticalDrives.Items.Count>0) - { - comboBoxOpticalDrives.SelectedIndex = 0; - } + } } /// @@ -522,7 +517,7 @@ /// public string OpticalDriveToEject() { - return comboBoxOpticalDrives.Items[comboBoxOpticalDrives.SelectedIndex].ToString(); + return comboBoxOpticalDrives.SelectedItem.ToString(); } @@ -1060,6 +1055,31 @@ checkBoxMinimizeToTray.Checked = Properties.Settings.Default.MinimizeToTray; checkBoxStartMinimized.Checked = Properties.Settings.Default.StartMinimized; labelStartFileName.Text = Properties.Settings.Default.StartFileName; + + //Try find our drive in our drive list + int opticalDriveItemIndex=0; + bool driveNotFound = true; + string opticalDriveToEject=Properties.Settings.Default.OpticalDriveToEject; + foreach (object item in comboBoxOpticalDrives.Items) + { + if (opticalDriveToEject.Equals(item.ToString())) + { + comboBoxOpticalDrives.SelectedIndex = opticalDriveItemIndex; + driveNotFound = false; + break; + } + opticalDriveItemIndex++; + } + + if (driveNotFound) + { + //We could not find the drive we had saved. + //Select "None" then. + comboBoxOpticalDrives.SelectedIndex = 0; + } + + + checkBoxReverseScreen.Checked = cds.ReverseScreen; checkBoxInverseColors.Checked = cds.InverseColors; checkBoxShowVolumeLabel.Checked = cds.ShowVolumeLabel; @@ -2139,5 +2159,17 @@ Properties.Settings.Default.Save(); } } + + /// + /// + /// + /// + /// + private void comboBoxOpticalDrives_SelectedIndexChanged(object sender, EventArgs e) + { + //Save the optical drive the user selected for ejection + Properties.Settings.Default.OpticalDriveToEject = comboBoxOpticalDrives.SelectedItem.ToString(); + Properties.Settings.Default.Save(); + } } } diff -r 03a1757a38df -r 95f253aaf588 Server/MainForm.resx --- a/Server/MainForm.resx Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/MainForm.resx Wed Sep 02 16:02:24 2015 +0200 @@ -133,56 +133,57 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAuOSURBVFhHfZYHWFVHGoaPJfjoatRVsBE0dk0iSIkabEBEBIIg1UZHqoKI9HLxIiAgErmICnYR - idgQCSpiiy1GsaMuFtCAolhXMG6y787Bspqwe57nvXfu3Jn/++afckbidch/gf9JHxtJXeAhKBY0Cuhr - p0ZfezXksuB3wX5BsECrpRjv+UDzox8tNRbBhgsytezaMGB6RwY4d0EvoD+OSjNsYo2acRLlUXMHM2B2 - FwbM6CSMfSIbWif4uqWYH2p+9OPPDUWAJFl4iFsXjEN0WJjtTe6eDLYf2kT+gVzy979FlAvLN7KmeDnB - Knd05vRhsGsX+tk3G1kq6PxR7A803xf+/dt/DYgOWn2spZVDnDthFDqC1PxotpWv/1i0Bba8/d74YzZz - M2ai76vJMGFexNrwYTb0Pdp9bEAWb658I/6VLD7CqytuS75j048rWL9XxbrizI/Z+yf+8r+K9SWq5hgj - vLrxmW1r2YjlOwPvTDR//N604L2B3lOlVXo+6nilWbNqVyqqbYlvKEx6w/Yksna0gKh/30a0z3zbL3tn - Cl6p1uj7aaA5rZU8JZ9/ZEAe/ctngc0VwuFyHc+umIV+SeqWKJ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DUUQdiznoR9fNiog4tIve0ktxDPi23o487ST1auOUbkfi06TFOmjfaQ40T1Wnk + n1OQcsqT9PPerLvqRe51D36onk/htXlsr5rHDxdcyKywZnW5JduOz2HPcS9+/EkUouNhbNgrLC60QbF3 + GimXfEi7Gk7S+Qg2nV/G8RuZmC8ZIM9eITg/buFuvaOLQKee30r5M5UjOX93HcVVMeT+LZDC2mD21AdT + 0RDCscYwfnkawelHERy4vYj8ShdWH7IjqdQCZZEpCoGlJRasODqdNZcWsP5WBFnVCvKuxvFz7ToCV01C + 3UTaJbi6vncnfOPCR+KBurqxVBYlduqV+hzKb4gr2M1AykWFO/EomnMvlFS9jKP6t3huCFx+tpRfHoRz + 9Ncg9gtBpbf8Kb4dwE4hurA2nG03Iyi5EUdlXQ5rS7xk8sPte0iD5I3/JwFyQLalYz9JR1hUHr3enprG + An6uSeTgrUCOCRcqH0dz9UUsN39LoPb3RO78kUStwC3RrmqO49wzJcceRlP+ayilN4M5ens51Q/yUe3w + Qv7L/6uBZCs4PvnTrVh2oDUoH40OfSQdUaD2O0TpcaUmn5sNm6msVXLqTgBn65dw6WEYVU8iufYkmmtP + o7n8OIrKB6Gcqgvip5oATt5WcP3eRm7cK8Y7xVRe84PizFuK3O1bef7kwL+LEJ01xcbM6W//sdjRTtxp + KKPhaSk372dx+W4c54XNlbV+nK1ZSGVNEBfvKqm+t5b6xyXUNZaTnOfF4OkdUBsvFYpcAz5E/t4mfO8l + 9fXJaCvQrW0HyUAIKZItnBHzDWuLg/m5ait37h/g781nW3Cv8QinRGzLPgVzl00Qt532iDGlHTUlc5FD + rXXH/zvHfxXwzuloJ2/ONp9Iul11pEi1CVJFLzPprrjNvHjzVizfbF6K2K9i2Y531ZViP+4sjRFjesuz + lovNh4jf5v9vD997jRYbVC5YAn0FBgt8ITBcQEfgyzcxDfHdRZ7x/yJuzf0vc27lpI33P0QAAAAASUVO + RK5CYII= diff -r 03a1757a38df -r 95f253aaf588 Server/Properties/Settings.Designer.cs --- a/Server/Properties/Settings.Designer.cs Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/Properties/Settings.Designer.cs Wed Sep 02 16:02:24 2015 +0200 @@ -105,5 +105,17 @@ this["StartFileName"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("None")] + public string OpticalDriveToEject { + get { + return ((string)(this["OpticalDriveToEject"])); + } + set { + this["OpticalDriveToEject"] = value; + } + } } } diff -r 03a1757a38df -r 95f253aaf588 Server/Properties/Settings.settings --- a/Server/Properties/Settings.settings Wed Sep 02 12:54:07 2015 +0200 +++ b/Server/Properties/Settings.settings Wed Sep 02 16:02:24 2015 +0200 @@ -23,5 +23,8 @@ None + + None + \ No newline at end of file