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