Ejemplo n.º 1
0
 public void OnApprove(object sender, __FLInstanceApproveEventArgs value)
 {
     if (__Approve != null)
     {
         __Approve(sender, value);
     }
 }
Ejemplo n.º 2
0
        private void instance___Approve(object sender, __FLInstanceApproveEventArgs e)
        {
            object s = GetService(typeof(FLPersistenceService));
            bool v = ((FLInstance)sender).V;
            if (s != null && v)
            {

                if (((FLInstance)sender).FLFlag == 'Z')
                {
                    RejectFLInstance((FLInstance)sender);
                }
                else
                {
                    UnloadFLInstance((FLInstance)sender);
                }
            }
        }