public frmAssignGrades()
 {
     InitializeComponent();
     StartPosition    = FormStartPosition.CenterScreen;
     courseDataAccess = new CourseDataAccess();
     comboBox2.Items.Add("Bangla");
     comboBox2.Items.Add("English");
     comboBox2.Items.Add("Math");
 }
Exemplo n.º 2
0
 public frmGrades()
 {
     login = new LoginHistoryDataAccess();
     InitializeComponent();
     StartPosition       = FormStartPosition.CenterScreen;
     courseDataAcces     = new CourseDataAccess();
     getGrades           = new List <string>();
     userId              = login.getLastLogin();
     getGrades           = courseDataAcces.getGrades(userId);
     textBoxBangla.Text  = getGrades[1];
     textBoxEnglish.Text = getGrades[2];
     textBoxMath.Text    = getGrades[3];
 }
Exemplo n.º 3
0
        public frmCourseTechInfo()
        {
            InitializeComponent();
            tc = new List <string>();

            courseDataAcces = new CourseDataAccess();
            login           = new LoginHistoryDataAccess();

            tc = courseDataAcces.getTeacherBySub("Bangla");
            textBoxBNG.Text       = tc[0];
            textBoxBNGTechEm.Text = tc[1];

            tc = courseDataAcces.getTeacherBySub("English");
            textBoxENG.Text       = tc[0];
            textBoxENGTechEm.Text = tc[1];

            tc = courseDataAcces.getTeacherBySub("Math");
            textBoxMATH.Text       = tc[0];
            textBoxMATHTechEm.Text = tc[1];
        }