OSDN Git Service

MaskedTextBoxの使用を中止,TextBoxに戻す master
authorkimikage <kimikage_ceo@hotmail.com>
Mon, 10 Jan 2011 06:13:01 +0000 (15:13 +0900)
committerkimikage <kimikage_ceo@hotmail.com>
Mon, 10 Jan 2011 06:13:01 +0000 (15:13 +0900)
Fugashi/Fugashi.csproj
Fugashi/MainForm.Designer.cs
Fugashi/MainForm.cs

index 7f59e84..fb2fc6f 100755 (executable)
@@ -41,7 +41,8 @@
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <DebugType></DebugType>\r
+    <DebugType>\r
+    </DebugType>\r
     <Optimize>true</Optimize>\r
     <OutputPath>bin\Release\</OutputPath>\r
     <DefineConstants>\r
@@ -51,7 +52,8 @@
     <UseVSHostingProcess>false</UseVSHostingProcess>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">\r
-    <DebugType></DebugType>\r
+    <DebugType>\r
+    </DebugType>\r
     <Optimize>true</Optimize>\r
     <OutputPath>bin\Release\</OutputPath>\r
     <DefineConstants>TRACE</DefineConstants>\r
index 63e9aa6..10b6f12 100755 (executable)
@@ -47,8 +47,8 @@ namespace Fugashi
             this.radio4B = new System.Windows.Forms.RadioButton();\r
             this.radio2B = new System.Windows.Forms.RadioButton();\r
             this.radio1B = new System.Windows.Forms.RadioButton();\r
-            this.textValue = new System.Windows.Forms.MaskedTextBox();\r
-            this.textHex = new System.Windows.Forms.MaskedTextBox();\r
+            this.textValue = new System.Windows.Forms.TextBox();\r
+            this.textHex = new System.Windows.Forms.TextBox();\r
             this.buttonLsh = new System.Windows.Forms.Button();\r
             this.buttonRsh = new System.Windows.Forms.Button();\r
             this.buttonInc = new System.Windows.Forms.Button();\r
@@ -217,7 +217,6 @@ namespace Fugashi
             // \r
             // textValue\r
             // \r
-            this.textValue.AsciiOnly = true;\r
             this.textValue.Font = new System.Drawing.Font("MS UI Gothic", 10.01739F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));\r
             this.textValue.ImeMode = System.Windows.Forms.ImeMode.Disable;\r
             this.textValue.Location = new System.Drawing.Point(57, 33);\r
@@ -230,7 +229,6 @@ namespace Fugashi
             // \r
             // textHex\r
             // \r
-            this.textHex.AsciiOnly = true;\r
             this.textHex.Font = new System.Drawing.Font("MS UI Gothic", 10.01739F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));\r
             this.textHex.ImeMode = System.Windows.Forms.ImeMode.Disable;\r
             this.textHex.Location = new System.Drawing.Point(57, 64);\r
@@ -616,8 +614,8 @@ namespace Fugashi
         private System.Windows.Forms.RadioButton radio4B;\r
         private System.Windows.Forms.RadioButton radio2B;\r
         private System.Windows.Forms.RadioButton radio1B;\r
-        private System.Windows.Forms.MaskedTextBox textValue;\r
-        private System.Windows.Forms.MaskedTextBox textHex;\r
+        private System.Windows.Forms.TextBox textValue;\r
+        private System.Windows.Forms.TextBox textHex;\r
         private System.Windows.Forms.Label labelValue;\r
         private System.Windows.Forms.Label labelHex;\r
         private BitSwitches4 bits0;\r
index 6854d1a..68dfdaf 100755 (executable)
@@ -353,7 +353,6 @@ namespace Fugashi
             {\r
                 bits[i].IsExponential = isDouble;\r
             }\r
-            textValue.ValidatingType = typeof(Double);\r
         }\r
 \r
         private void SetForInteger()\r
@@ -362,7 +361,6 @@ namespace Fugashi
             {\r
                 bits[i].IsExponential = false;\r
             }\r
-            textValue.ValidatingType = typeof(long);\r
         }\r
 \r
         private byte[] GetBytes()\r