コード例 #1
0
 public void dataClose(String naam)
 {
     if (naam == "klant")
     {
         this.klanten = null;
     }
     if (naam == "prospecties")
     {
         this.prospecties = null;
     }
     if (naam == "offertes")
     {
         this.offertes = null;
     }
     if (naam == "calculator")
     {
         this.calculator = null;
     }
     if (naam == "orders")
     {
         this.orders = null;
     }
     if (naam == "kalender")
     {
         this.kalender = null;
     }
     if (naam == "facturen")
     {
         this.facturen = null;
     }
 }
コード例 #2
0
        private void facturenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (facturen == null)
            {
                Laden.ShowSplashScreen();

                facturen           = new Facturen(this);
                facturen.MdiParent = this;
                Laden.CloseForm();
            }
            facturen.BringToFront();
            facturen.Show();
        }