ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/FloatingDataTypeConverter.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/FloatingDataTypeConverter.cs (file contents):
Revision 222 by william, Sat Jun 2 12:05:01 2012 UTC vs.
Revision 223 by william, Sat Jun 2 13:20:13 2012 UTC

--- trunk/RomCheater/Docking/FloatingDataTypeConverter.cs	2012/06/02 12:05:01	222
+++ trunk/RomCheater/Docking/FloatingDataTypeConverter.cs	2012/06/02 13:20:13	223
@@ -15,11 +15,37 @@ namespace RomCheater.Docking
         public FloatingDataTypeConverter()
         {
             InitializeComponent();
+            chkhexadecimal.Checked = true;
         }
 
         private void chkBinary_CheckedChanged(object sender, EventArgs e)
         {
+            // binary input
+            txtInput.InputType = MultiNumericBox_InputType.Binary;
+        }
+
+        private void chkdecimal_CheckedChanged(object sender, EventArgs e)
+        {
+            // decimal input
+            txtInput.InputType = MultiNumericBox_InputType.Decimal;
+        }
 
+        private void chkhexadecimal_CheckedChanged(object sender, EventArgs e)
+        {
+            // hex input
+            txtInput.InputType = MultiNumericBox_InputType.Hex;
+        }
+
+        private void chkoctal_CheckedChanged(object sender, EventArgs e)
+        {
+            // octal input
+            txtInput.InputType = MultiNumericBox_InputType.Octal;
+        }
+
+        private void chkieee754float_CheckedChanged(object sender, EventArgs e)
+        {
+            // IEEE754 Hex Float (hex)
+            txtInput.InputType = MultiNumericBox_InputType.IEEE754HexFloat;
         }
     }
 }