private void buttonLogin_Click(object sender, EventArgs e) { try { Rally.Initialize(textBoxUser.Text, textBoxPass.Text, RallyServer); groupBox1.Enabled = false; groupBox2.Enabled = tabControl1.Enabled = buttonPlot.Enabled = true; } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }