예제 #1
0
        public StatusBar()
        {
            InitializeComponent();
            int.TryParse(WindowUtil.GetMouseSpeed().ToString(), out mouseSpeed);
            PoiterSpeed.Value   = mouseSpeed;
            PoiterSpeed.Maximum = 20;
            PoiterSpeed.BeginInit();

            PoiterVoice.Maximum = 100;
            PoiterVoice.BeginInit();
            PoiterVoice.Value = WindowUtil.GetVolume();
        }
예제 #2
0
        public PersonalSetting(int speed = 2, int screenSize = 2, int sound = 0, int mucic = 0, int scroll = 50)
        {
            MouseSpeed = WindowUtil.GetMouseSpeed();
            Voice      = WindowUtil.GetVolume();
            Light      = WindowUtil.GetLight();


            AoeSpeed   = speed;
            ScreenSize = screenSize;
            Music      = mucic;
            Sound      = sound;
            Scroll     = scroll;
        }