Application Conditions
Buttons.vb
' Copyright 2011 ESRI
' 
' All rights reserved under the copyright laws of the United States
' and applicable international laws, treaties, and conventions.
' 
' You may freely redistribute and use this sample code, with or
' without modification, provided you include the original copyright
' notice and use restrictions.
' 
' See the use restrictions.
' 

Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Linq
Imports System.Text

Imports ESRI.ArcGISExplorer
Imports ESRI.ArcGISExplorer.Application
Imports ESRI.ArcGISExplorer.Geometry
Imports ESRI.ArcGISExplorer.Mapping
Imports ESRI.ArcGISExplorer.Data
Imports ESRI.ArcGISExplorer.Threading

Public Class NoteSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_NoteSelectedCondition is true")
  End Sub
End Class

Public Class SingleNoteSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleNoteSelectedCondition is true")
  End Sub
End Class

Public Class FolderSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_FolderSelectedCondition is true")
  End Sub
End Class

Public Class SingleFolderSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleFolderSelectedCondition is true")
  End Sub
End Class

Public Class ViewSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ViewrSelectedCondition is true")
  End Sub
End Class

Public Class SingleViewSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleViewrSelectedCondition is true")
  End Sub
End Class

Public Class LinkSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_LinkSelectedCondition is true")
  End Sub
End Class

Public Class SingleLinkSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleLinkSelectedCondition is true")
  End Sub
End Class

Public Class FeatureLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_FeatureLayerSelectedCondition is true")
  End Sub
End Class

Public Class SingleFeatureLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleFeatureLayerSelectedCondition is true")
  End Sub
End Class

Public Class ServiceLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ServiceLayerSelectedCondition is true")
  End Sub
End Class

Public Class SingleServiceLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleServiceLayerSelectedCondition is true")
  End Sub
End Class

Public Class KMLSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_KMLSelectedCondition is true")
  End Sub
End Class

Public Class SingleKMLSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleKMLSelectedCondition is true")
  End Sub
End Class

Public Class KMLNodeSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_KMLNodeSelectedCondition is true")
  End Sub
End Class

Public Class SingleKMLNodeSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleKMLNodeSelectedCondition is true")
  End Sub
End Class

Public Class ItemsSelected_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ItemsSelectedCondition is true")
  End Sub
End Class

Public Class SingleItemSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleItemSelectedCondition is true")
  End Sub
End Class

Public Class RasterLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_RasterLayerSelectedCondition is true")
  End Sub
End Class

Public Class SingleRasterLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleRasterLayerSelectedCondition is true")
  End Sub
End Class

Public Class ArcGISLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ArcGISLayerSelectedCondition is true")
  End Sub
End Class

Public Class SingleArcGISLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleArcGISLayerSelectedCondition is true")
  End Sub
End Class

Public Class GeoRssLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_GeoRssLayerSelectedCondition is true")
  End Sub
End Class

Public Class SingleGeoRssLayerSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleGeoRssLayerSelectedCondition is true")
  End Sub
End Class

Public Class ImageOverlaySelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ImageOverlaySelectedCondition is true")
  End Sub
End Class

Public Class SingleImageOverlaySelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleImageOverlaySelectedCondition is true")
  End Sub
End Class

Public Class PresentationToolsAvailableCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_PresentationToolsAvailableCondition is true")
  End Sub
End Class

Public Class HasSlidesCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_HasSlidesCondition is true")
  End Sub
End Class

Public Class SingleSlideSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleSlideSelectedCondition is true")
  End Sub
End Class

Public Class SlidesSelectedCondition_Button
  Inherits ESRI.ArcGISExplorer.Application.Button
  Public Overloads Overrides Sub OnClick()
    System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SlidesSelectedCondition is true")
  End Sub
End Class