-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Emily Himmelstoss
authored and
Emily Himmelstoss
committed
Jun 11, 2018
1 parent
bece500
commit 839ed1f
Showing
669 changed files
with
365,547 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using ESRI.ArcGIS.Geodatabase; | ||
|
||
public class CSharpHelper | ||
{ | ||
public static void IGeometryDefEdit_set_GridSize_2(IGeometryDefEdit igde, int Index, double A_2) | ||
{ | ||
// This is not directly accessible from VB.NET in VS2015 so we implement in C# | ||
igde.set_GridSize(Index, A_2); | ||
} | ||
|
||
public static void IFieldsEdit_set_Field_2(IFieldsEdit ife, int Index, IField A_2) | ||
{ | ||
// This is not directly accessible from VB.NET in VS2015 so we implement in C# | ||
ife.set_Field(Index, A_2); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{0FA53E8B-D384-4942-B2A8-581153212740}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>CSharpHelper</RootNamespace> | ||
<AssemblyName>CSharpHelper</AssemblyName> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="ESRI.ArcGIS.Geodatabase, Version=10.4.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<EmbedInteropTypes>False</EmbedInteropTypes> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="CSharpHelper.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("CSharpHelper")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Amazon.com")] | ||
[assembly: AssemblyProduct("CSharpHelper")] | ||
[assembly: AssemblyCopyright("Copyright © Amazon.com 2017")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("0fa53e8b-d384-4942-b2a8-581153212740")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Public Class AboutButton | ||
Inherits ESRI.ArcGIS.Desktop.AddIns.Button | ||
|
||
Public Sub New() | ||
Enabled = DSAS.enabled | ||
End Sub | ||
|
||
Protected Overrides Sub OnClick() | ||
Dim frm As New SplashScreen | ||
frm.ShowDialog() | ||
End Sub | ||
|
||
Protected Overrides Sub OnUpdate() | ||
Enabled = DSAS.enabled | ||
End Sub | ||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Public Class Amy_Button | ||
Inherits ESRI.ArcGIS.Desktop.AddIns.Button | ||
|
||
Public Sub New() | ||
|
||
End Sub | ||
|
||
Protected Overrides Sub OnClick() | ||
'transectConvertFromV4ToV5("AE03", "offshore") | ||
|
||
'Dim a = getSummary() | ||
'Dim b = Newtonsoft.Json.JsonConvert.SerializeObject(a, Newtonsoft.Json.Formatting.Indented) | ||
'If b.Length > 999 Then | ||
' b = Left(b, 999) + "..." + vbCrLf + " [truncated]" | ||
'End If | ||
'MsgBox(b) | ||
|
||
'MsgBox(runCalcs().ToString) | ||
End Sub | ||
|
||
Protected Overrides Sub OnUpdate() | ||
Enabled = My.ArcMap.Application IsNot Nothing | ||
End Sub | ||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Public Class AttributeToolbarButton | ||
Inherits ESRI.ArcGIS.Desktop.AddIns.Button | ||
|
||
Public Sub New() | ||
Enabled = DSAS.enabled | ||
End Sub | ||
|
||
Protected Overrides Sub OnClick() | ||
Try | ||
Dim frm As New AttributeToolbarForm | ||
'set the status bar | ||
If DSAS.statusBar Is Nothing Then | ||
DSAS.statusBar = My.ThisApplication.StatusBar | ||
End If | ||
|
||
frm.ShowDialog() | ||
Catch ex As System.Exception | ||
DSASUtility.handleException(ex) | ||
Exit Try | ||
End Try | ||
End Sub | ||
|
||
Protected Overrides Sub OnUpdate() | ||
Enabled = DSAS.enabled | ||
End Sub | ||
End Class |
Oops, something went wrong.