コード例 #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 UpdateLines(bool save = true)
        {
            int Lines = GetScrollLines.GetSpeed();

            LinesSlider.Value  = Lines;
            LinesLabel.Content = Lines;
            profiles[IndexofCurrentProfile].ScrollSpeed = Lines;
            if (save)
            {
                SaveData();
            }
        }