Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 17.41 KB | None | 0 0
  1. Private Sub Bet(ByVal betValue As Integer)
  2.     Try
  3.         Me._game.CurrentPlayer.IncreaseBet(New Decimal(betValue))
  4.         Me.ShowBankValue
  5.     Catch exception1 As Exception
  6.         ProjectData.SetProjectError(exception1)
  7.         Dim exception As Exception = exception1
  8.         Interaction.MsgBox(exception.Message, MsgBoxStyle.OkOnly, Nothing)
  9.         ProjectData.ClearProjectError
  10.     End Try
  11. End Sub
  12.  
  13.  
  14.  
  15.  
  16.  
  17. Private Sub ClearBetBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  18.     Me._game.CurrentPlayer.ClearBet
  19.     Me.ShowBankValue
  20. End Sub
  21.  
  22.  
  23.  
  24.  
  25.  
  26. Private Sub ClearTable()
  27.     Dim index As Integer = 0
  28.     Do While (index < 6)
  29.         Me._dealerCards(index).Image = Nothing
  30.         Me._dealerCards(index).Visible = False
  31.         Me._playerCards(index).Image = Nothing
  32.         Me._playerCards(index).Visible = False
  33.         Math.Min(Interlocked.Increment((index)), (index - 1))
  34.     Loop
  35. End Sub
  36.  
  37.  
  38.  
  39.  
  40.  
  41. Private Sub DblDwnBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  42.     Try
  43.         Me._game.CurrentPlayer.DoubleDown
  44.         Me.UpdateUIPlayerCards
  45.         Me.ShowBankValue
  46.         If Me._game.CurrentPlayer.HasBust Then
  47.             Me.EndGame(EndResult.PlayerBust)
  48.         Else
  49.             Me._game.DealerPlay
  50.             Me.UpdateUIPlayerCards
  51.             Me.EndGame(Me.GetGameResult)
  52.         End If
  53.     Catch exception1 As Exception
  54.         ProjectData.SetProjectError(exception1)
  55.         Dim exception As Exception = exception1
  56.         Interaction.MsgBox(exception.Message, MsgBoxStyle.OkOnly, Nothing)
  57.         ProjectData.ClearProjectError
  58.     End Try
  59. End Sub
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Private Sub DealBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  66.     Try
  67.         If ((Decimal.Compare(Me._game.CurrentPlayer.Bet, Decimal.Zero) = 0) And (Decimal.Compare(Me._game.CurrentPlayer.Balance, Decimal.Zero) > 0)) Then
  68.             Interaction.MsgBox("You must place a bet before the dealer deals.", MsgBoxStyle.Information, "Error")
  69.         Else
  70.             Me._game.CurrentPlayer.PlaceBet
  71.             Me.ShowBankValue
  72.             Me.ClearTable
  73.             Me.SetUpGameInPlay
  74.             Me._game.DealNewGame
  75.             Me.UpdateUIPlayerCards
  76.             If Me._game.CurrentPlayer.HasBlackJack Then
  77.                 Me.EndGame(EndResult.PlayerBlackJack)
  78.             End If
  79.         End If
  80.     Catch exception1 As Exception
  81.         ProjectData.SetProjectError(exception1)
  82.         Dim exception As Exception = exception1
  83.         Interaction.MsgBox(exception.Message, MsgBoxStyle.OkOnly, Nothing)
  84.         ProjectData.ClearProjectError
  85.     End Try
  86. End Sub
  87.  
  88.  
  89.  
  90.  
  91.  
  92. Private Sub EndGame(ByVal endState As EndResult)
  93.     Dim currentPlayer As Player
  94.     Select Case CInt(endState)
  95.         Case 0
  96.             Me.gameOverTextBox.Text = "Dealer BlackJack!"
  97.             Me._game.PlayerLose
  98.             Exit Select
  99.         Case 1
  100.             Me.gameOverTextBox.Text = "BlackJack!"
  101.             currentPlayer = Me._game.CurrentPlayer
  102.             currentPlayer.Balance = Decimal.Add(currentPlayer.Balance, Decimal.Multiply(Me._game.CurrentPlayer.Bet, 2.5))
  103.             currentPlayer = Me._game.CurrentPlayer
  104.             currentPlayer.Wins += 1
  105.             Exit Select
  106.         Case 2
  107.             Me.gameOverTextBox.Text = "You Bust!"
  108.             Me._game.PlayerLose
  109.             Exit Select
  110.         Case 3
  111.             Me.gameOverTextBox.Text = "Dealer Bust!"
  112.             Me._game.PlayerWin
  113.             Exit Select
  114.         Case 4
  115.             Me.gameOverTextBox.Text = "Push"
  116.             currentPlayer = Me._game.CurrentPlayer
  117.             currentPlayer.Push += 1
  118.             currentPlayer = Me._game.CurrentPlayer
  119.             currentPlayer.Balance = Decimal.Add(currentPlayer.Balance, Me._game.CurrentPlayer.Bet)
  120.             Exit Select
  121.         Case 5
  122.             Me.gameOverTextBox.Text = "You Won!"
  123.             Me._game.PlayerWin
  124.             Exit Select
  125.         Case 6
  126.             Me.gameOverTextBox.Text = "Dealer Won!"
  127.             Me._game.PlayerLose
  128.             Exit Select
  129.     End Select
  130.     Me.winTextBox.Text = Me._game.CurrentPlayer.Wins.ToString
  131.     Me.lossTextBox.Text = Me._game.CurrentPlayer.Losses.ToString
  132.     Me.tieTextBox.Text = Me._game.CurrentPlayer.Push.ToString
  133.     Me.SetUpNewGame
  134.     Me.ShowBankValue
  135.     Me.gameOverTextBox.Show
  136.     If (Decimal.Compare(Me._game.CurrentPlayer.Balance, Decimal.Zero) = 0) Then
  137.         Interaction.MsgBox("Out of Money. Please create a new game to play again.", MsgBoxStyle.OkOnly, Nothing)
  138.         Me.Close
  139.     End If
  140. End Sub
  141.  
  142.  
  143.  
  144.  
  145.  
  146. Private Sub ExitBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  147.     Me.Close
  148. End Sub
  149.  
  150.  
  151.  
  152.  
  153.  
  154. Private Sub FiftyBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  155.     Me.Bet(50)
  156. End Sub
  157.  
  158.  
  159.  
  160.  
  161.  
  162. Private Function GetGameResult() As EndResult
  163.     If ((Me._game.CurrentDealer.Hand.NumCards = 2) AndAlso Me._game.CurrentDealer.HasBlackJack) Then
  164.         Return EndResult.DealerBlackJack
  165.     End If
  166.     If Me._game.CurrentDealer.HasBust Then
  167.         Return EndResult.DealerBust
  168.     End If
  169.     If (Me._game.CurrentDealer.Hand.CompareFaceValue(Me._game.CurrentPlayer.Hand) > 0) Then
  170.         Return EndResult.DealerWin
  171.     End If
  172.     If (Me._game.CurrentDealer.Hand.CompareFaceValue(Me._game.CurrentPlayer.Hand) = 0) Then
  173.         Return EndResult.Push
  174.     End If
  175.     Return EndResult.PlayerWin
  176. End Function
  177.  
  178.  
  179.  
  180.  
  181.  
  182. Private Sub HitBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  183.     Me._firstTurn = False
  184.     Me._game.CurrentPlayer.Hit
  185.     Me.UpdateUIPlayerCards
  186.     If Me._game.CurrentPlayer.HasBust Then
  187.         Me.EndGame(EndResult.PlayerBust)
  188.     End If
  189. End Sub
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Private Sub HundredBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  196.     Me.Bet(100)
  197. End Sub
  198.  
  199.  
  200.  
  201.  
  202.  
  203. Private Sub LoadCard(ByVal pb As PictureBox, ByVal c As Card)
  204.     Try
  205.         Dim builder As New StringBuilder
  206.         Select Case c.Suit
  207.             Case Suit.Diamonds
  208.                 builder.Append("di")
  209.                 Exit Select
  210.             Case Suit.Spades
  211.                 builder.Append("sp")
  212.                 Exit Select
  213.             Case Suit.Clubs
  214.                 builder.Append("cl")
  215.                 Exit Select
  216.             Case Suit.Hearts
  217.                 builder.Append("he")
  218.                 Exit Select
  219.         End Select
  220.         Select Case CInt(c.FaceVal)
  221.             Case 2
  222.                 builder.Append("2")
  223.                 Exit Select
  224.             Case 3
  225.                 builder.Append("3")
  226.                 Exit Select
  227.             Case 4
  228.                 builder.Append("4")
  229.                 Exit Select
  230.             Case 5
  231.                 builder.Append("5")
  232.                 Exit Select
  233.             Case 6
  234.                 builder.Append("6")
  235.                 Exit Select
  236.             Case 7
  237.                 builder.Append("7")
  238.                 Exit Select
  239.             Case 8
  240.                 builder.Append("8")
  241.                 Exit Select
  242.             Case 9
  243.                 builder.Append("9")
  244.                 Exit Select
  245.             Case 10
  246.                 builder.Append("10")
  247.                 Exit Select
  248.             Case 11
  249.                 builder.Append("j")
  250.                 Exit Select
  251.             Case 12
  252.                 builder.Append("q")
  253.                 Exit Select
  254.             Case 13
  255.                 builder.Append("k")
  256.                 Exit Select
  257.             Case 14
  258.                 builder.Append("1")
  259.                 Exit Select
  260.         End Select
  261.         builder.Append(MySettingsProperty.Settings.CardGameImageExtension)
  262.         Dim cardGameImagePath As String = MySettingsProperty.Settings.CardGameImagePath
  263.         Dim cardGameImageSkinPath As String = MySettingsProperty.Settings.CardGameImageSkinPath
  264.         builder.Insert(0, cardGameImagePath)
  265.         If Not c.IsCardUp Then
  266.             builder.Replace(builder.ToString, cardGameImageSkinPath)
  267.         End If
  268.         pb.Image = New Bitmap(builder.ToString)
  269.     Catch exception1 As Exception
  270.         ProjectData.SetProjectError(exception1)
  271.         Interaction.MsgBox("Card images are not loading correctly.  Make sure all card images are in the right location.", MsgBoxStyle.OkOnly, Nothing)
  272.         ProjectData.ClearProjectError
  273.     End Try
  274. End Sub
  275.  
  276.  
  277.  
  278.  
  279.  
  280. Private Sub LoadCardSkinImages()
  281.     Try
  282.         Dim image As Image = Image.FromFile(MySettingsProperty.Settings.CardGameImageSkinPath)
  283.         Me.deckCard1PictureBox.Image = image
  284.         Me.deckCard2PictureBox.Image = image
  285.         Me.deckCard3PictureBox.Image = image
  286.     Catch exception1 As OutOfMemoryException
  287.         ProjectData.SetProjectError(exception1)
  288.         Dim exception As OutOfMemoryException = exception1
  289.         Interaction.MsgBox("Card skin images are not loading correctly.  Make sure the card skin images are in the correct location.", MsgBoxStyle.OkOnly, Nothing)
  290.         ProjectData.ClearProjectError
  291.     End Try
  292.     Me._playerCards = New PictureBox() { Me.playerCard1PictureBox, Me.playerCard2PictureBox, Me.playerCard3PictureBox, Me.playerCard4PictureBox, Me.playerCard5PictureBox, Me.playerCard6PictureBox }
  293.     Me._dealerCards = New PictureBox() { Me.dealerCard1PictureBox, Me.dealerCard2PictureBox, Me.dealerCard3PictureBox, Me.dealerCard4PictureBox, Me.dealerCard5PictureBox, Me.dealerCard6PictureBox }
  294. End Sub
  295.  
  296.  
  297.  
  298.  
  299.  
  300. Private Sub SetUpGameInPlay()
  301.     Me.tenButton.Enabled = False
  302.     Me.twentyFiveButton.Enabled = False
  303.     Me.fiftyButton.Enabled = False
  304.     Me.hundredButton.Enabled = False
  305.     Me.clearBetButton.Enabled = False
  306.     Me.standButton.Enabled = True
  307.     Me.hitButton.Enabled = True
  308.     Me.gameOverTextBox.Hide
  309.     Me.playerTotalLabel.Show
  310.     Me.dealButton.Enabled = False
  311.     If Me._firstTurn Then
  312.         Me.doubleDownButton.Enabled = True
  313.     End If
  314. End Sub
  315.  
  316.  
  317.  
  318.  
  319.  
  320. Private Sub SetUpNewGame()
  321.     Me.photoPictureBox.ImageLocation = MySettingsProperty.Settings.PlayerImage
  322.     Me.photoPictureBox.Visible = True
  323.     Me.playerNameLabel.Text = MySettingsProperty.Settings.PlayerName
  324.     Me.dealButton.Enabled = True
  325.     Me.doubleDownButton.Enabled = False
  326.     Me.standButton.Enabled = False
  327.     Me.hitButton.Enabled = False
  328.     Me.clearBetButton.Enabled = True
  329.     Me.tenButton.Enabled = True
  330.     Me.twentyFiveButton.Enabled = True
  331.     Me.fiftyButton.Enabled = True
  332.     Me.hundredButton.Enabled = True
  333.     Me.gameOverTextBox.Hide
  334.     Me.playerTotalLabel.Hide
  335.     Me._firstTurn = True
  336.     Me.ShowBankValue
  337. End Sub
  338.  
  339.  
  340.  
  341.  
  342.  
  343. Private Sub ShowBankValue()
  344.     Me.myBetTextBox.Text = ("$" & Me._game.CurrentPlayer.Bet.ToString)
  345.     Me.myAccountTextBox.Text = ("$" & Me._game.CurrentPlayer.Balance.ToString)
  346. End Sub
  347.  
  348.  
  349.  
  350.  
  351.  
  352. Private Sub StandBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  353.     Me._game.DealerPlay
  354.     Me.UpdateUIPlayerCards
  355.     Me.EndGame(Me.GetGameResult)
  356. End Sub
  357.  
  358.  
  359.  
  360.  
  361.  
  362. Private Sub TenBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  363.     Me.Bet(10)
  364. End Sub
  365.  
  366.  
  367.  
  368.  
  369.  
  370. Private Sub TwentyFiveBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  371.     Me.Bet(&H19)
  372. End Sub
  373.  
  374.  
  375.  
  376.  
  377.  
  378. Private Sub UpdateUIPlayerCards()
  379.     Dim num As Integer
  380.     Me.playerTotalLabel.Text = Me._game.CurrentPlayer.Hand.GetSumOfHand.ToString
  381.     Dim cards As List(Of Card) = Me._game.CurrentPlayer.Hand.Cards
  382.     num
  383.     For num = 0 To cards.Count - 1
  384.         Me.LoadCard(Me._playerCards(num), cards.Item(num))
  385.         Me._playerCards(num).Visible = True
  386.         Me._playerCards(num).BringToFront
  387.     Next num
  388.     Dim list As List(Of Card) = Me._game.CurrentDealer.Hand.Cards
  389.     num
  390.     For num = 0 To list.Count - 1
  391.         Me.LoadCard(Me._dealerCards(num), list.Item(num))
  392.         Me._dealerCards(num).Visible = True
  393.         Me._dealerCards(num).BringToFront
  394.     Next num
  395. End Sub
  396.  
  397.  
  398.  
  399.  
  400.  
  401. Public Sub DealerPlay()
  402.     Me._dealer.Hand.Cards.Item(1).IsCardUp = True
  403.     If (Me._dealer.Hand.GetSumOfHand < &H11) Then
  404.         Me._dealer.Hit
  405.         Me.DealerPlay
  406.     End If
  407. End Sub
  408.  
  409.  
  410.  
  411.  
  412.  
  413. Public Sub DealNewGame()
  414.     Me._deck = New Deck
  415.     Me._deck.Shuffle
  416.     Me._player.NewHand
  417.     Me._dealer.NewHand
  418.     Dim i As Integer
  419.     For i = 0 To 2 - 1
  420.         Dim item As Card = Me._deck.Draw
  421.         Me._player.Hand.Cards.Add(item)
  422.         Dim card2 As Card = Me._deck.Draw
  423.         If (i = 1) Then
  424.             card2.IsCardUp = False
  425.         End If
  426.         Me._dealer.Hand.Cards.Add(card2)
  427.     Next i
  428.     Me._player.CurrentDeck = Me._deck
  429.     Me._dealer.CurrentDeck = Me._deck
  430. End Sub
  431.  
  432.  
  433.  
  434.  
  435.  
  436. Public Sub PlayerLose()
  437.     Dim player As Player = Me._player
  438.     player.Losses += 1
  439. End Sub
  440.  
  441.  
  442.  
  443.  
  444.  
  445. Public Sub PlayerWin()
  446.     Dim player As Player = Me._player
  447.     player.Balance = Decimal.Add(player.Balance, Decimal.Multiply(Me._player.Bet, 2))
  448.     player = Me._player
  449.     player.Wins += 1
  450. End Sub
  451.  
  452.  
  453.  
  454.  
  455.  
  456. Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As EventArgs)
  457.     MySettingsProperty.Settings.Reload
  458.     Me.Close
  459. End Sub
  460.  
  461.  
  462.  
  463.  
  464.  
  465. Private Sub btnOK_Click(ByVal sender As Object, ByVal e As EventArgs)
  466.     MySettingsProperty.Settings.PlayerName = Me.playerNameTextBox.Text
  467.     MySettingsProperty.Settings.Save
  468.     Me.Close
  469. End Sub
  470.  
  471.  
  472.  
  473.  
  474.  
  475. Private Sub OptionsForm_Load(ByVal sender As Object, ByVal e As EventArgs)
  476.     Try
  477.         Me.playerPictureBox.Image = Image.FromFile(MySettingsProperty.Settings.PlayerImage)
  478.         Dim key As String = MySettingsProperty.Settings.DefaultImage1
  479.         Dim str2 As String = MySettingsProperty.Settings.DefaultImage2
  480.         Dim str3 As String = MySettingsProperty.Settings.DefaultImage3
  481.         Dim str4 As String = MySettingsProperty.Settings.DefaultImage4
  482.         Me.defaultImageList.Images.Add(key, Image.FromFile(key))
  483.         Me.defaultImageListView.Items.Add(key, key)
  484.         Me.defaultImageList.Images.Add(str2, Image.FromFile(str2))
  485.         Me.defaultImageListView.Items.Add(str2, str2)
  486.         Me.defaultImageList.Images.Add(str3, Image.FromFile(str3))
  487.         Me.defaultImageListView.Items.Add(str3, str3)
  488.         Me.defaultImageList.Images.Add(str4, Image.FromFile(str4))
  489.         Me.defaultImageListView.Items.Add(str4, str4)
  490.         Me.defaultImageListView.Items.Item(0).Text = ""
  491.         Me.defaultImageListView.Items.Item(1).Text = ""
  492.         Me.defaultImageListView.Items.Item(2).Text = ""
  493.         Me.defaultImageListView.Items.Item(3).Text = ""
  494.     Catch exception1 As OutOfMemoryException
  495.         ProjectData.SetProjectError(exception1)
  496.         Dim exception As OutOfMemoryException = exception1
  497.         Interaction.MsgBox("Images did not load properly.  Verify that images are in the correct location", MsgBoxStyle.OkOnly, Nothing)
  498.         ProjectData.ClearProjectError
  499.     End Try
  500. End Sub
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Private Sub PlayerDefaultImageList_ItemActivate(ByVal sender As Object, ByVal e As EventArgs)
  507.     Dim selectedItems As SelectedListViewItemCollection = Me.defaultImageListView.SelectedItems
  508.     MySettingsProperty.Settings.PlayerImage = selectedItems.Item(0).ImageKey
  509.     Me.playerPictureBox.Image = Image.FromFile(MySettingsProperty.Settings.PlayerImage)
  510. End Sub
  511.  
  512.  
  513.  
  514.  
  515.  
  516. Public Sub ClearBet()
  517.     Me._betProp = New Decimal
  518. End Sub
  519.  
  520.  
  521.  
  522.  
  523.  
  524. Public Sub DoubleDown()
  525.     Me.IncreaseBet(Me._betProp)
  526.     Me._balanceProp = Decimal.Subtract(Me._balanceProp, Decimal.Divide(Me._betProp, 2))
  527.     Me.Hit
  528. End Sub
  529.  
  530.  
  531.  
  532.  
  533.  
  534. Public Function HasBlackJack() As Boolean
  535.     Return (Me._handProp.GetSumOfHand = &H15)
  536. End Function
  537.  
  538.  
  539.  
  540.  
  541.  
  542. Public Function HasBust() As Boolean
  543.     Return (Me._handProp.GetSumOfHand > &H15)
  544. End Function
  545.  
  546.  
  547.  
  548.  
  549.  
  550. Public Sub Hit()
  551.     Dim item As Card = Me._currentDeckProp.Draw
  552.     Me._handProp.Cards.Add(item)
  553. End Sub
  554.  
  555.  
  556.  
  557.  
  558.  
  559. Public Sub IncreaseBet(ByVal amt As Decimal)
  560.     If (Decimal.Compare(Decimal.Subtract(Me._balanceProp, Decimal.Add(Me._betProp, amt)), Decimal.Zero) < 0) Then
  561.         Throw New Exception("You do not have enough money to make this bet.")
  562.     End If
  563.     Me._betProp = Decimal.Add(Me._betProp, amt)
  564. End Sub
  565.  
  566.  
  567.  
  568.  
  569.  
  570. Public Function NewHand() As BlackJackHand
  571.     Me._handProp = New BlackJackHand
  572.     Return Me._handProp
  573. End Function
  574.  
  575.  
  576.  
  577.  
  578.  
  579. Public Sub PlaceBet()
  580.     If (Decimal.Compare(Decimal.Subtract(Me._balanceProp, Me._betProp), Decimal.Zero) < 0) Then
  581.         Throw New Exception("You do not have enough money to place this bet.")
  582.     End If
  583.     Me._balanceProp = Decimal.Subtract(Me._balanceProp, Me._betProp)
  584. End Sub
  585.  
  586.  
  587.  
  588.  
  589.  
  590. Private Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs)
  591.     Interaction.MsgBox("Il Gioco E' Stato Creato Interamente Da Ds It" & ChrW(224) & "lian Team, Il Team Di IlMacio. Su Sciax2 Fonzi98, Contattaci Su Skype : Macio4949", MsgBoxStyle.OkOnly, Nothing)
  592. End Sub
  593.  
  594.  
  595.  
  596.  
  597.  
  598. Private Sub ExitBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  599.     Application.Exit
  600.     Interaction.MsgBox("Grazie Per Averci Scelto, Contact Us : Macio4949 (Skype)", MsgBoxStyle.OkOnly, Nothing)
  601. End Sub
  602.  
  603.  
  604.  
  605.  
  606.  
  607. Private Sub NewGameBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  608.     Using form As BlackJackForm = New BlackJackForm
  609.         Me.Hide
  610.         form.ShowDialog
  611.         Me.Show
  612.     End Using
  613. End Sub
  614.  
  615.  
  616.  
  617.  
  618.  
  619. Private Sub OptionsBtn_Click(ByVal sender As Object, ByVal e As EventArgs)
  620.     Using form As OptionsForm = New OptionsForm
  621.         Me.Hide
  622.         form.ShowDialog
  623.         Me.Show
  624.     End Using
  625. End Sub
  626.  
  627.  
  628.  
  629.  
  630.  
  631. Private Sub StartForm_Load(ByVal sender As Object, ByVal e As EventArgs)
  632.     Interaction.MsgBox("Black Jack, E' Solo Una Prova ( BETA VERSION ) Stiamo lavorando Per Fixare Dei Bug.", MsgBoxStyle.OkOnly, Nothing)
  633. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement