Example #1
0
        static void Main(string[] args)
        {
            var hookstatus = int.Parse(args[0]);

            AllInputsCommander AIC = new AllInputsCommander(hookstatus);

            AIC.StartLoop();
        }
Example #2
0
        public MainWindow()
        {
            var hookstatus = int.Parse(App.mArgs[0]);

            InitializeComponent();
            if (hookstatus == 0)
            {
                MessageBox.Show("no hook activated (see plugins option), the program will stop", "Hook Error");
            }
            AllInputsCommander AIC = new AllInputsCommander(hookstatus);

            AIC.StartLoop();
            //System.Windows.Application.Current.Shutdown();
        }