private void ButtonDoNotUseTwitch_Click(object sender, EventArgs e) { if (!mainLink.IsTwitchConnectionNull()) { mainLink.DisconnectTwitchBot(); } Properties.Settings.Default.ConnectToTwitch = false; mainLink.checkBoxPostToTwitch.Checked = false; Hide(); }
private void ButtonDoNotUseTwitch_Click(object sender, EventArgs e) { if (!mainLink.IsTwitchConnectionNull()) { mainLink.DisconnectTwitchBot(); } ApplicationSettings.Current.Twitch.ConnectToTwitch = false; ApplicationSettings.Current.Save(); mainLink.checkBoxPostToTwitch.Checked = false; Hide(); }