bool GetStartWithWindows() { return Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", false).GetValue("DXVcs2Git") != null; } void OnStartWithWindowsChanged() {