diff --git a/MAXIMUM_FUNCTION_PROGRAM/mainForm.Designer.vb b/MAXIMUM_FUNCTION_PROGRAM/mainForm.Designer.vb index 6f14d9b..f979fc1 100644 --- a/MAXIMUM_FUNCTION_PROGRAM/mainForm.Designer.vb +++ b/MAXIMUM_FUNCTION_PROGRAM/mainForm.Designer.vb @@ -871,6 +871,7 @@ Partial Class mainForm Me.pnProdSerial.Controls.Add(Me.btnSearch) Me.pnProdSerial.Controls.Add(Me.txbProdSerial) Me.pnProdSerial.Controls.Add(Me.lbProdSerial) + Me.pnProdSerial.ImeMode = System.Windows.Forms.ImeMode.Disable Me.pnProdSerial.Location = New System.Drawing.Point(10, 85) Me.pnProdSerial.Name = "pnProdSerial" Me.pnProdSerial.Size = New System.Drawing.Size(1900, 155) @@ -889,6 +890,7 @@ Partial Class mainForm 'txbProdSerial ' Me.txbProdSerial.Font = New System.Drawing.Font("함초롬바탕", 71.99999!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) + Me.txbProdSerial.ImeMode = System.Windows.Forms.ImeMode.Disable Me.txbProdSerial.Location = New System.Drawing.Point(565, 20) Me.txbProdSerial.Name = "txbProdSerial" Me.txbProdSerial.Size = New System.Drawing.Size(870, 132) diff --git a/MAXIMUM_FUNCTION_PROGRAM/mainForm.vb b/MAXIMUM_FUNCTION_PROGRAM/mainForm.vb index 9fb8b6f..40f0e60 100644 --- a/MAXIMUM_FUNCTION_PROGRAM/mainForm.vb +++ b/MAXIMUM_FUNCTION_PROGRAM/mainForm.vb @@ -303,7 +303,7 @@ Public Class mainForm Private Sub startSetting() Const programName As String = "MAXIMUM FUNCTION DATA INFO VER." - Const programVer As String = "1.1.7" + Const programVer As String = "2.0.0" Me.Text = programName & programVer Me.Size = New Size(1920, 1060) Me.Location = New Point(0, 0) @@ -2395,12 +2395,6 @@ WR_File_Error: txbProdSerial.Focus() End Sub - Private Sub txbProdSerial_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txbProdSerial.KeyPress - If Not Char.IsDigit(e.KeyChar) And Not Char.IsControl(e.KeyChar) Then - e.Handled = True - End If - End Sub - Private Sub txbopFW_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txbopFW.KeyPress, txbOpFreq_RgMax.KeyPress, txbOpFreq_RgMin.KeyPress, txbopBat_RgMax.KeyPress, txbopBat_RgMin.KeyPress, txbopDiv_TpMax.KeyPress, txbopDiv_TpMin.KeyPress, txbopCt_TpMax.KeyPress, txbopCt_TpMin.KeyPress, txbopHF1_TpMax.KeyPress, txbopHF1_TpMin.KeyPress, txbopHF2_TpMax.KeyPress, txbopHF2_TpMin.KeyPress, txbopHF3_TpMax.KeyPress, txbopHF3_TpMin.KeyPress, txbopHF12_Tp.KeyPress, txbopHF23_Tp.KeyPress, txboptg1_FrMax.KeyPress, txboptg1_FrMin.KeyPress, txboptg1_VrMax.KeyPress, txboptg1_VrMin.KeyPress, txboptg2_FrMax.KeyPress, txboptg2_FrMin.KeyPress, txboptg2_VrMax.KeyPress, txboptg2_VrMin.KeyPress, txboptg3_FrMax.KeyPress, txboptg3_FrMin.KeyPress, txboptg3_VrMax.KeyPress, txboptg3_VrMin.KeyPress, txbopdy1_DtMax.KeyPress, txbopdy1_DtMin.KeyPress, txbopdy1_FrMax.KeyPress, txbopdy1_FrMin.KeyPress, txbopdy1_VpMax.KeyPress, txbopdy1_VpMin.KeyPress, txbopdy2_DtMax.KeyPress, txbopdy2_DtMin.KeyPress, txbopdy2_FrMax.KeyPress, txbopdy2_FrMin.KeyPress, txbopdy2_VpMax.KeyPress, txbopdy2_VpMin.KeyPress, txbopcs1_DyRg.KeyPress, txbopcs1_FrMax.KeyPress, txbopcs1_FrMin.KeyPress, txbopcs1_VpMax.KeyPress, txbopcs1_VpMin.KeyPress, txbopcs2_DyRg.KeyPress, txbopcs2_FrMax.KeyPress, txbopcs2_FrMin.KeyPress, txbopcs2_VpMax.KeyPress, txbopcs2_VpMin.KeyPress, txbopcs3_DyRg.KeyPress, txbopcs3_FrMax.KeyPress, txbopcs3_FrMin.KeyPress, txbopcs3_VpMax.KeyPress, txbopcs3_VpMin.KeyPress If Not Char.IsDigit(e.KeyChar) And Not Char.IsControl(e.KeyChar) And Not e.KeyChar = "." Then e.Handled = True