Esempio n. 1
0
 static void ExecLogic2(Object obj)
 {
     if (obj is LogicContainer)
     {
         LogicContainer lc = obj as LogicContainer;
         lc.ExecuteLogic();
     }
 }
Esempio n. 2
0
        static void ExecLogic1(Object obj)
        {
            LogicContainer c1 = obj as LogicContainer;

            if (c1 != null)
            {
                c1.ExecuteLogic();
            }
        }