public SQLServer() { InitializeComponent(); this.timeStamp = DateTime.Now.Ticks.ToString(); var helper = new WindowHelper(); FormElements = helper.BindCheckBoxList <SQLServerModel>(Application.ExecutablePath, scriptName, chklstApp); LoadCredentials(); }
public LevelOneViewModel() { ICategory category = SQLServerModel.getWord(PlayerModel.Instance.Category); _cluesGenrator = new CluesModel(category); string word = category.Name; _timer = new TimeModel(80); _timer.PropertyChanged += _timer_PropertyChanged; _game = new LevelOneModel(word, _timer, Globals.hidddenPercentage); _game.PropertyChanged += _game_PropertyChanged; _game.start(); //_timer.start(); }