Exemplo n.º 1
0
        public AutoHotkeySuspendedMode(bool alwaysShow)
        {
            this.InitializeComponent();

            this.ShowInTaskbar = false;

            this.alwaysShow = alwaysShow;
            this.InitializeSimpleNotification(false, false);

            showTimer = new SafeTimer(100, ShowTimer);
            showTimer.Start();
        }
Exemplo n.º 2
0
 public MapPictureBox()
 {
     mapImage = null;
     mapCoordinate = null;
     beginCoordinate = null;
     sourceWidth = 0;
     beginWidth = 0;
     targets = new List<Target>();
     paths = new List<TibiaPath>();
     map = null;
     otherMap = null;
     refreshTimer = new SafeTimer(50, RefreshMapTimer);
 }
Exemplo n.º 3
0
 public static void Initialize()
 {
     updateTimer = new SafeTimer(50, UpdateTimer_Tick);
     updateTimer.Start();
 }
Exemplo n.º 4
0
 private void HealthList_Load(object sender, EventArgs e)
 {
     timer = new SafeTimer(10, Timer_Elapsed);
     timer.Start();
 }
Exemplo n.º 5
0
 public static void Initialize()
 {
     updateTimer = new SafeTimer(50, UpdateTimer_Tick);
     updateTimer.Start();
 }
Exemplo n.º 6
0
 public CurveBar()
 {
     updateTimer = new SafeTimer(10, updateTimer_Tick);
     updateTimer.Start();
     alwaysShow = SettingsManager.getSettingBool("AlwaysShowHUD");
 }
Exemplo n.º 7
0
 private void StatusBar_Load(object sender, EventArgs e)
 {
     timer = new SafeTimer(10, Timer_Tick);
     timer.Start();
 }
Exemplo n.º 8
0
        public static void Initialize()
        {
            try {
                InitializeMemoryAddresses();

                healthTimer = new SafeTimer(10, UpdateHealth);
                healthTimer.Start();

                manaTimer = new SafeTimer(10, UpdateMana);
                manaTimer.Start();

                expTimer = new SafeTimer(10, UpdateExp);
                expTimer.Start();

                screenshotTaken = false;
                screenshotTimer = new System.Timers.Timer(30000);
                screenshotTimer.Elapsed += ResetScreenshotTaken;
                screenshotTimer.AutoReset = false;
            } catch (Exception ex) {
                MainForm.mainForm.DisplayWarning("Failed to read memory addresses file: " + ex.Message);
            }
            InitializeBattleList();
        }