Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 1.09 KB | None | 0 0
  1. Imports Telerik.WinControls
  2. Imports Telerik.WinControls.UI
  3. Imports System.IO
  4.  
  5. Public Class Form3
  6.  
  7.     Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  8.         ThemeResolutionService.ApplicationThemeName = "Office2010Blue"
  9.     End Sub
  10.  
  11.     Private Sub RadButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton1.Click
  12.         End
  13.     End Sub
  14.  
  15.     Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  16.         End
  17.     End Sub
  18.  
  19.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  20.         Form4.ShowDialog()
  21.     End Sub
  22.  
  23.     Private Sub RadMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadMenuItem2.Click
  24.         Dim hasshut
  25.         hasshut = RadMessageBox.Show("Are you sure you want to shutdown?", "Notification", MessageBoxButtons.YesNo)
  26.         If hasshut = DialogResult.Yes Then
  27.             End
  28.         Else
  29.             'Nothing
  30.         End If
  31.     End Sub
  32. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement