Get Top Quote

CryptoJones Jan 11th, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   Friend Function GetTopmostQuote() As QuoteForm
  2.     If ActiveMdiChild Is Nothing Then Return Nothing
  3.     Dim f() As Form = MdiChildren
  4.     For x As Integer = f.GetUpperBound(0) To 0 Step -1
  5.       If TypeOf f(x) Is QuoteForm Then Return LastActivatedQuote
  6.     Next
  7.     Return Nothing
  8.   End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand