Example #1
0
        public frmStuDashboard(string user, string firstName)
        {
            InitializeComponent();
            this.Text = ("Welcome " + firstName + "!");

            //Form load, instantiate subforms
            frmStuDetails           = new frmStuDetails(user, false);
            frmStuDetails.MdiParent = this;

            frmEnrolments           = new frmEnrolments(user, false);
            frmEnrolments.MdiParent = this;

            frmProject           = new frmProject(user, false, false);
            frmProject.MdiParent = this;

            frmTeamDetails           = new frmTeamDetails(user, false, false);
            frmTeamDetails.MdiParent = this;

            frmMeeting           = new frmMeeting(user, false);
            frmMeeting.MdiParent = this;

            frmStuAssessment           = new frmStuAssessment(user, false);
            frmStuAssessment.MdiParent = this;
        }
 private void allocationsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmStuAssessment           = new frmStuAssessment(User, true);
     frmStuAssessment.MdiParent = this;
     openStuAssessmentForm();
 }