Skip to content

Commit

Permalink
Auto-resizing update
Browse files Browse the repository at this point in the history
  • Loading branch information
Just1diaxx committed Jun 16, 2024
1 parent 099e82f commit 89c1032
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions PCPartPicker1/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Public Class Form1

End Sub

Private Sub MyForm_Resize(sender As Object, e As EventArgs) Handles MyBase.Resize
webView.Size = Me.Size
End Sub

Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.WindowState = FormWindowState.Maximized
Dim client As New DiscordRpcClient("1249059443061166101") 'API KEY
Expand Down
4 changes: 2 additions & 2 deletions PCPartPicker1/PCPartPicker.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>C:\Users\justt\Documents\PCPartPicker 3.1\</PublishUrl>
<PublishUrl>C:\Users\justt\Documents\PCPartPicker 3.2\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
Expand All @@ -27,7 +27,7 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>9</ApplicationRevision>
<ApplicationRevision>10</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
2 changes: 2 additions & 0 deletions PCPartPicker1/foundedBuilds.vb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
Dim bCode = InputBox("Enter the build code")
Form1.webView.CoreWebView2.Navigate("https://pcpartpicker.com/list/" + bCode)
End Sub


End Class

0 comments on commit 89c1032

Please sign in to comment.