private void ValidatePaths() { if (tbGamePath == null || tbLauncherPath == null) { return; } tbGamePath.GetBindingExpression(TextBox.TextProperty).UpdateSource(); tbLauncherPath.GetBindingExpression(TextBox.TextProperty).UpdateSource(); }