Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
adefda8
Merge pull request #57 from burnsoftnet/REFACTOR/#20CodeCleanUP
burnsoftnet Mar 22, 2026
2ef3f92
#19 Moved form to Adding Name Space
burnsoftnet Mar 22, 2026
bdf20ae
#19 Updated main for with namespace
burnsoftnet Mar 22, 2026
4d133dc
#19 REFACTOR COde to use library
burnsoftnet Mar 22, 2026
95fbac2
#18 added comments
burnsoftnet Mar 22, 2026
4da3570
#19 Removed Redunant calls
burnsoftnet Mar 22, 2026
e116a60
#19 Removed Redunant calls
burnsoftnet Mar 22, 2026
6abf16d
#19 refactor moved name and form name
burnsoftnet Mar 22, 2026
a657d8c
#19 Added code form library
burnsoftnet Mar 22, 2026
d8ad453
#18 Added Comments
burnsoftnet Mar 22, 2026
4c14740
#19 Removed Redunandt Code
burnsoftnet Mar 22, 2026
a13868a
#19 updated name and namespace
burnsoftnet Mar 22, 2026
16abb6c
#19 added code from library
burnsoftnet Mar 22, 2026
ecda38c
#18 Added Comments
burnsoftnet Mar 22, 2026
50a74db
#19 removed redunant code
burnsoftnet Mar 22, 2026
bf19529
#55 Working on Fixing settings Window
burnsoftnet Mar 22, 2026
1e3bb60
#55 Fixed Settings Window, needs more testing
burnsoftnet Mar 22, 2026
2169bdc
#55 Removed decryption on things that was already decrypted
burnsoftnet Mar 22, 2026
cf4b9d8
#18 Added Commets to login windows
burnsoftnet Mar 22, 2026
aa81b30
#18 Added comments to forgot form
burnsoftnet Mar 22, 2026
987df95
#20 deleted ununesd code
burnsoftnet Mar 22, 2026
34cae1d
#19 updated namespace and name
burnsoftnet Mar 22, 2026
39263fd
#19 updated code form librady #20 also added comments
burnsoftnet Mar 22, 2026
9ba96d9
#19 updated fc function in price
burnsoftnet Mar 22, 2026
b377d87
#19 renamed form and added to namespace
burnsoftnet Mar 22, 2026
e4514b6
#19 updated name and namespace
burnsoftnet Mar 22, 2026
47feaaa
#40 added back to about section
burnsoftnet Mar 24, 2026
73c7182
#40 added back to support docs
burnsoftnet Mar 24, 2026
7cd5098
#40 finished adding back to support docs
burnsoftnet Mar 24, 2026
c6b1eb7
#19 Updated library
burnsoftnet Mar 24, 2026
931a84c
#20 Code Clean up
burnsoftnet Mar 24, 2026
d763918
#20 Removed unused code
burnsoftnet Mar 24, 2026
7a64dee
#19 Updated to use new library
burnsoftnet Mar 24, 2026
0c735d7
#19 updated view calc button
burnsoftnet Mar 24, 2026
d17cb9e
#18 Added Comments
burnsoftnet Mar 24, 2026
766b4fc
#20 removed old code after testing
burnsoftnet Mar 24, 2026
a946728
#18 updated comments
burnsoftnet Mar 24, 2026
00c9024
#19 Updating Main Form
burnsoftnet Mar 24, 2026
cca6a72
#19 REFACTOR Naming
burnsoftnet Mar 24, 2026
91886f8
#19 REFACTOR Shotgun Section UI visibility
burnsoftnet Mar 24, 2026
1583351
#19 removed redunant code
burnsoftnet Mar 24, 2026
abed182
#19 REFACTOR MAIN CODE
burnsoftnet Mar 24, 2026
37d429a
#19 added obsolete markets for future replacement on next library update
burnsoftnet Mar 24, 2026
03f8f7c
#19 Updated function to use library
burnsoftnet Mar 24, 2026
278781f
#19 Added error catching
burnsoftnet Mar 24, 2026
3b00eea
#19 Replace function with one form library
burnsoftnet Mar 25, 2026
b144143
#19 Marked function as obsolete to replace with library function
burnsoftnet Mar 25, 2026
45aa0cb
#19 Marked function as obsolete to replace with library function
burnsoftnet Mar 25, 2026
c86b66d
#19 updated functions and marked as obsolete
burnsoftnet Mar 25, 2026
6a37501
#19 marked more functions as obsolete
burnsoftnet Mar 25, 2026
15ce10b
#19 update library to beta 65
burnsoftnet Mar 25, 2026
1c6ea5d
#19 update library to beta 65
burnsoftnet Mar 25, 2026
544fcf2
#19 updated functions
burnsoftnet Mar 25, 2026
fc37572
#19 added my gun collection library
burnsoftnet Mar 25, 2026
5deabbd
#19 updated mgc exe function
burnsoftnet Mar 25, 2026
e49428f
#19 moved over more code form library in main form
burnsoftnet Mar 25, 2026
bbc7c53
#19 updated main with move funciton updates
burnsoftnet Mar 25, 2026
2f1afb8
#19 updated main form
burnsoftnet Mar 25, 2026
15c8264
#19 added error catching to functions and did direct calls to library
burnsoftnet Mar 25, 2026
fdd4f3e
#19 updated code
burnsoftnet Mar 25, 2026
f48e34f
#19 got rid of some global variables and added the library function t…
burnsoftnet Mar 25, 2026
55c0f32
#19 Cleaned up code in Main Form
burnsoftnet Mar 25, 2026
f3688c2
#19 updated library
burnsoftnet Mar 26, 2026
e78ce4e
#19 refactor more code
burnsoftnet Mar 26, 2026
bdc49b6
#19 updated nuget paclage
burnsoftnet Mar 26, 2026
4dbf77d
#19 updated delete config ui code to use library
burnsoftnet Mar 26, 2026
4f7016f
#19 commented out ununesed code
burnsoftnet Mar 26, 2026
1a6bda6
#19 removed click once manifest setting since i am no longer signing …
burnsoftnet Mar 26, 2026
1c77b0f
#19 Minnor cleanup on errors
burnsoftnet Mar 26, 2026
edb05d7
#19 updated database get data call
burnsoftnet Mar 26, 2026
5f39fb3
#19 Commented out more code form the old library and fixing errors
burnsoftnet Mar 26, 2026
09d8840
#19 Commented out more code form the old library and fixing errors
burnsoftnet Mar 26, 2026
bf11681
#19 Commented out more code form the old library and fixing errors
burnsoftnet Mar 26, 2026
25ecc78
#19 Commented out more code form the old library and fixing errors
burnsoftnet Mar 26, 2026
7e43903
#19 Commented out more code form the old library and fixing errors
burnsoftnet Mar 26, 2026
935e98b
#19 refactor naming
burnsoftnet Mar 26, 2026
abbcce9
#20 delete un used code
burnsoftnet Mar 26, 2026
a6d7ac6
#19 Refactor Naming in view form
burnsoftnet Mar 26, 2026
b5d9e59
#19 REFACTOR FrmViewDataSheetRiflePistols code to use new library
burnsoftnet Mar 26, 2026
d702b28
#19 REFACTOR Naming in FrmViewDataSheetRiflePistols
burnsoftnet Mar 26, 2026
f21efe1
#19 REFACTOR Naming FrmLoadMakeReadyDetails
burnsoftnet Mar 26, 2026
3fa90ce
#19 refactor more Code ot use the library
burnsoftnet Mar 26, 2026
ebb541d
#19 refactor more Code ot use the library
burnsoftnet Mar 26, 2026
960e12a
#19 refactor more Code ot use the library
burnsoftnet Mar 26, 2026
999bd00
#19 refactor more Code ot use the library
burnsoftnet Mar 27, 2026
e01a58e
#19 refactor more Code ot use the library
burnsoftnet Mar 27, 2026
db2ae01
#19 refactor Moced Copy Forms to Adding Namespace
burnsoftnet Mar 27, 2026
15a261d
#19 Updated build version
burnsoftnet Mar 27, 2026
c9b2b40
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
be87bbc
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
92bfc9e
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
b708655
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
8f20d7d
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
b1d30be
#19 Refactor Naming and Code Cleanup
burnsoftnet Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions BSMyLoadersLog/AboutBox1.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Imports BSMyLoadersLog.LoadersClass

