コード例 #1
0
       /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="mmControl">Controller object</param>
        /// <history>
        ///     <Created  2 May 2014>Arun Gopinath</Created>
        ///     <Modified 2 May 2014></Modified>
        /// </history>
        public frmDrillScreenSettings (CtrlAdmin ctr)
        {
            InitializeComponent ();
            control = ctr;

            this.SetupTooltips();
        }
コード例 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="Control">Controller object</param>
        /// <history>
        ///     <Created  1 May 2014>Arun Gopinath</Created>
        ///     <Modified 1 May 2014></Modified>
        /// </history>
        public frmStudentReport(CtrlAdmin ctr)
        {
            InitializeComponent();
            control = ctr;

            currentAssign = new Assignment();
            this.SetupTooltips();
        }
コード例 #3
0
      /// <summary>
        /// Constructor
        /// </summary>
        /// <param name=""></param>
        /// <history>
        ///     <Created  1 May 2014>Arun Gopinath</Created>
        ///     <Modified 1 May 2014></Modified>
        /// </history>
        public frmRemoveProblemSet (CtrlAdmin ctrl)
        {
            control = ctrl;
            InitializeComponent ();

            problemSetBindingSource.DataSource = control.ProblemSetList;

            this.SetupTooltips();
        }
コード例 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mmControl">Controller object</param>
 /// <history>
 ///     <Created  20 April 2014>Arun Gopinath</Created>
 ///     <Modified 20 April 2014></Modified>
 /// </history>
 public frmModifyUser ( CtrlAdmin ctrl )
 {
     InitializeComponent();
     control = ctrl;
     studentBindingSource.DataSource = control.StudentList;
 
     //Create the edit user form. Do not display it here.
     editUserForm = new frmEditUser ( control );
     this.SetupTooltips();
 }
コード例 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mmControl">Controller object</param>
 /// <history>
 ///     <Created  20 April 2014>Arun Gopinath</Created>
 ///     <Modified 20 April 2014></Modified>
 /// </history>
 public frmAddUser ( CtrlAdmin ctrl )
 {
     InitializeComponent ();
     control = ctrl;
     inputValidator = new Validator ( control );
                 
     studentBindingSource.DataSource = control.StudentList;
     this.SetupTooltips();
 }
コード例 #6
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="mmControl">Controller object</param>
        /// <history>
        ///     <Created  1 May 2014>Arun Gopinath</Created>
        ///     <Modified 1 May 2014></Modified>
        /// </history>
        public frmProblemSetDefaults (CtrlAdmin ctr)
        {
            InitializeComponent ();
            control = ctr;

            this.SetupTooltips();
        }
コード例 #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mmControl">Controller object</param>
 /// <history>
 ///     <Created  24 April 2014>Arun Gopinath && Jeff Bunce</Created>
 ///     <Modified 24 April 2014></Modified>
 /// </history>
 public Validator ( CtrlAdmin controller )
 {
     mmControl = controller;
 }
コード例 #8
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mmControl">Controller object</param>
 /// <history>
 ///     <Created  3 May 2014>Arun Gopinath</Created>
 ///     <Modified 3 May 2014></Modified>
 /// </history>        
 public frmSummary ( CtrlAdmin ctr )
 {
     InitializeComponent ();
     control = ctr;
     studentBindingSource.DataSource = control.StudentList;
 }
コード例 #9
0
        /// <summary> 
        /// Instantiate frmAddProblemSet; tie this form to a control object
        /// </summary>
        /// <author> Jeff Bunce </author>
        public frmAddProblemSet(CtrlAdmin mmControl)
        {
            InitializeComponent();
            control = mmControl;
            problemSetBindingSource.DataSource = control.ProblemSetList;
            inputValidator = new Validator ( control );

            this.SetupTooltips();
        }
コード例 #10
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="mmControl">Controller object</param>
        /// <history>
        ///     <Created  18 April 2014>Arun Gopinath</Created>
        ///     <Modified 18 April 2014></Modified>
        /// </history>
        public frmRemoveUsers (CtrlAdmin ctrl)
        {
            control = ctrl;
            InitializeComponent();

            studentBindingSource.DataSource = control.StudentList;
        }
コード例 #11
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="mmControl">Controller object</param>
        /// <history>
        ///     <Created  23 April 2014>Arun Gopinath && Jeff Bunce</Created>
        ///     <Modified 23 April 2014></Modified>
        /// </history>
        public frmAssignStudents ( CtrlAdmin ctrl )
        {
            InitializeComponent ();
            // Get the control (with all data sets bound to it)
            control = ctrl;

            // Set up Student Binding
            studentBindingSource.DataSource = control.StudentList;

            // Set up Problem Set Binding
            problemSetBindingSource = new BindingSource();
            problemSetBindingSource.DataSource = control.ProblemSetList;
            this.SetupTooltips();
        }
コード例 #12
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="mmControl">Controller object</param>
        /// <history>
        ///     <Created  20 April 2014>Arun Gopinath</Created>
        ///     <Modified 20 April 2014></Modified>
        /// </history>        
        public frmEditUser ( CtrlAdmin ctrl )
        {
            control = ctrl;
            InitializeComponent ();
            inputValidator = new Validator ( ctrl );

            this.SetupTooltips();
        }
コード例 #13
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mmControl">Controller object</param>
 /// <history>
 ///     <Created  3 May 2014>Arun Gopinath</Created>
 ///     <Modified 3 May 2014></Modified>
 /// </history>
 public frmStudentDetail ( CtrlAdmin ctr )
 {
     InitializeComponent ();
     control = ctr;
     studentReport = new frmStudentReport ( control );
     studentBindingSource.DataSource = control.StudentList;
 }