private void Form1_Load(object sender, EventArgs e) { AssignDataTypes(); SearchAtt.Hide(); SearchAttTextBox.Hide(); StringConc.Hide(); label1.Hide(); ChosenCol2.Hide(); GetTables(); }
private void FunctionsList_SelectedIndexChanged(object sender, EventArgs e) { SearchAtt.Hide(); SearchAttTextBox.Hide(); label1.Hide(); ChosenCol2.Hide(); StringConc.Hide(); if (FunctionsList.SelectedItem.ToString() == "Count") { SearchAtt.Text = "Item To Be Counted"; SearchAtt.Show(); SearchAttTextBox.Show(); } if (FunctionsList.SelectedItem.ToString() == "StringConcatenation") { label1.Show(); ChosenCol2.Show(); } }