Example #1
0
 private void Instructornewlb_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     newinstructor = new AddNewInstructor(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     newinstructor.Size = this.Size;
     this.Controls.Add(newinstructor);
     newinstructor.BringToFront();
 }
Example #2
0
 public EditCourse(Course course, IUpdate caller)
 {
     InitializeComponent();
     newinstructor = new AddNewInstructor(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     newmaterial = new AddNewMaterial(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     calling     = caller;
     this.course = course;
     wireup();
 }