Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            BuyStock buystock = BuyStock.getInstance();

            buystock.Show();
        }
 public static BuyStock getInstance()
 {
     if (buystock == null)
     {
         buystock = new BuyStock();
     }
     return(buystock);
 }