示例#1
0
 private void Instructornewlb_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     newinstructor = new AddNewInstructor2(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     newinstructor.Size = this.Size;
     this.Controls.Add(newinstructor);
     newinstructor.BringToFront();
 }
示例#2
0
 public AddNewCourse(IExitAddNewCourse caller)
 {
     InitializeComponent();
     newinstructor = new AddNewInstructor2(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     newmaterial = new AddNewMaterial2(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     exit = caller;
     wireup();
 }