/[RomCheater]/trunk/RomCheater/Docking/FloatingDataTypeConverter.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingDataTypeConverter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- 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 @@
         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;
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22