示例#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);
        }
示例#2
0
        public void UpdateClick(bool save = true)
        {
            int ClickSpeed = GetDubbleClick.GetClickSpeed();

            DubbleClickTimeSlider.Value  = ClickSpeed;
            DubbleClickTimeLabel.Content = ClickSpeed;
            profiles[IndexofCurrentProfile].DubbleClick = ClickSpeed;
            if (save)
            {
                SaveData();
            }
        }