Advertisement
filmee24

Script AppSuit Test

Feb 25th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.75 KB | None | 0 0
  1. Imports AppSuite
  2. Imports System.Windows.Forms
  3. Imports System.IO
  4. Imports System.Drawing
  5. Imports System
  6.  
  7. Public Class App
  8.     Public Sub Initialize()
  9.         Dim appSymbol As New EffectedPanel()
  10.         appSymbol.Title = "Test"
  11.         appSymbol.Location = New Point(GetLastSymbol("Menu").Location.X + 10 + appSymbol.Width, GetLastSymbol("Menu").Location.Y)
  12.         appSymbol.TitleLocation = GetLastSymbol("Menu").TitleLocation
  13.  
  14.         AddHandler appSymbol.OClick, AddressOf Click
  15.  
  16.         Dim testpage As New Page("Test")
  17.         testpage.Controls.Add(appSymbol)
  18.  
  19.         AddPage(testpage)
  20.  
  21.         Add(appSymbol, "Menu")
  22.     End Sub
  23.  
  24.     Private Sub Click(sender As Object, e As EventArgs)
  25.         SwitchPage("Test")
  26.     End Sub
  27.  
  28. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement