About the Using MOLE symbol-based graphics with interactive maps Sample
[C#]
Program.cs
using System; using System.Collections.Generic; using System.Windows.Forms; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS; namespace MoleSymbols { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] public static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); RuntimeManager.Bind(ProductCode.Engine); Application.Run(new MainForm()); } } }
[Visual Basic .NET]
Program.vb
Imports System Imports System.Collections.Generic Imports System.Windows.Forms Imports ESRI.ArcGIS.esriSystem Namespace MoleSymbols NotInheritable Class Program Private Sub New() End Sub ''' <summary> ''' The main entry point for the application. ''' </summary> <STAThread()> _ Public Shared Sub Main() Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(False) ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine) Application.Run(New MainForm()) End Sub End Class End Namespace