public PrototypeDemo(StudentPrototype prototype) { InitializeComponent(); this.prototype = prototype; tb1.Text = prototype["name"]; tb2.Text = prototype["class"]; tb3.Text = prototype["status"]; }
public PrototypeDemo() { InitializeComponent(); prototype = new AssignStudent(); }