Skip to content

Commit

Permalink
Minor Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DrAliRagab committed Jan 21, 2019
1 parent c8af6b7 commit 5678c84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Movies Icons/Form1.Designer.vb

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

4 changes: 4 additions & 0 deletions Movies Icons/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ Public Class Form1
Dim recdrawBrush As New SolidBrush(Color.WhiteSmoke)
Dim recdrawFont As New Font("Arial", 48)

If Certificate.StartsWith("Rated ") Then
Certificate = Certificate.Remove(0, 6)
End If

If cert = True And Not Certificate = "" Then
g.FillRectangle(recBrush, 198, 750, 240, 80)
g.DrawString(Certificate, recdrawFont, recdrawBrush, recdrawRect, drawFormat)
Expand Down

0 comments on commit 5678c84

Please sign in to comment.