''' <summary>
''' Class AboutBox1. This class cannot be inherited.
''' Implements the <see cref="System.Windows.Forms.Form" />
Expand Down Expand Up @@ -27,7 +27,8 @@ Public NotInheritable Class AboutBox1
' properties dialog (under the "Project" menu).
LabelProductName.Text = My.Application.Info.ProductName
Dim dbVersion As Long = BurnSoft.Applications.MLL.Database.GetDatabaseVersion(DatabasePath, errOut)
LabelVersion.Text = String.Format("App Version {0}", Application.ProductVersion.ToString) & " , " & String.Format("DB Version {0}", dbVersion)
LabelVersion.Text = String.Format("App Version {0}", Application.ProductVersion.ToString) &
" , " & String.Format("DB Version {0}", dbVersion)
LabelCopyright.Text = My.Application.Info.Copyright
LabelCompanyName.Text = My.Application.Info.CompanyName
TextBoxDescription.Text = My.Application.Info.Description
Expand Down
18 changes: 9 additions & 9 deletions BSMyLoadersLog/Adding/frmAddBullets.vb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Namespace Adding

''' <summary>
''' Class FrmAddBullets.
''' Implements the <see cref="System.Windows.Forms.Form" />
''' Implements the <see cref="Form" />
''' </summary>
''' <seealso cref="System.Windows.Forms.Form" />
''' <seealso cref="Form" />
Public Class FrmAddBullets
''' <summary>
''' From view
Expand All @@ -23,7 +23,7 @@ Namespace Adding
''' <summary>
''' The bullet id
''' </summary>
Public Bid As Long
Public BulletId As Long
''' <summary>
''' The error out
''' </summary>
Expand All @@ -34,7 +34,7 @@ Namespace Adding
Sub LoadData()
Try
Dim values As List(Of BulletListings) = BulletsInventory.GetDetails(DatabasePath,
Bid, _errOut)
BulletId, _errOut)
if _errOut.Length > 0 Then Throw New Exception(_errOut)
For Each o As BulletListings In values
txtManu.Text = o.Manufacturer
Expand All @@ -61,7 +61,7 @@ Namespace Adding
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub frmAddBullets_Load(ByVal sender As System.Object, ByVal e As EventArgs) Handles MyBase.Load
Private Sub frmAddBullets_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
General_Ammunition_TypeTableAdapter.Fill(MLLDataSet.General_Ammunition_Type)
Try
List_CalibersTableAdapter.Fill(MLLDataSet.List_Calibers)
Expand All @@ -75,8 +75,8 @@ Namespace Adding
''' Handles the Click event of the btnCancel control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnCancel.Click
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnCancel.Click
Close()
End Sub
''' <summary>
Expand Down Expand Up @@ -108,8 +108,8 @@ Namespace Adding
''' Handles the Click event of the btnAdd control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnAdd.Click
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAdd.Click
Try
Dim strManu As String = GeneralHelpers.FluffContent(txtManu.Text)
Dim strName As String = GeneralHelpers.FluffContent(txtName.Text)
Expand Down
16 changes: 8 additions & 8 deletions BSMyLoadersLog/Adding/frmAddBushing_Powder.vb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Namespace Adding

''' <summary>
''' Class FrmAddBushingPowder.
''' Implements the <see cref="System.Windows.Forms.Form" />
''' Implements the <see cref="Form" />
''' </summary>
''' <seealso cref="System.Windows.Forms.Form" />
''' <seealso cref="Form" />
Public Class FrmAddBushingPowder
''' <summary>
''' The error out
Expand All @@ -35,8 +35,8 @@ Namespace Adding
''' Handles the Load event of the frmAddChargeBushing control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
Private Sub frmAddChargeBushing_Load(ByVal sender As System.Object, ByVal e As EventArgs) Handles MyBase.Load
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub frmAddChargeBushing_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
Try
Call PreloadData()
Catch ex As Exception
Expand All @@ -48,7 +48,7 @@ Namespace Adding
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnCancel.Click
Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnCancel.Click
Close()
End Sub
''' <summary>
Expand Down Expand Up @@ -92,7 +92,7 @@ Namespace Adding
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnAdd.Click
Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAdd.Click
Call SaveData()
End Sub
''' <summary>
Expand All @@ -115,15 +115,15 @@ Namespace Adding
''' Handles the Enter event of the txtName control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub txtName_Enter(ByVal sender As Object, ByVal e As EventArgs) Handles txtName.Enter
txtName.SelectAll()
End Sub
''' <summary>
''' Handles the Enter event of the txtPowderName control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub txtPowderName_Enter(ByVal sender As Object, ByVal e As EventArgs) Handles txtPowderName.Enter
txtPowderName.SelectAll()
End Sub
Expand Down
30 changes: 15 additions & 15 deletions BSMyLoadersLog/Adding/frmAddBushing_Shot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ Namespace Adding

