private void btnCreateSeason_Click(object sender, RoutedEventArgs e) { // TODO: Create a new season and open the config view FantasySeason x = new FantasySeason("New Season"); x.NumQB = 1; x.NumRB = 1; x.NumWR = 1; x.NumTE = 1; x.NumK = 1; x.NumBN = 1; x.NumDEF = 1; x.NumFX = 0; DraftConfigureViewModel configViewModel = new DraftConfigureViewModel(x); }
public DraftConfigureView(DraftConfigureViewModel vm) { InitializeComponent(); this.DataContext = vm; }
private void ConfigureSeason(object obj) { DraftConfigureViewModel configViewModel = new DraftConfigureViewModel(SelectedSeason); }