예제 #1
0
파일: MainWindow.cs 프로젝트: maff/de2ue
 private void buttonFahrerBearbeiten_Click(object sender, EventArgs e)
 {
     if (this.fetchSelectedFahrerRow())
     {
         Fahrer fahrerForm = new Fahrer(int.Parse(this.selectedFahrerRow.Cells["Fahrer_ID"].Value.ToString()));
         fahrerForm.FormClosed += new FormClosedEventHandler(fahrerForm_FormClosed);
         fahrerForm.ShowDialog();
     }
 }
예제 #2
0
파일: MainWindow.cs 프로젝트: maff/de2ue
 private void buttonNewDriver_Click(object sender, EventArgs e)
 {
     Fahrer fahrerForm = new Fahrer();
     fahrerForm.FormClosed += new FormClosedEventHandler(fahrerForm_FormClosed);
     fahrerForm.ShowDialog();
 }