Skip to content

Commit

Permalink
edit name. info, add hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynab committed Nov 9, 2022
1 parent 6cd02e3 commit 4d805c7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Rebar Weight/Control/FrmMain.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Rebar Weight/Control/FrmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Public Class FrmMain
Select Case e.KeyCode
Case Space
e.SuppressKeyPress = True
ResetL()
RstL()
Case D0 To D9, NumPad0 To NumPad9
_lock = False
End Select
Expand All @@ -153,7 +153,7 @@ Public Class FrmMain
Dim l = Integer.Parse(str)
_l += l
If _l > L_MAX Then
LimitL()
LmtL()
Else
e.SuppressKeyPress = True
DispRsltL(l)
Expand All @@ -168,7 +168,7 @@ Public Class FrmMain
Dim l = nudL.Value
_l += l
If _l > L_MAX Then
LimitL()
LmtL()
Else
e.SuppressKeyPress = True
DispRsltL(l)
Expand All @@ -178,7 +178,7 @@ Public Class FrmMain
nudL.Value = _l
nudL.Text = String.Format("{0:n0}", _l)
nudL.Select(0, nudL.Text.Length)
SemiResetL()
SemiRstL()
End If
End If
End If
Expand Down Expand Up @@ -224,25 +224,25 @@ Public Class FrmMain
End Sub

' Semi reset L
Private Sub SemiResetL()
Private Sub SemiRstL()
_bending = False
_l = 0
_sL = ""
End Sub

' Reset L
Private Sub ResetL()
Private Sub RstL()
_lock = False
SemiResetL()
SemiRstL()
nudL.ResetText()
End Sub

' Limit L
Private Sub LimitL()
Private Sub LmtL()
lblRsltL.Text = "LIMIT"
lblRsltM.Text = "-----"
lblRsltY.Text = "-----"
ResetL()
RstL()
End Sub
#End Region
End Class
6 changes: 3 additions & 3 deletions Rebar Weight/My Project/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
</resheader>
<data name="app_name" xml:space="preserve">
<value>Rebar Weight</value>
<comment>tến phần mềm</comment>
<comment>tên phần mềm</comment>
</data>
<data name="app_true_name" xml:space="preserve">
<value>鉄筋重量</value>
Expand All @@ -146,14 +146,14 @@
</data>
<data name="link_app" xml:space="preserve">
<value>https://raw.githubusercontent.com/Tynab/Tynab/main/app/Rebar%20Weight</value>
<comment>đường dẫn tải phần mềm trên pastebin</comment>
<comment>đường dẫn tải phần mềm trên server</comment>
</data>
<data name="link_base" xml:space="preserve">
<value>https://www.google.com/</value>
<comment>đường dẫn cơ bản</comment>
</data>
<data name="link_ver" xml:space="preserve">
<value>https://raw.githubusercontent.com/Tynab/Tynab/main/ver/Rebar%20Weight</value>
<comment>đường dẫn kiểm tra phiên bản trên pastebin</comment>
<comment>đường dẫn kiểm tra phiên bản trên server</comment>
</data>
</root>

0 comments on commit 4d805c7

Please sign in to comment.