private void ConfirmButton_Click(object sender, RoutedEventArgs e) { //((ModAPI.Data.Game)Task.Parameters[0]).GamePath = this.GamePath.Text; if (Task.Check()) { Task.Complete(); this.Close(); } }
private void ConfirmButton_Click(object sender, RoutedEventArgs e) { Configurations.Configuration.SetPath("Steam", this.SteamPath.Text, true); if (Task.Check()) { Completed = true; Task.Complete(); this.Close(); } }