private void StudentWiseResultPrint_Load(object sender, EventArgs e)
 {
     StudentProfile sp = new StudentProfile();
     List<string> id = sp.getID();
     for (int i = 0; i < id.Count; i++) {
         Id_comboBox.Items.Add(id[i]);
     }
     Id_comboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     Id_comboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
 }
コード例 #2
0
 private void InsertPayment_Load(object sender, EventArgs e)
 {
     StudentProfile sp = new StudentProfile();
     date = dateTimePicker1.Value.ToShortDateString();
     List<string> id = sp.getID();
     for (int i = 0; i < id.Count; i++) {
         Id_comboBox.Items.Add(id[i]);
     }
     Id_comboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     Id_comboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
 }
コード例 #3
0
 private void ViewStudent_Load(object sender, EventArgs e)
 {
     StudentProfile sp = new StudentProfile();
     showInfo_comboBox.Items.Add("View All Information Of A Student");
     showInfo_comboBox.Items.Add("Students Of Particular Blood Group");
     showInfo_comboBox.Items.Add("University Information And Educational Background");
     showInfo_comboBox.Items.Add("Number Of Student In Universities");
     List<string> ids;
     ids = sp.getID();
     for (int j = 0; j < ids.Count; j++)
     {
        ID_comboBox.Items.Add(ids[j]);
     }
 }