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