Пример #1
0
 protected virtual bool IsSIBoxValid(StandaloneIconPlantBox box)
 {
     if (box == null)
     {
         return(false);
     }
     if (box.NotifyIcon == null)
     {
         return(false);
     }
     return(true);
 }
 protected virtual bool IsSIBoxValid(StandaloneIconPlantBox box)
 {
     if (box == null)
       {
     return false;
       }
       if (box.NotifyIcon == null)
       {
     return false;
       }
       return true;
 }
Пример #3
0
        public virtual void Process(InitPlantSIArgs args)
        {
            StandaloneIconPlantBox siBox = args.SIBox;

            this.ResolveIAdvanced(args);
            if (siBox.NotifyIcon != null)
            {
                return;
            }
            this.ResolveISimple(args);
            if (siBox.NotifyIcon == null)
            {
                args.Abort();
            }
        }