public wNewClient(ObservableCollection <Client> clilist) { db = new SportsEntities(); InitializeComponent(); spfac = new SPORTSFACTORY(); this.ClientList = clilist; }
public wNewTrainers(ObservableCollection <Trainer> tralist) { db = new SportsEntities(); InitializeComponent(); spfac = new SPORTSFACTORY(); this.TrainerList = tralist; }
public wNewServices(ObservableCollection <Service> servicelist) { db = new SportsEntities(); InitializeComponent(); spfac = new SPORTSFACTORY(); this.ServiceList = servicelist; }
public wNewContract(ObservableCollection <Contract> contractlist) { InitializeComponent(); Db = new SportsEntities(); spfac = new SPORTSFACTORY(); this.contractList = contractlist; dpDateStart.DisplayDateStart = DateTime.Now; dpDateEnd.DisplayDateStart = DateTime.Now; }