Exemplo n.º 1
0
 private void listView1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (listView1.SelectedIndices.Count == 1)
     {
         //MotherForm.SetWaitCursor();
         ScoreEditor.SchoolYearScoreEditor editor = new ScoreEditor.SchoolYearScoreEditor(listView1.SelectedItems[0].SubItems[0].Text, listView1.SelectedItems[0].SubItems[1].Text, _CurrentID);
         editor.FormClosed += new FormClosedEventHandler(editor_FormClosed);
         //MotherForm.ResetWaitCursor();
         editor.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void btnView_Click(object sender, EventArgs e)
 {
     ScoreEditor.SchoolYearScoreEditor editor = new ScoreEditor.SchoolYearScoreEditor(listView1.SelectedItems[0].SubItems[0].Text, listView1.SelectedItems[0].SubItems[1].Text, _CurrentID);
     editor.FormClosed += new FormClosedEventHandler(editor_FormClosed);
     editor.ShowDialog();
 }
Exemplo n.º 3
0
 private void buttonX1_Click(object sender, EventArgs e)
 {
     ScoreEditor.SchoolYearScoreEditor editor = new ScoreEditor.SchoolYearScoreEditor(_CurrentID);
     editor.FormClosed += new FormClosedEventHandler(editor_FormClosed);
     editor.ShowDialog();
 }