Esempio n. 1
0
 //contructor
 public Logic()
 {
     UndoList = new List<Storage>();
     if (!OpenQWIKFile())
         QStorage = new Storage();
     LogicInstance = this;
 }
Esempio n. 2
0
 public Controller()
 {
     //username = name;
     QLogic = new Logic();
     UI = new NewUi();
     Application.Run(UI);
 }
Esempio n. 3
0
 public static Logic GetInstance()
 {
     if (LogicInstance == null)
         LogicInstance = new Logic();
     return LogicInstance;
 }