示例#1
0
        protected void NewRubricCreator(object sender, EventArgs e)
        {
            CreateAssignmentForm assign = new CreateAssignmentForm();
            assign.ShowDialog();

            int assignID = dbConnention.AddAssignment(assign.assignment);   // creates a new assignment into the database
            setCriteria(assign.CriteriaTree, -1, assignID);
        }
示例#2
0
        protected void NewRubricCreator(object sender, EventArgs e)
        {
            CreateAssignmentForm assign = new CreateAssignmentForm();
            assign.ShowDialog();

            // Set the Parent Form of the Child window.
               // newMDIChild.MdiParent = this;
            // Display the new form.

            if (assign.IsClosed == true)
            {
                int assignID = dbConnention.AddAssignment(assign.assignment);   // creates a new assignment into the database
                setCriteria(assign.CriteriaTree, assignID);
            }
        }