public EntityEditorWindow ModifyMode(Model.JryVideo video, JryEntity entity) { this.Page.ViewModel.Initialize(video); this.Page.ViewModel.ModifyMode(entity); this.TitleTextBlock.Text = "editor"; return this; }
public EntityEditorWindow ModifyMode(Model.JryVideo video, JryEntity entity) { this.Page.ViewModel.Initialize(video); this.Page.ViewModel.ModifyMode(entity); this.TitleTextBlock.Text = "editor"; return(this); }
public EntityEditorWindow CreateOrCloneMode(Model.JryVideo video, JryEntity entity = null) { this.Page.ViewModel.Initialize(video); if (entity == null) { this.Page.ViewModel.CreateMode(); } else { this.Page.ViewModel.CloneMode(entity); } this.TitleTextBlock.Text = "creator"; return this; }
public EntityEditorWindow CreateOrCloneMode(Model.JryVideo video, JryEntity entity = null) { this.Page.ViewModel.Initialize(video); if (entity == null) { this.Page.ViewModel.CreateMode(); } else { this.Page.ViewModel.CloneMode(entity); } this.TitleTextBlock.Text = "creator"; return(this); }