private void Button_Click(object sender, RoutedEventArgs e) { Config config = new Config(); config.Show(); }
public void SaveConfig(Config config) { BackgroundChatColor = config.BackgroundChatColor; BackgroundUserColor = config.BackgroundUserColor; BackgroundTextBoxColor = config.BackgroundTextBoxColor; UserColor = config.UserColor; TextColor = config.TextColor; JoinPartColor = config.JoinPartColor; TextBoxTextColor = config.TextBoxTextColor; DateFormat = config.DateFormat; ShowJoinPart = config.ShowJoinPart; FlashOnUser = config.FlashOnUser; FlashOnText = config.FlashOnText; KeepOnTop = config.KeepOnTop; ApplySettings(); }