예제 #1
0
 private void miTalep_Click(object sender, EventArgs e)
 {
     if (frmR == null)
     {
         frmR           = new frmRentAdd();
         frmR.MdiParent = this;
         frmR.Show();
         frmR.FormClosed += FrmR_FormClosed;
     }
     else
     {
         return;
     }
 }
예제 #2
0
 public void FrmR_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmR.Dispose();
     frmR = null;
 }