Example #1
0
 private void btnListAverageMark_Click(object sender, EventArgs e)
 {
     listBox.Items.Clear();
     for (int i = 0; i < TalkToDatebase.AverageMark().Count; i++)
     {
         string print = TalkToDatebase.AverageMark()[i].Item1 + "\t\t" + TalkToDatebase.AverageMark()[i].Item2;
         listBox.Items.Add(print);
     }
 }
Example #2
0
 private void btnListPapers_Click(object sender, EventArgs e)
 {
     listBox.Items.Clear();
     for (int i = 0; i < TalkToDatebase.Allpaper().Item1.Count; i++)
     {
         string print = TalkToDatebase.Allpaper().Item1[i] + "\t\t" + TalkToDatebase.Allpaper().Item2[i];
         listBox.Items.Add(print);
     }
 }
Example #3
0
 private void btnListDue_Click(object sender, EventArgs e)
 {
     listBox.Items.Clear();
     for (int i = 0; i < TalkToDatebase.DueToNextTwoWeeks().Item1.Count; i++)
     {
         string print = TalkToDatebase.DueToNextTwoWeeks().Item1[i] + "\t\t" + TalkToDatebase.DueToNextTwoWeeks().Item2[i] +
                        "\t\t" + TalkToDatebase.DueToNextTwoWeeks().Item3[i] + "\t\t" + TalkToDatebase.DueToNextTwoWeeks().Item4[i];
         listBox.Items.Add(print);
     }
 }