Exemplo n.º 1
0
 public void HideIcon()
 {
     if (MpProductsDrawableOverrule.MpProductsDrawableOverruleInstance != null)
     {
         UserConfigFile.SetValue(UserConfigFile.ConfigFileZone.Settings, "mpProductInsert", "ShowIcon",
                                 false.ToString(), true);
         Overrule.RemoveOverrule(RXObject.GetClass(typeof(Entity)), MpProductsDrawableOverrule.Instance());
         MpProductsDrawableOverrule.MpProductsDrawableOverruleInstance = null;
         AcApp.DocumentManager.MdiActiveDocument.Editor.Regen();
     }
 }
Exemplo n.º 2
0
 public static MpProductsDrawableOverrule Instance()
 {
     return(MpProductsDrawableOverruleInstance ?? (MpProductsDrawableOverruleInstance = new MpProductsDrawableOverrule()));
 }