Buttons.cs
// 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. // using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using ESRI.ArcGISExplorer; using ESRI.ArcGISExplorer.Application; using ESRI.ArcGISExplorer.Mapping; using ESRI.ArcGISExplorer.Geometry; using ESRI.ArcGISExplorer.Data; using ESRI.ArcGISExplorer.Threading; namespace ApplicationConditionsCS { public class NoteSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_NoteSelectedCondition is true"); } } public class SingleNoteSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleNoteSelectedCondition is true"); } } public class FolderSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_FolderSelectedCondition is true"); } } public class SingleFolderSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleFolderSelectedCondition is true"); } } public class ViewSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ViewSelectedCondition is true"); } } public class SingleViewSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleViewSelectedCondition is true"); } } public class LinkSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_LinkSelectedCondition is true"); } } public class SingleLinkSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleLinkSelectedCondition is true"); } } public class FeatureLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_FeatureLayerSelectedCondition is true"); } } public class SingleFeatureLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleFeatureLayerSelectedCondition is true"); } } public class ServiceLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ServiceLayerSelectedCondition is true"); } } public class SingleServiceLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleServiceLayerSelectedCondition is true"); } } public class KMLSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_KMLSelectedCondition is true"); } } public class SingleKMLSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleKMLSelectedCondition is true"); } } public class KMLNodeSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_KMLNodeSelectedCondition is true"); } } public class SingleKMLNodeSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleKMLNodeSelectedCondition is true"); } } public class ItemsSelected_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ItemsSelectedCondition is true"); } } public class SingleItemSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleItemSelectedCondition is true"); } } public class RasterLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_RasterLayerSelectedCondition is true"); } } public class SingleRasterLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleRasterLayerSelectedCondition is true"); } } public class ArcGISLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ArcGISLayerSelectedCondition is true"); } } public class SingleArcGISLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleArcGISLayerSelectedCondition is true"); } } public class GeoRssLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_GeoRssLayerSelectedCondition is true"); } } public class SingleGeoRssLayerSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleGeoRssLayerSelectedCondition is true"); } } public class ImageOverlaySelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_ImageOverlaySelectedCondition is true"); } } public class SingleImageOverlaySelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleImageOverlaySelectedCondition is true"); } } public class PresentationToolsAvailableCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_PresentationToolsAvailableCondition is true"); } } public class HasSlidesCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_HasSlidesCondition is true"); } } public class SingleSlideSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SingleSlideSelectedCondition is true"); } } public class SlidesSelectedCondition_Button : ESRI.ArcGISExplorer.Application.Button { public override void OnClick() { System.Windows.Forms.MessageBox.Show("This button is only enabled when the E3_SlidesSelectedCondition is true"); } } }