''' <summary>
''' Class frmAddBushing_Shot.
''' Implements the <see cref="System.Windows.Forms.Form" />
''' Implements the <see cref="Form" />
''' </summary>
''' <seealso cref="System.Windows.Forms.Form" />
''' <seealso cref="Form" />
Public Class FrmAddBushingShot
''' <summary>
''' The error out
''' </summary>
Private errOut as String
Private _errOut as String
''' <summary>
''' Pres the load data.
''' </summary>
Sub PreLoadData()
Try
txtCharge.AutoCompleteCustomSource = ConfigShotgun.BushingShotCharge(DatabasePath, errOut)
If errOut.Length > 0 Then Throw New Exception(errOut)
txtManu.AutoCompleteCustomSource = ConfigShotgun.BushingShotManufacturer(DatabasePath, errOut)
If errOut.Length > 0 Then Throw New Exception(errOut)
txtName.AutoCompleteCustomSource = ConfigShotgun.BushingShotName(DatabasePath, errOut)
If errOut.Length > 0 Then Throw New Exception(errOut)
txtCharge.AutoCompleteCustomSource = ConfigShotgun.BushingShotCharge(DatabasePath, _errOut)
If _errOut.Length > 0 Then Throw New Exception(_errOut)
txtManu.AutoCompleteCustomSource = ConfigShotgun.BushingShotManufacturer(DatabasePath, _errOut)
If _errOut.Length > 0 Then Throw New Exception(_errOut)
txtName.AutoCompleteCustomSource = ConfigShotgun.BushingShotName(DatabasePath, _errOut)
If _errOut.Length > 0 Then Throw New Exception(_errOut)
Catch ex As Exception
Call LogError(Name, "PreLoadData", Err.Number, ex.Message.ToString)
End Try
Expand All @@ -43,8 +43,8 @@ Namespace Adding
''' Handles the Click event of the btnCancel control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnCancel.Click
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnCancel.Click
Close()
End Sub
''' <summary>
Expand All @@ -64,7 +64,7 @@ Namespace Adding
If Not GeneralHelpers.IsRequired(sCharge, "Charge Amount",
Text) Then Exit Sub
If Not ShotgunShotInventory.Add(DatabasePath, manu, sName, sCharge,
sType, errOut) Then Throw New Exception(errOut)
sType, _errOut) Then Throw New Exception(_errOut)
Call ClearFields()
Catch ex As Exception
Call LogError(Name, "SaveData", Err.Number, ex.Message.ToString)
Expand All @@ -75,7 +75,7 @@ Namespace Adding
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles btnAdd.Click
Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAdd.Click
Call SaveData()
End Sub
''' <summary>
Expand All @@ -98,7 +98,7 @@ Namespace Adding
''' Handles the Enter event of the txtName control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub txtName_Enter(ByVal sender As Object, ByVal e As EventArgs) Handles txtName.Enter
txtName.SelectAll()
End Sub
Expand All @@ -107,7 +107,7 @@ Namespace Adding
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub frmAddBushing_Shot_Load(ByVal sender As System.Object, ByVal e As EventArgs) Handles MyBase.Load
Private Sub frmAddBushing_Shot_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
Call PreLoadData()
End Sub
End Class
Expand Down
4 changes: 2 additions & 2 deletions BSMyLoadersLog/Adding/frmAddCaliberToCollection.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Imports BurnSoft.Applications.MLL.Inventory
Namespace Adding
''' <summary>
''' Class FrmAddCaliberToCollection.
''' Implements the <see cref="System.Windows.Forms.Form" />
''' Implements the <see cref="Form" />
''' </summary>
''' <seealso cref="System.Windows.Forms.Form" />
''' <seealso cref="Form" />
Public Class FrmAddCaliberToCollection
''' <summary>
''' The error out
Expand Down
Loading