コード例 #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
        //menustrip

        private void opvragenToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (prospecties == null)
            {
                Laden.ShowSplashScreen();

                prospecties           = new Prospecties(this, codeUser);
                prospecties.MdiParent = this;
                Laden.CloseForm();
            }
            prospecties.BringToFront();
            prospecties.Show();
        }