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