Exemple #1
0
 public static AppData getInstance()
 {
     if (instance == null)
     {
         if (instance == null)
         {
             instance = new AppData();
         }
     }
     return instance;
 }
 public MainWindow()
 {
     InitializeComponent();
     appData = AppData.getInstance();
     appData.startmodel("model.txt");
 }