private void button1_Click(object sender, EventArgs e) { SeparateClass separateClass = new SeparateClass(); separateClass.displayName(separateDataStorage); displayBDay(); }
private void button1_Click(object sender, EventArgs e) { separateDataStorage.nameForm1 = textBox1.Text; separateClass.displayName(textBox1.Text); }