public static void Mc_DoubleClick(MObject mo) { string sTag = (string)mo.Tag; string[] parms = sTag.Split('|'); if (parms.Length > 0) { NavigationBarDecoder dec = new NavigationBarDecoder(); Vector3d v = dec.Decode(parms[1]); MMessageBus.Status(mo, "Teleporting to:" + parms[1] + " - " + parms[2]); MMessageBus.TeleportRequest(mo, v, Quaterniond.Identity); } }
public NavBarControl() { InitializeComponent(); Decoder = new NavigationBarDecoder(); }