public static void Mc_RightClick(MObject mo) { if (mo.OwnerID.Equals(Globals.UserAccount.UserID)) { ProductInfoForm form = new ProductInfoForm(); form.Setup(mo); form.Show(Globals.GUIThreadOwner); } }
public static void Mc_DoubleClick(MObject mo) { if (string.IsNullOrEmpty((string)mo.Tag)) { return; } MMessageBus.Status(null, "Opening:" + mo.Tag); ProductInfoForm form = new ProductInfoForm(); form.Setup(mo, true); form.Show(Globals.GUIThreadOwner); }