Example #1
0
 // Araba Eklemeyi sağlayan method
 private void miAddCar_Click_1(object sender, EventArgs e)
 {
     if (frmC == null)
     {
         frmC           = new FrmCarAdd();
         frmC.MdiParent = this;
         frmC.Show();
         frmC.FormClosed += frmC_FormClosed;
     }
     else
     {
         return;
     }
 }
Example #2
0
 private void frmC_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmC.Dispose();
     frmC = null;
 }