public TeamMember(TeamManagerViewModel vm, TreeViewChildrenViewModel parent, string name) { _commands = new CommandHelper(commandsTeamMember); _parent = parent; _name = name; _vm = vm; }
public TournamentSettingsViewModel(RWLigamodusViewModel parent) { _buttonCommands = new CommandHelper(buttonCommands); _parent = parent; _currentSettings = new TournamentSettings(); serializer = new XmlSerializer(typeof(TournamentSettings)); //load persistent settings if ((_actualSettings = this.loadSettings()) == null) { _actualSettings = new TournamentSettings(); _actualSettings.setDefaultVaules(this.Leagues[0], this.WeaponTypes[0]); } this.setCurrent(); }
public RWLigamodusViewModel() { _menuCommands = new CommandHelper(commandHandler); _toolbarCommands = new CommandHelper(commandHandler); _teamManagerProcess = new ProcessStartInfo("Teammanager.View.exe"); try { _persistance = new PersistanceControl(); _currentMatch = _persistance.deserializeMatch(); //add teams to tournamentvm _tnmtViewModel = new TournamentViewModel(_currentMatch); _tnmtSettViewModel = new TournamentSettingsViewModel(this); } catch (Exception ex) { System.Console.WriteLine(ex.Message); } }
public TeamMember() { _commands = new CommandHelper(commandsTeamMember); }
public Team() { _commands = new CommandHelper(commandsTeam); }
public Team(TeamManagerViewModel vm, TreeViewChildrenViewModel parent, string name) : base(parent, name) { _commands = new CommandHelper(commandsTeam); _vm = vm; }