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(); }
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(); }