private void Raporlar_Click(object sender, EventArgs e)
        {
            Rapor yeniMdi = Rapor.RaporInstance();

            yeniMdi.MdiParent = Program.Owner;
            yeniMdi.Show();
        }
Beispiel #2
0
 public static Rapor RaporInstance()
 {
     if (raporInstance != null)
     {
         return(raporInstance);
     }
     else
     {
         return(raporInstance = new Rapor());
     }
 }
Beispiel #3
0
 private void Rapor_FormClosed(object sender, FormClosedEventArgs e)
 {
     raporInstance = null;
 }