public void RefreshOptions() { Tuple <bool, string> e = ExpandedINI.GetOptions(); CustomCheckbox.IsChecked = e.Item1; CustomEXE.Text = e.Item2; }
private void BackButton_Click(object sender, MouseButtonEventArgs e) { ((MainWindow)Application.Current.MainWindow).HideOptions(); ExpandedINI.WriteOptions(Convert.ToBoolean(CustomCheckbox.IsChecked), CustomEXE.Text); }