Ejemplo n.º 1
0
        public Profile CurrentData()
        {
            Profile profile = new Profile();

            profile.Name        = (string)ProfileNow.Header;
            profile.MouseSpeed  = MouseSpeedGet.GetMouseSpeed();
            profile.ScrollSpeed = GetScrollLines.GetSpeed();
            profile.DubbleClick = GetDubbleClick.GetClickSpeed();
            return(profile);
        }
Ejemplo n.º 2
0
        public void UpdateSpeed(bool save = true)
        {
            int speed = MouseSpeedGet.GetMouseSpeed();

            MouseSpeedSlider.Value  = speed;
            MouseSpeedLabel.Content = speed;
            profiles[IndexofCurrentProfile].MouseSpeed = speed;
            if (save)
            {
                SaveData();
            }
        }