private void Form1_Load(object sender, EventArgs e) { if (MessageBox.Show("Warning: this software is delivered AS IS and without any warranty. You are fully responsible for any outcomes related to the usage of this application.", "Disclaimer", MessageBoxButtons.OKCancel) == DialogResult.Cancel) { this.Close(); } samplingrate.SelectedIndex = 0; client = new Twtfb(); client.Load(); facebook.Text = client.Get("facebook"); twitch.Text = client.Get("twitch"); streamlink_test.Text = client.Get("streamlink") == "" ? "ERROR" : "OK"; ffmpeg_test.Text = client.Get("ffmpeg") == "" ? "ERROR" : "OK"; }