private static void Main() { LsfConfig.Init(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
private void sensTrackBar_Scroll(object sender) { var val = sensTrackBar.Value; sensLabel.Text = $"Required sensitivity: {val}"; LsfConfig.Get().StaticSensitivityValue = val; LsfConfig.Save(); }
private void Form1_Load(object sender, EventArgs e) { sensTrackBar.Value = LsfConfig.Get().StaticSensitivityValue; startWithWindowsCheckbox.Checked = AutorunManager.IsAutorunning(); }