public frmLocation(LocationPlugin plugin) { InitializeComponent(); String strPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); MainMap.CacheLocation = strPath + "\\cache"; _plugin = plugin; InitMap(); showDefaultMap(); }