private void button1_Click(object sender, RoutedEventArgs e) { MyUC.selectSpName = textBox1.Text; MyUC.deleteSpName = textBox3.Text; MyUC.insertSpName = textBox4.Text; MyUC.updateSpName = textBox5.Text; MyUC.getData(textBox.Text); }
private void button2_Click(object sender, RoutedEventArgs e) { MyUC.blockColumn(Convert.ToInt32(textBox2.Text)); }