-
Notifications
You must be signed in to change notification settings - Fork 0
/
PAMStreetViewModule.cs
36 lines (31 loc) · 1009 Bytes
/
PAMStreetViewModule.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
namespace PAMStreetView
{
using ArcGIS.Desktop.Framework;
using ArcGIS.Desktop.Framework.Contracts;
internal class PAMStreetViewModule : Module
{
private static PAMStreetViewModule _this = null;
/// <summary>
/// Retrieve the singleton instance to this module here
/// </summary>
public static PAMStreetViewModule Current
{
get
{
return _this ?? (_this = (PAMStreetViewModule)FrameworkApplication.FindModule("PAMStreetView_Module"));
}
}
#region Overrides
/// <summary>
/// Called by Framework when ArcGIS Pro is closing
/// </summary>
/// <returns>False to prevent Pro from closing, otherwise True</returns>
protected override bool CanUnload()
{
//TODO - add your business logic
//return false to ~cancel~ Application close
return true;
}
#endregion Overrides
}
}