Ejemplo n.º 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);
        }
Ejemplo n.º 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);
            }
        }