public NewProjectVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.ShowSubstitutionButtons = false; TeamTagger.SubstitutionMode = true; Project = new LMProjectVM(); }
public SubstitutionsEditorVM() { SaveCommand = new AsyncCommand(Save); TeamTagger = new LMTeamTaggerVM(); TeamTagger.ShowSubstitutionButtons = false; InPlayer = new LMPlayerVM(); OutPlayer = new LMPlayerVM(); }
public PlayEditorVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.ShowSubstitutionButtons = false; TeamTagger.Compact = true; TeamTagger.SelectionMode = MultiSelectionMode.Multiple; TeamTagger.ShowTeamsButtons = true; }
public NewProjectVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.ShowSubstitutionButtons = false; TeamTagger.SubstitutionMode = true; Project = new LMProjectVM(); Dashboards = new DashboardsManagerVM(); Teams = new TeamsManagerVM(); }
public TeamsManagerVM() { LoadedTemplate = new LMTeamVM(); NewCommand.Icon = App.Current.ResourcesLocator.LoadIcon("vas-add", StyleConf.TemplatesIconSize); SaveCommand.Icon = App.Current.ResourcesLocator.LoadIcon("vas-save", StyleConf.TemplatesIconSize); DeleteCommand.Icon = App.Current.ResourcesLocator.LoadIcon("vas-delete", StyleConf.TemplatesIconSize); ExportCommand.Icon = App.Current.ResourcesLocator.LoadIcon("lm-export", StyleConf.TemplatesIconSize); ImportCommand.Icon = App.Current.ResourcesLocator.LoadIcon("vas-import", StyleConf.TemplatesIconSize); TeamTagger = new LMTeamTaggerVM(); TeamTagger.HomeTeam = (LMTeamVM)LoadedTemplate; TeamTagger.AwayTeam = null; TeamTagger.Background = App.Current.HHalfFieldBackground; TeamTagger.SelectionMode = MultiSelectionMode.MultipleWithModifier; TeamEditor = new LMTeamEditorVM(); TeamEditor.Team = (LMTeamVM)LoadedTemplate; TeamEditor.Team.TemplateEditorMode = true; }
public LMProjectAnalysisVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.Compact = true; TeamTagger.SelectionMode = MultiSelectionMode.Multiple; TeamTagger.ShowTeamsButtons = true; Project = new LMProjectVM(); SaveCommand = new Command( () => App.Current.EventsBroker.Publish(new SaveEvent <LMProjectVM> { Object = Project }), () => Project.Edited); ShowStatsCommand = new Command( () => App.Current.EventsBroker.Publish(new ShowProjectStatsEvent { Project = Project.Model })); CloseCommand = new AsyncCommand(Close); }
public LMProjectAnalysisVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.Compact = true; TeamTagger.SelectionMode = MultiSelectionMode.Multiple; TeamTagger.ShowTeamsButtons = true; Project = new LMProjectVM(); SaveCommand = new Command( () => App.Current.EventsBroker.Publish(new SaveEvent <LMProjectVM> { Object = Project }), () => Project.Edited); ShowStatsCommand = new Command( () => App.Current.EventsBroker.Publish(new ShowProjectStatsEvent { Project = Project.Model })); CloseCommand = new AsyncCommand(Close); ShowWarningLimitation = new LimitationCommand(VASFeature.OpenMultiCamera.ToString(), () => { }); ShowWarningLimitation.LimitationCondition = () => Project.FileSet.Count() > 1; }
public LMDrawingToolVM() { TeamTagger = new LMTeamTaggerVM(); TeamTagger.ShowSubstitutionButtons = false; ResetTeamTagger(); }