public MainContainer() { masterObject = new AllTheShinies(); masterObject.LoginPreparations(); string name = masterObject.givenName; InitializeComponent(); TestrailPanel.Hide(); JiraPanel.Hide(); LoginPanel.Show(); GenRep.Show(); GenRepPlan.Hide(); GenRepJira.Enabled = false; TestplanList.Hide(); ReadtheJira.Enabled = false; userBox.Text = "Welcome " + name; }
private void TestPlan_CheckedChanged(object sender, EventArgs e) { if (TestPlan.Checked) { GetPlansB.Show(); TestplanList.Show(); GetRun.Hide(); RunsList.Hide(); GenRep.Hide(); GenRepPlan.Show(); } else { GetPlansB.Hide(); TestplanList.Hide(); GetRun.Show(); RunsList.Show(); GenRepPlan.Hide(); GenRep.Show(); GenRep.Enabled = true; } }