private void MainForm_Shown(object sender, EventArgs e)
 {
     try
     {
         TTimer.Start();
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         Application.Exit();
     }
 }
        private void Form1_Load(object sender, EventArgs e)
        {
            InitHotkey();
            TTimer.Start();

            B_StorePosition.Text       = kStorePosition.ToString();
            B_LoadPosition.Text        = kLoadPosition.ToString();
            B_KeyForward.Text          = kForward.ToString();
            B_KeyUp.Text               = kUp.ToString();
            B_KeyDown.Text             = kDown.ToString();
            B_kFreezeHealthToggle.Text = kFreezeHealthToggle.ToString();

            bitmap  = new Bitmap(vectorDisplay.Width, vectorDisplay.Height);
            gBuffer = Graphics.FromImage(bitmap);
        }