Пример #1
0
 public static BusinessLayer getInstance()
 {
     if (instance == null)
     {
         instance = new BusinessLayer();
         return instance;
     }
     else
         return instance;
 }
Пример #2
0
 public MainForm()
 {
     InitializeComponent();
     bl = BusinessLayer.getInstance();
 }