示例#1
0
        private static void CommandWithIR_OnEnterPressed()
        {
            container.SuspendButtonEvents();
            Snatch3r snatch3r = new Snatch3r(Snatch3rBehaviour.CommandedRemotely);

            snatch3r.Start();
            container.ResumeButtonEvents();
        }
示例#2
0
        private static void GarbageCollection_OnEnterPressed()
        {
            container.SuspendButtonEvents();
            Snatch3r snatch3r = new Snatch3r(Snatch3rBehaviour.GarbageCollection);

            snatch3r.Start();
            container.ResumeButtonEvents();
        }
示例#3
0
        private static void LineFollowing_OnEnterPressed()
        {
            container.SuspendButtonEvents();
            Snatch3r snatch3r = new Snatch3r(Snatch3rBehaviour.LineFollowing);

            snatch3r.Start();
            container.ResumeButtonEvents();
        }