Example #1
0
        private void MainForm_Load(object sender, System.EventArgs e)
        {
            actHook          = new UserActivityHook();
            actHook.KeyDown += new KeyEventHandler(MyKeyUp);
            actHook.KeyDown += new KeyEventHandler(MyKeyDown);

            if (!this.RefreshPointers())
            {
                //string msg = "Can't find WoW. Please run WoW and login to your character before using Mobius.";
                //string caption = "Error! Can't find WoW";
                //MessageBox.Show(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Error);
                //Application.Exit();
            }
            this.LoadLocationsFromFile();
            this.RefreshGUIValues();
            this.timRefreshCoords.Enabled = true;
            this.update.Enabled           = true;
        }
Example #2
0
        private void MainForm_Load(object sender, System.EventArgs e)
        {
            actHook= new UserActivityHook();
            actHook.KeyDown+=new KeyEventHandler(MyKeyUp);
            actHook.KeyDown+=new KeyEventHandler(MyKeyDown);

            if (!this.RefreshPointers()) {
                //string msg = "Can't find WoW. Please run WoW and login to your character before using Mobius.";
                //string caption = "Error! Can't find WoW";
                //MessageBox.Show(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Error);
                //Application.Exit();
            }
            this.LoadLocationsFromFile();
            this.RefreshGUIValues();
            this.timRefreshCoords.Enabled = true;
            this.update.Enabled = true;
        }